Outils pour utilisateurs

Outils du site


sunfluidh:meshgen_doc

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
Prochaine révisionLes deux révisions suivantes
sunfluidh:meshgen_doc [2017/12/02 16:59] yannsunfluidh:meshgen_doc [2017/12/02 17:33] yann
Ligne 105: Ligne 105:
 &MESH_FUNCTION_DATA  End_of_Data_Block= .true.        / &MESH_FUNCTION_DATA  End_of_Data_Block= .true.        /
 </file> </file>
 +
 +==== Generate the grid with Meshgen ====
 +
 +After setting the data set in the file "data_meshgen.dat", run the command "meshgen.x".
 +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) ---> tape the correct option
 +
 +For the case of MPI domain decomposition, further information is required to perform the appropriate domain decomposition
 +   * number of domain decomposition per direction
 +      In I-direction
 +      In J-direction
 +      In K-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. "yyyyy" is the number of the associated subdomain.
 +    * For sunfluidh : 
 +      * For sequential computation, maillx.d, mailly.d, maillz.d (one file per direction): data are recorded in ASCII format and ordered in two colums, the first one is the cell-index, the second one is the coordinate of the upper face of the cell.Be careful, by default the first index starts at 2. The first coordinate is directly provided by the code.
 +      * For domain decomposition (MPI parallelization), maillx_yyyyy.d, mailly_yyyyy.d and maillz_yyyyy.d (one file per direction): data are recorded in ASCII format and ordered in two colums, the first one is the cell-index, the second one is the coordinate of the upper face of the cell.
 +
 +==== Check the grid ====
 +
 +For checking the grid features, a specific file named "report_meshgen.d" is created in which relevant data about the grid characteristics can be read. Three other files named "check_mesh_I.d", "check_mesh_J.d" and "check_mesh_K.d" are created. They are  similar to "maillx.d", "mailly.d" and "maillz.d". A 3rd column of data is associated to the cell size.
 +
  
sunfluidh/meshgen_doc.txt · Dernière modification : 2020/10/27 16:31 de yann

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki