sunfluidh:meshgen_doc
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édenteProchaine révisionLes deux révisions suivantes | ||
sunfluidh:meshgen_doc [2017/12/02 17:55] – yann | sunfluidh:meshgen_doc [2017/12/03 17:10] – yann | ||
---|---|---|---|
Ligne 7: | Ligne 7: | ||
* For Chorus, they are the cell centers. | * For Chorus, they are the cell centers. | ||
* For Sunfluidh, they are the cell-face locations. | * For Sunfluidh, they are the cell-face locations. | ||
- | * Several distribution laws are available | + | * Several distribution laws are available |
* Geometric functions | * Geometric functions | ||
* Hyperbolic tangent functions | * Hyperbolic tangent functions | ||
Ligne 24: | Ligne 24: | ||
==== Meshgen settings ==== | ==== Meshgen settings ==== | ||
- | The grid parameters are set in the input data file " | + | The grid parameters are set in the input data file " |
- | * The cell size is variable along the I-direction. | + | |
- | * The I-line is split in two equal parts. | + | |
- | * The function " | + | |
- | * The grid is regular along the J-direction | + | |
- | + | ||
- | + | ||
- | <file txt data_meshgen.dat> | + | |
- | + | ||
- | ============================================================================================================== | + | |
- | DATA FILE FOR THE MESH GENERATOR MESHGEN (DESCRIPTIONS OF DATA ARE GIVEN BELOW) | + | |
- | ============================================================================================================== | + | |
- | ------------------------------------------------------------------------------------------------------------- | + | |
- | Blocks of data are associated to segments along a specific direction (There are as many blocks as segments) | + | |
- | See below the TEMPLATES to select your own block of data associated to the selected distribution law) | + | |
- | ------------------------------------------------------------------------------------------------------------- | + | |
- | --------------------------------------- | + | |
- | I-DIRECTION | + | |
- | --------------------------------------- | + | |
- | Choice of the metric system : in meter or dimensionless | + | |
- | & | + | |
- | & | + | |
- | & | + | |
- | & | + | |
- | --------------------------------------- | + | |
- | J-DIRECTION | + | |
- | --------------------------------------- | + | |
- | Choice of the metric system : in meter or dimensionless | + | |
- | & | + | |
- | & | + | |
- | & | + | |
- | --------------------------------------- | + | |
- | K-DIRECTION | + | |
- | --------------------------------------- | + | |
- | + | ||
- | & | + | |
- | + | ||
- | END OF FILE | + | |
- | + | ||
- | </ | + | |
==== Data set description ==== | ==== Data set description ==== | ||
Ligne 80: | Ligne 41: | ||
* Number_of_Cells : Number of cells over the segment (for all functions). | * Number_of_Cells : Number of cells over the segment (for all functions). | ||
* Length | * Length | ||
- | * Left_Cell_Size | + | * Left_Cell_Size |
- | * Right_Cell_Size : Reference size of the cell placed at the right tip of the segment (for hyperbolic function "two sides" and geometric series "Type 1" only) | + | * Right_Cell_Size : Reference size of the cell placed at the right tip of the segment (for hyperbolic function "two sides" only) |
* Reverse_Ordering : Reverse the ordering of the distribution if set to .true. | * Reverse_Ordering : Reverse the ordering of the distribution if set to .true. | ||
* End_of_Block_Data : logical set to .true. to declare the end of a data structure (by default it set to .false. by the program) | * End_of_Block_Data : logical set to .true. to declare the end of a data structure (by default it set to .false. by the program) | ||
- | __A complete | + | __A template is provided |
<note important> | <note important> | ||
Ligne 93: | Ligne 54: | ||
The block of data must be closed with the special namelist \\ & | The block of data must be closed with the special namelist \\ & | ||
</ | </ | ||
- | ==== Templates for each function ==== | + | |
- | <file template> | + | |
- | & | + | |
- | & | + | |
- | & | + | |
- | & | + | |
- | & | + | |
- | & | + | |
- | & | + | |
- | & | + | |
- | & | + | |
- | </ | + | |
==== Generate the grid with Meshgen ==== | ==== Generate the grid with Meshgen ==== |
sunfluidh/meshgen_doc.txt · Dernière modification : 2020/10/27 16:31 de yann