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 [2020/10/27 15:50] – [Meshgen : A mesh generator for cartesian grid] yann | sunfluidh:meshgen_doc [2020/10/27 16:13] – 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 ($x_i, | + | * For Sunfluidh, they are the cell-face locations ($x_i, y_i, z_i$ see [[sunfluidh: |
* Several distribution laws are available : | * Several distribution laws are available : | ||
* Geometric functions | * Geometric functions | ||
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 over which discrete points are distributed ($N_1=6$ for the first segment, $N_2=8$ for the second one). | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | The available 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" | * [[TH1S_meshgen |Hyperbolic tangent function "one side" |
sunfluidh/meshgen_doc.txt · Dernière modification : 2020/10/27 16:31 de yann