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

Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
sunfluidh:meshgen_doc [2017/12/02 15:22] – créée yannsunfluidh:meshgen_doc [2017/12/02 15:55] yann
Ligne 3: Ligne 3:
 Meshgen is a modest mesh generator for cartesian grid. The principle is very simple :  Meshgen is a modest mesh generator for cartesian grid. The principle is very simple : 
   * Each direction {x,y,z} (or {r,$\theta$,z} in cylindrical geometry) is represented by a line.   * Each direction {x,y,z} (or {r,$\theta$,z} in cylindrical geometry) is represented by a line.
-  * Each line can be splitted in several part over which a distribution law is applied in order to define the discretization nodes.+  * Each line can be splitted in several parts over which a distribution law is applied in order to build the discretization nodes.
   * Following the CFD code used, these nodes have different definitions :   * Following the CFD code used, these nodes have different definitions :
     * For Chorus, they are the cell centers.      * For Chorus, they are the cell centers. 
Ligne 11: Ligne 11:
     * Hyperbolic tangent functions     * Hyperbolic tangent functions
     * Cosine function     * Cosine function
 +
 +==== Compilation procedure ====
 +
 +<note important>
 + **For the class 5AF32, this step is automatically made by the install procedure.**
 +</note>
 +
 +After downloading the Meshgen project from the server forge by means of svn:
 +   * go to the directory MESHGEN/TRUNK/SOURCES
 +   * Run the command make: The executable file meshgen.x is created.
 +
 +==== Meshgen settings ====
 +
 +The grid parameters are set in the input data file "data_meshgen.dat".
 +<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  (0)  - angular in degrees (1)     :
 +&METRIC_UNIT         Type_of_Metric= 0 /
 +&MESH_FUNCTION_DATA Function_Name="TANH_ONE_SIDE" Number_of_Cells= 64   Length= 0.5  Left_Cell_Size= 1.2d-03 Reverse_Ordering= .false. /
 +&MESH_FUNCTION_DATA Function_Name="TANH_ONE_SIDE" Number_of_Cells= 64   Length= 0.5  Left_Cell_Size= 1.2d-03 Reverse_Ordering= .true. /
 +&MESH_FUNCTION_DATA End_of_Data_Block = .true./
 +---------------------------------------
 +J-DIRECTION
 +---------------------------------------
 +Choice of the metric system :  in meter or dimensionless  (0)  - angular in degrees (1)     :
 +&METRIC_UNIT         Type_of_Metric= 0 /
 +&MESH_FUNCTION_DATA  Function_Name="REGULAR"           Number_of_Cells= 128  Length= 1.0   Reverse_Ordering= .false. /
 +&MESH_FUNCTION_DATA End_of_Data_Block = .true./
 +---------------------------------------
 +K-DIRECTION
 +---------------------------------------
 +
 +&MESH_FUNCTION_DATA End_of_Data_Block = .true./
 +
 +</file>
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