Outils pour utilisateurs

Outils du site


sunfluidh:sunfluidh_data_setup

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
sunfluidh:sunfluidh_data_setup [2017/12/15 16:59] yannsunfluidh:sunfluidh_data_setup [2019/12/25 14:35] (Version actuelle) yann
Ligne 5: Ligne 5:
 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 ([[namelist_statement|click here for more details]]).  Each part of the file is structured by means of the NAMELIST concept ([[namelist_statement|click here for more details]]). 
- 
-===== Namelist statement ===== 
- 
-Few 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.   For instance : 
- 
-    &Fluid_Properties    Reference_Dynamic_Viscosity= 1.84D-05, ! a comment can be written here  
-                    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, a namelist or some variables in a namelist can be ommitted according to the context. For instance, for a numerical simulation without heat transfer, the namelist Fluid_Properties can be reduced to : 
- 
-    &Fluid_Properties    Reference_Dynamic_Viscosity= 1.84D-05,  Reference_Density= 1.19 / 
-     
-This allows us to define the simulation setup only from the useful data. If they are not set in the file input3d.dat, the data are initialized with default values. \\ 
-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>BEWARE : A same namelist can be used several times in the data file in order to initialize different physical quantities belonging to a same type. For instance, if you want to initialize the physical properties of different species, you will use the same namelist (named Species_Properties_Namelist, see below) for each species. When a namelist could be used several times, the last must contains the variable End_of_Data_Block = .true. in order to specify the end of the namelist series.</note> 
- 
-Example : 
- 
-   &Species_Properties      Species_Name = "H2" , .... /   
-   &Species_Properties      Species_Name = "O2" , .... /  
-   &Species_Properties      Species_Name = "N2" , ...., End_of_Data_Block = .true. /  
-    
-The first namelist contains the group of data describing the properties of the di-hydrogen, the second for the di-oxygen and the third for the Nitrogen. Only the last namelist contains the variable End_of_Data_Block = .true. 
-If only one species is initialized, the namelist must however contain the variable End_of_Data_Block = .true. 
- 
-[[:start|Click here to come back to the previous page]] 
  
 ===== Content of the data file ===== ===== Content of the data file =====
Ligne 102: Ligne 74:
 | [[HypreData_PoissonSolver_Namelist |HypreData_PoissonSolver]] | Data for solving Poisson's equation with the HYPRE library tools (coupled with the namelist Numerical_Methods (new version)). | | [[HypreData_PoissonSolver_Namelist |HypreData_PoissonSolver]] | Data for solving Poisson's equation with the HYPRE library tools (coupled with the namelist Numerical_Methods (new version)). |
 | [[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 (related to the computation and the data acquisition). |
 ^   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 (simple or double) on the result fields.|+| [[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 (single or double) on the result fields, etc ...|
  
  
sunfluidh/sunfluidh_data_setup.1513353593.txt.gz · Dernière modification : 2017/12/15 16:59 de yann

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki