forked from PHengLEI/PHengLEI-TestCases
37 lines
1.9 KiB
Plaintext
37 lines
1.9 KiB
Plaintext
#########################################################################
|
|
# Grid data type #
|
|
#########################################################################
|
|
// gridtype: Grid type for generation, conversion, reconstruction, merging.
|
|
// 0 -- Unstructured grid.
|
|
// 1 -- Structured grid.
|
|
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
|
// axisRotateOrder : axis rotating order.
|
|
// 1 -- X-axis.
|
|
// 2 -- Y-axis.
|
|
// 3 -- Z-axis.
|
|
// axisRotateAngles: axis rotating angles (degree), which are corresponding to the axis rotating order.
|
|
// from_gtype: Type of grid data type in grid conversion process.
|
|
// -1 -- MULTI_TYPE.
|
|
// 1 -- PHengLEI, *.fts.
|
|
// 2 -- CGNS, *.cgns.
|
|
// 3 -- Plot3D type of structured grid, *.dat/*.grd.
|
|
// 4 -- Fieldview type of unstructured grid, *.dat/*.inp.
|
|
// 5 -- Fluent, *.cas/*.msh.
|
|
// 6 -- Ustar, mgrid.in.
|
|
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
|
|
// 8 -- GMSH, *.msh.
|
|
// 9 -- Gridgen type of structured grid, *.dat/*.grd.
|
|
int gridtype = 0;
|
|
int nAxisRotateTimes = 1;
|
|
int axisRotateOrder[] = [1];
|
|
double axisRotateAngles[]= [90.0];
|
|
int from_gtype = 2;
|
|
|
|
#########################################################################
|
|
# File path #
|
|
#########################################################################
|
|
// from_gfile: path of original data file for unstructure grid convert from.
|
|
// out_gfile: path of target file for grid convert to, *.fts type of file usually.
|
|
string from_gfile = "./grid/CRM-HL_40-37_Nominal_Unstr_LevelB_Q1.cgns";
|
|
string out_gfile = "./grid/CRM-HL_40-37_Nominal_Unstr_LevelB_Q1.fts";
|