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
sunfluidh:meshgen_doc [2019/01/14 10:52] – [Data set description] witkosunfluidh:meshgen_doc [2020/10/27 16:31] (Version actuelle) yann
Ligne 6: Ligne 6:
   * 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. 
-    * For Sunfluidh, they are the cell-face locations.+    * For Sunfluidh, they are the cell-face locations ($x_i, y_i, z_i$ see [[sunfluidh:sunfluidh_tools|the page "Overview ...", section "stagerred grid"]] for more details).
   * Several distribution laws are available :   * Several distribution laws are available :
     * Geometric functions     * Geometric functions
Ligne 15: Ligne 15:
  
 <note important> <note important>
- **For the class 5AF32, this step is automatically made by the install procedure.**+ **For Sorbonne universite class, this step is automatically made by the install procedure.**
 </note> </note>
  
-After downloading the Meshgen project from the server forge by means of svn:+After downloading the Meshgen project from the server forge by means of svn (svn co –username your_login https://forge.limsi.fr/svn/MESHGEN/TRUNK)
    * go to the directory MESHGEN/TRUNK/SOURCES    * go to the directory MESHGEN/TRUNK/SOURCES
    * Run the command make: The executable file meshgen.x is created.    * Run the command make: The executable file meshgen.x is created.
Ligne 30: Ligne 30:
 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 (click on it for details):+Each distribution law is defined by means of namelists that are described at the end of this page.\\ 
 +For illustrating how that works, let consider a domain length $L$ (in an arbitrary direction) split in $2$ parts with lengths $L_1$ and $L_2$, respectively (see the figure below). Discrete coordinates are distributed with a given law (by considering here $N_1=6$ for the first segment, $N_2=8$ for the second one). \\ The origin coordinate is not included in the procedure. It is added by the code.\\ The coordinate located at the upper end of the segment belongs to this segment, not to the following one. 
 +{{ :sunfluidh:mesh_distribution_1.jpg?direct&600 |}} 
 + 
 + 
 +The available distribution functions are (click on function name to get details):
    * [[Reg_fct_meshgen | Regular function]] (Function_name= REGULAR)    * [[Reg_fct_meshgen | Regular function]] (Function_name= REGULAR)
    * [[TH1S_meshgen |Hyperbolic tangent function "one side"]] (Function_Name= TANH_ONE_SIDE)    * [[TH1S_meshgen |Hyperbolic tangent function "one side"]] (Function_Name= TANH_ONE_SIDE)
Ligne 38: Ligne 43:
    * [[geom2_meshgen | Geometric series "type 2"]] (Function_Name= GEOMETRIC_SERIE_2)    * [[geom2_meshgen | Geometric series "type 2"]] (Function_Name= GEOMETRIC_SERIE_2)
  
-These functions get a specific data set +These functions get some parameters 
-   * 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 of the segment (for all functions). +   * **Length**          : Length of the segment (for all functions). 
-   * Left_Cell_Size  : Reference size of the cell placed at the left tip of the segment (for all functions except the regular function and geometric series "Type 1") +   * **Left_Cell_Size**  : Reference size of the cell placed at the left tip of the segment (for all functions except the regular function and geometric series "Type 1") 
-   * Right_Cell_Size : Reference size of the cell placed at the right tip of the segment (for hyperbolic function "two sides" 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 specify the end of a data structure (by default it set to .false. by the program)
  
 __A template is provided **[[meshgen_templates|here]]**__. __A template is provided **[[meshgen_templates|here]]**__.
sunfluidh/meshgen_doc.1547459550.txt.gz · Dernière modification : 2019/01/14 10:52 de witko

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki