sunfluidh:sunfluidh_data_setup
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
sunfluidh:sunfluidh_data_setup [2017/09/25 14:14] – [Content of the data file] yann | sunfluidh:sunfluidh_data_setup [2019/12/25 14:35] (Version actuelle) – yann | ||
---|---|---|---|
Ligne 4: | Ligne 4: | ||
The file **input3d.dat** is the main data file to prescribe input values to sunfluidh. It contains the major part of data : geometric layout, flow features, boundary conditions, simulation management ... | The file **input3d.dat** is the main data file to prescribe input values to sunfluidh. It contains the major part of data : geometric layout, flow features, boundary conditions, simulation management ... | ||
- | Each part of the file is structured by means of the NAMELIST concept. (Example of a minimal input3d.dat that contains all the mandatories NAMELIST needed by Sunfluidh) | + | Each part of the file is structured by means of the NAMELIST concept ([[namelist_statement|click here for more details]]). |
- | + | ||
- | ===== Namelist statement ===== | + | |
- | + | ||
- | The user finds here some things to know about the namelist statement.\\ | + | |
- | The NAMELIST statement defines a group of variables or arrays. It specifies a group name, and lists the variables and arrays of that group. The namelist starts with a & directly followed by the name of the namelist and ends with the / character. | + | |
- | + | ||
- | & | + | |
- | Reference_Density= 1.19, Reference_Temperature= 293.0, Prandtl= 0.72 / | + | |
- | + | ||
- | Here the variable Reference_Density in the namelist Fluid_Properties is set to 1.19. In input3d.dat, | + | |
- | + | ||
- | & | + | |
- | + | ||
- | This allows us to define the simulation setup only from the useful data. If they are not set in the file input3d.dat, | + | |
- | The entire set of input data (default and user's values) are written in the file check_namelist_data.dat by sunfluidh at the beginning of each run. | + | |
- | + | ||
- | <note important> | + | |
- | + | ||
- | Example : | + | |
- | + | ||
- | & | + | |
- | & | + | |
- | & | + | |
- | + | ||
- | The first namelist contains the group of data describing the properties of the di-hydrogen, | + | |
- | If only one species is initialized, | + | |
- | + | ||
- | [[:start|Click here to come back to the previous page]] | + | |
===== Content of the data file ===== | ===== Content of the data file ===== | ||
Ligne 67: | Ligne 39: | ||
* Statistics | * Statistics | ||
- | ===== Namelist lookup ===== | + | ===== Namelist lookup |
Click on the highlighted namelist to get more details about it (type of data, definition of data,...) | Click on the highlighted namelist to get more details about it (type of data, definition of data,...) | ||
Ligne 84: | Ligne 56: | ||
^ | ^ | ||
| [[ Domain_Features_Namelist | Domain_Features ]] | Data on the geometry, the size of the domain and the mesh size as well as the domain decomposition layout (for parallel simulations only).| | | [[ Domain_Features_Namelist | Domain_Features ]] | Data on the geometry, the size of the domain and the mesh size as well as the domain decomposition layout (for parallel simulations only).| | ||
+ | | [[ Polyhedral_Immersed_Bodies_Setup_Namelist| Polyhedral_Immersed_Bodies]] | Data setup for building every polyhedral solid objects.| | ||
+ | | [[ Cylindrical_Immersed_Bodies_Setup_Namelist| Cylindrical_Immersed_Bodies]] | Data setup for building every cylindrical solid objects.| | ||
| [[ Heat_Wall_Boundary_Condition_Setup_Namelist | Heat_Wall_Boundary_Condition_Setup ]] | Data setup on the wall boundary conditions for the heat flux.| | | [[ Heat_Wall_Boundary_Condition_Setup_Namelist | Heat_Wall_Boundary_Condition_Setup ]] | Data setup on the wall boundary conditions for the heat flux.| | ||
| [[ Velocity_Wall_Boundary_Condition_Setup_Namelist | Velocity_Wall_Boundary_Condition_Setup ]] | Data setup on the wall boundary conditions for the velocity.| | | [[ Velocity_Wall_Boundary_Condition_Setup_Namelist | Velocity_Wall_Boundary_Condition_Setup ]] | Data setup on the wall boundary conditions for the velocity.| | ||
| [[ Species_Wall_Boundary_Condition_Setup_Namelist | Species_Wall_Boundary_Condition_Setup ]] | Data setup on the wall boundary conditions for the mass flux of species. | | | [[ Species_Wall_Boundary_Condition_Setup_Namelist | Species_Wall_Boundary_Condition_Setup ]] | Data setup on the wall boundary conditions for the mass flux of species. | | ||
- | | [[ Polyhedral_Immersed_Bodies_Setup_Namelist| Polyhedral_Immersed_Bodies]] | Data setup for building every polyhedral solid objects.| | ||
- | | [[ Cylindrical_Immersed_Bodies_Setup_Namelist| Cylindrical_Immersed_Bodies]] | Data setup for building every cylindrical solid objects.| | ||
| [[Inlet_Boundary_Conditions_Setup_Namelist|Inlet_Boundary_Conditions]] | Data setup used to define inflow boundary conditions.| | | [[Inlet_Boundary_Conditions_Setup_Namelist|Inlet_Boundary_Conditions]] | Data setup used to define inflow boundary conditions.| | ||
| [[Outlet_Boundary_Conditions_Setup_Namelist|Outlet_Boundary_Conditions]] | Data setup used to define outflow boundary conditions.| | | [[Outlet_Boundary_Conditions_Setup_Namelist|Outlet_Boundary_Conditions]] | Data setup used to define outflow boundary conditions.| | ||
Ligne 99: | Ligne 71: | ||
| [[Numerical_Methods_Setup_Namelist |Numerical_Methods (old version)]] | Data setup used to select the numerical methods used for solving the discretized equations.| | | [[Numerical_Methods_Setup_Namelist |Numerical_Methods (old version)]] | Data setup used to select the numerical methods used for solving the discretized equations.| | ||
| [[New_Numerical_Methods_Setup_Namelist |Numerical_Methods (new version)]] | Data setup used to select the numerical methods used for solving the discretized equations.| | | [[New_Numerical_Methods_Setup_Namelist |Numerical_Methods (new version)]] | Data setup used to select the numerical methods used for solving the discretized equations.| | ||
- | | [[HomeData_PoissonSolver_Namelist |HomeData_PoissonSolver]] | Data for " | + | | [[HomeData_PoissonSolver_Namelist |HomeData_PoissonSolver]] | Data for solving Poisson' |
- | | [[HypreData_PoissonSolver_Namelist |HypreData_PoissonSolver]] | Data for HYPRE library tools used for solving Poisson' | + | | [[HypreData_PoissonSolver_Namelist |HypreData_PoissonSolver]] | Data for solving Poisson' |
| [[Level_Set_Method_Namelist|Level_Set_Method]] | Data setup for the level set method (immiscible fluids).| | | [[Level_Set_Method_Namelist|Level_Set_Method]] | Data setup for the level set method (immiscible fluids).| | ||
- | | [[Simulation_Management_Setup_Namelist|Simulation_Management]] | Data setup used to set the time parameters of the simulation .| | + | | [[Simulation_Management_Setup_Namelist|Simulation_Management]] | Data setup used to set the time parameters of the simulation |
^ Data acquisition | ^ Data acquisition | ||
| [[Probe_Quantities_Enabled_Setup_Namelist|Probe_Quantities_Enabled]] | Define physical quantities that will be recorded by probes during the simulation to build time series.| | | [[Probe_Quantities_Enabled_Setup_Namelist|Probe_Quantities_Enabled]] | Define physical quantities that will be recorded by probes during the simulation to build time series.| | ||
Ligne 108: | Ligne 80: | ||
| [[Instantaneous_Fields_Listing_Namelist_Setup|Instantaneous_Fields_Listing]] | List of physical quantities whose instantaneous fields will be recorded.| | | [[Instantaneous_Fields_Listing_Namelist_Setup|Instantaneous_Fields_Listing]] | List of physical quantities whose instantaneous fields will be recorded.| | ||
| [[Statistical_Fields_Listing_Namelist_Setup|Statistical_Fields_Listing]] | List of statistical fields to record.| | | [[Statistical_Fields_Listing_Namelist_Setup|Statistical_Fields_Listing]] | List of statistical fields to record.| | ||
- | | [[Field_Recording_Setup_Namelist_Setup|Field_Recording_Setup]] | Precision | + | | [[Slices_Recording_Setup_Namelist|Slices_Recording_Setup]] | List of slices on which data fields are recorded.| |
+ | | [[SpaceAveragedSnapshots_Dataset_Namelist|SpaceAveragedSnapshots_Dataset]] | List of space-averaged fields along a specific direction.| | ||
+ | | [[Field_Recording_Setup_Namelist_Setup|Field_Recording_Setup]] | Regroup some parameters about data acquisition such as the precision | ||
sunfluidh/sunfluidh_data_setup.txt · Dernière modification : 2019/12/25 14:35 de yann