######################################################################### # 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. // 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. // 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 nAxisRotateTimes = 0; int axisRotateOrder[] = [1, 2, 3]; double axisRotateAngles[] = [0.0, 0.0, 0.0]; 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/cylinder_mix__4.fts";