PHengLEI-TestCases/C03_ThreeD_M6_SST_Mix_64CPU/bin/grid_para.hypara

60 lines
2.3 KiB
Plaintext
Raw Normal View History

2021-06-28 13:17:46 +08:00
#########################################################################
# Grid data type #
#########################################################################
// gridtype: Grid type for generation, conversion, reconstruction, merging.
// 0 -- Unstructured grid.
// 1 -- Structured grid.
// 2 -- Hybrid grid, include both of unstructured and structured grid.
// axisup: Type of Cartisien coordinates system, used in grid conversion.
// 1 -- Y upward. (default)
// 2 -- Z upward.
// 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.
// dumpOldGrid: If dump out the old grid file.
// 0 -- Not. (default)
// 1 -- Yes.
// omit_no_bound_bc: What's boundary condition for the type of "no_boundary_condition".
// 0 -- Interface. (default)
// 1 -- Physical boundary condition, used in Hybrid solver.
// struct
//int gridtype = 1;
// unstrut
//int gridtype = 0;
// mix
int gridtype = 2;
2021-06-28 13:17:46 +08:00
// default
int axisup = 1;
int from_gtype = 2;
2021-06-28 13:17:46 +08:00
int omit_no_bound_bc = 1;
#########################################################################
# 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.
// struct
//string from_gfile = "./grid/str.cgns";
//string out_gfile = "./grid/str.fts";
// unstruct
//string from_gfile = "./grid/unstr.cgns";
//string out_gfile = "./grid/unstr.fts";
// mix
string mixgrid_uns = "./grid/unstr__64.fts";
string mixgrid_str = "./grid/str__64.fts";
string out_gfile = "./grid/M6_mix__64.fts";