PHengLEI-TestCases/A15_ThreeD_ShockWave_Period.../bin/partition.hypara

32 lines
1.4 KiB
Plaintext
Raw Normal View History

2021-03-26 12:46:24 +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 = 4;
string original_grid_file = "./grid/3D_shock_wave.fts";
string partition_grid_file = "./grid/3D_shock_wave__4.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;
2021-06-27 10:17:03 +08:00
// ----------------- Periodic Parameters --------------------------------
// Notice: Rotational periodicity only support rotation along the X axis!
// periodicType: Which periodic boundary is used.
// 0 -- without Periodic Boundary.
// 1 -- Translational periodicity.
// 2 -- Rotational periodicity.
int periodicType = 2;
double translationLength[] = [0.0,0.0,0.0];
double rotationAngle = 1.0;