PHengLEI-TestCases/A01_TwoD_Plate_Laminar_Stru.../bin/grid_para.hypara

31 lines
1.5 KiB
Plaintext
Raw Normal View History

2021-03-22 16:44:54 +08:00
#########################################################################
# Grid data type #
#########################################################################
// gridtype: Grid type for generation, conversion, reconstruction, merging.
2021-06-26 20:12:55 +08:00
// 0 -- Unstructured grid.
// 1 -- Structured grid.
// axisup: Type of Cartisien coordinates system, used in grid conversion.
// 1 -- Y upward. (default)
// 2 -- Z upward.
2021-03-22 16:44:54 +08:00
// from_gtype: Type of grid data type in grid conversion process.
2021-06-26 20:12:55 +08:00
// -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.
2021-04-15 09:34:10 +08:00
int gridtype = 1;
int axisup = 1;
int from_gtype = 3;
2021-03-22 16:44:54 +08:00
#########################################################################
# 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.
2021-04-15 09:34:10 +08:00
string from_gfile = "./grid/flat_laminar_73_81.grd";
string out_gfile = "./grid/flat_laminar_73_81.fts";