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édente | Prochaine révisionLes deux révisions suivantes | ||
sunfluidh:sunfluidh_data_setup [2017/12/15 16:59] – yann | sunfluidh:sunfluidh_data_setup [2017/12/15 17:02] – 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. | ||
- | |||
- | & | ||
- | 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, | ||
- | |||
- | [[: | ||
===== Content of the data file ===== | ===== Content of the data file ===== |
sunfluidh/sunfluidh_data_setup.txt · Dernière modification : 2019/12/25 14:35 de yann