2021-12-31 10:11:18 +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(HyperFLOW/PHengLEI type, *.fts).
|
|
|
|
// partition_grid_file : target partition grid file(HyperFLOW/PHengLEI type, *.fts).
|
|
|
|
|
2022-07-14 10:29:06 +08:00
|
|
|
int pgridtype = 1;
|
|
|
|
int maxproc = 4;
|
2021-12-31 10:11:18 +08:00
|
|
|
|
2022-06-29 14:56:35 +08:00
|
|
|
string original_grid_file = "./grid/2D_NACA0012_PM_Str.fts";
|
2021-12-31 10:11:18 +08:00
|
|
|
string partition_grid_file = "./grid/2D_NACA0012_PM_Str__4.fts";
|
|
|
|
|
|
|
|
|
|
|
|
// Number of multi-grid levels, ONLY used for structured grid.
|
|
|
|
// 1 -- single level, 2 -- 2 level, N -- N level, ..., et al.
|
2022-07-14 10:29:06 +08:00
|
|
|
int numberOfMultigrid = 1;
|
2021-12-31 10:11:18 +08:00
|
|
|
|
|
|
|
|
|
|
|
|