sunfluidh:meshgen_simple_example
A simple example of data setting
Click here to come back to the previous page
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) ------------------------------------------------------------------------------------------------------------- --------------------------------------- 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= 32 Length= 0.5 Left_Cell_Size= 7.8125d-03 Reverse_Ordering= .false. / &MESH_FUNCTION_DATA Function_Name="TANH_ONE_SIDE" Number_of_Cells= 32 Length= 0.5 Left_Cell_Size= 7.8125d-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= 64 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.txt · Dernière modification : 2020/02/04 18:01 de yann