sunfluidh:meshgen_simple_example
Ceci est une ancienne révision du document !
A simple example of data setting
- The cell size is variable along the I-direction.
- The I-line is split in two equal parts.
- The function “TANH_ONE_SIDE” is applied over each part, with a reverse distribution over the 2nd part. This way is useful to define a perfect symmetrical distribution in regard to the mid-plane.
- The grid is regular along the J-direction
- 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./ END OF FILE
Traductions de cette page:
- fr
sunfluidh/meshgen_simple_example.1512316791.txt.gz · Dernière modification : 2017/12/03 16:59 de yann