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 16:48] – [Data set description] yann | sunfluidh:meshgen_doc [2017/12/02 17:50] – yann | ||
---|---|---|---|
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 associated to a function | + | Each distribution law is defined by means of namelists that are described at the end of this page. The available functions are : |
* Regular function (Function_name= REGULAR_MESH) | * Regular function (Function_name= REGULAR_MESH) | ||
* Hyperbolic tangent function "one side" (Function_Name= TANH_ONE_SIDE_MESH) | * Hyperbolic tangent function "one side" (Function_Name= TANH_ONE_SIDE_MESH) | ||
Ligne 93: | Ligne 93: | ||
The block of data must be closed with the special namelist \\ & | The block of data must be closed with the special namelist \\ & | ||
</ | </ | ||
- | ==== Template | + | ==== Templates |
<file template> | <file template> | ||
& | & | ||
Ligne 105: | Ligne 105: | ||
& | & | ||
</ | </ | ||
+ | |||
+ | ==== Generate the grid with Meshgen ==== | ||
+ | |||
+ | After setting the data set in the file " | ||
+ | Few questions are asked : | ||
+ | * Choice of CFD code : OLORIN or SUNFLUIDH (1) CHORUS (2) ---> tape the correct option | ||
+ | * MPI domain decomposition (1) or not (0) ---> write the selected option | ||
+ | |||
+ | For the case of MPI domain decomposition, | ||
+ | * number of domain decomposition per direction | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | The grid data are recorded in the appropriate files that depend on the code previously selected: | ||
+ | * For Chorus, maille_yyyyy.dat : data are recorded in binary format. " | ||
+ | * For sunfluidh : | ||
+ | * For sequential computation, | ||
+ | * For domain decomposition (MPI parallelization), | ||
+ | |||
+ | ==== Check the grid ==== | ||
+ | |||
+ | For checking the grid features, a specific file named " | ||
+ | |||
sunfluidh/meshgen_doc.txt · Dernière modification : 2020/10/27 16:31 de yann