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:33] – yann | sunfluidh:meshgen_doc [2017/12/03 16:53] – 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 69: | Ligne 69: | ||
In the data file, each block of data is attributed to a direction (I,J or K).\\ | In the data file, each block of data is attributed to a direction (I,J or K).\\ | ||
Each direction can be split in several parts (segments) on which a specific distribution law is applied in order to place the discrete nodes.\\ | Each direction can be split in several parts (segments) on which a specific distribution law is applied in order to place the discrete nodes.\\ | ||
- | Each distribution law is defined by means of namelists that are described at the end of this page. The available functions are : | + | Each distribution law is defined by means of namelists that are described at the end of this page. The available functions are (click on it for details): |
- | * Regular function (Function_name= REGULAR_MESH) | + | |
- | * Hyperbolic tangent function "one side" (Function_Name= TANH_ONE_SIDE_MESH) | + | |
- | * Hyperbolic tangent function "two sides" (Function_Name= TANH_TWO_SIDES_MESH) | + | |
- | * Gauss-Lobatto distribution (Function_Name= GAUSS_LOBATTO_MESH) | + | |
- | * Geometric series "type 1" (Function_Name= GEOMETRIC_SERIE_1_MESH) | + | |
- | * Geometric series "type 2" (Function_Name= GEOMETRIC_SERIE_2_MESH) | + | |
These functions get a specific data set : | These functions get a specific data set : | ||
* 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) | ||
Ligne 98: | Ligne 98: | ||
& | & | ||
& | & | ||
- | & | + | & |
& | & | ||
& | & | ||
Ligne 111: | Ligne 111: | ||
Few questions are asked : | Few questions are asked : | ||
* Choice of CFD code : OLORIN or SUNFLUIDH (1) CHORUS (2) ---> tape the correct option | * Choice of CFD code : OLORIN or SUNFLUIDH (1) CHORUS (2) ---> tape the correct option | ||
- | * MPI domain decomposition (1) or not (0) ---> | + | * MPI domain decomposition (1) or not (0) ---> |
For the case of MPI domain decomposition, | For the case of MPI domain decomposition, | ||
* number of domain decomposition per direction | * number of domain decomposition per direction | ||
- | | + | |
- | | + | |
- | | + | |
The grid data are recorded in the appropriate files that depend on the code previously selected: | The grid data are recorded in the appropriate files that depend on the code previously selected: | ||
Ligne 127: | Ligne 127: | ||
==== Check the grid ==== | ==== Check the grid ==== | ||
- | For checking the grid features, a specific file named " | + | For checking the grid features, a specific file named " |
sunfluidh/meshgen_doc.txt · Dernière modification : 2020/10/27 16:31 de yann