######################################################################### # 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; // default int axisup = 1; int from_gtype = 2; 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__4.fts"; string mixgrid_str = "./grid/str__4.fts"; string out_gfile = "./grid/rae2822_mix__4.fts";