2021-12-31 09:04:02 +08:00
|
|
|
// pgridtype: The grid type.
|
|
|
|
// 0 -- unstruct grid.
|
|
|
|
// 1 -- struct grid.
|
|
|
|
// maxproc: The number of partition zones that want to be divided into,
|
|
|
|
// which is equal to the number of CPU processors you want.
|
|
|
|
// Usually, 50~100 thousands structured cells per CPU-Core is suggested.
|
|
|
|
// 30~70 thousands unstructured cells per CPU-Core is suggested.
|
|
|
|
// original_grid_file: Original grid file that want to be divided(PHengLEI type, *.fts).
|
|
|
|
// partition_grid_file: Target partition grid file(PHengLEI type, *.fts).
|
|
|
|
|
|
|
|
int pgridtype = 1;
|
|
|
|
int maxproc = 400;
|
|
|
|
|
|
|
|
string original_grid_file = "./grid/naca0012_str_26m_yup.fts";
|
|
|
|
string partition_grid_file = "./grid/naca0012_str_26m_yup__400.fts";
|
|
|
|
|
|
|
|
// numberOfMultigrid: Number of multi-grid levels, ONLY used for structured grid.
|
|
|
|
// 1 -- single level.
|
|
|
|
// 2 -- 2 level.
|
|
|
|
// N -- N level,..., et al.
|
|
|
|
int numberOfMultigrid = 1;
|
|
|
|
|
|
|
|
// ----------------- Periodic Parameters --------------------------------
|
|
|
|
// Notice:Periodic boundary only support translation or rotation along the X axis!
|
|
|
|
// periodicType: Which symmetry plane is used in the mesh.
|
|
|
|
// 0 -- without Periodic Boundary.
|
|
|
|
// 1 -- Translational periodicity.
|
|
|
|
// 2 -- Rotational periodicity.
|
2022-06-29 14:56:35 +08:00
|
|
|
int periodicType = 1;
|
2021-12-31 09:04:02 +08:00
|
|
|
double translationLength[] = [0.0,0.0,0.5];
|
2022-06-29 14:56:35 +08:00
|
|
|
double rotationAngle = 0.0;
|