From 94b4b4e5a7eb66095e4727ce53d0dc196ba6d9dd Mon Sep 17 00:00:00 2001 From: QILIN LU Date: Wed, 28 Jul 2021 15:50:02 +0800 Subject: [PATCH] Fix E01E02 perodic BC parameters --- .../bin/grid_para.hypara | 10 ++++++++++ .../bin/grid_para.hypara | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/E01_ThreeD_Cylinder_LES_Re3900_Struct_120CPU/bin/grid_para.hypara b/E01_ThreeD_Cylinder_LES_Re3900_Struct_120CPU/bin/grid_para.hypara index 2416a4e..299c5bf 100644 --- a/E01_ThreeD_Cylinder_LES_Re3900_Struct_120CPU/bin/grid_para.hypara +++ b/E01_ThreeD_Cylinder_LES_Re3900_Struct_120CPU/bin/grid_para.hypara @@ -28,3 +28,13 @@ int from_gtype = 2; // out_gfile: path of target file for grid convert to, *.fts type of file usually. string from_gfile = "./grid/cylinder_270w_split120.cgns"; string out_gfile = "./grid/cylinder_270w_split120.fts"; + +// ----------------- 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. +int periodicType = 1; +double translationLength[] = [0,3.14,0]; +double rotationAngle = 0; diff --git a/E02_ThreeD_Cylinder_LES_Re3900_Unstruct_120CPU/bin/grid_para.hypara b/E02_ThreeD_Cylinder_LES_Re3900_Unstruct_120CPU/bin/grid_para.hypara index 9b6b7a6..f31a9a0 100644 --- a/E02_ThreeD_Cylinder_LES_Re3900_Unstruct_120CPU/bin/grid_para.hypara +++ b/E02_ThreeD_Cylinder_LES_Re3900_Unstruct_120CPU/bin/grid_para.hypara @@ -28,3 +28,13 @@ int from_gtype = 2; // out_gfile: path of target file for grid convert to, *.fts type of file usually. string from_gfile = "./grid/cylinder_les_unstr.cgns"; string out_gfile = "./grid/cylinder_les_unstr.fts"; + +// ----------------- 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. +int periodicType = 1; +double translationLength[] = [0,3.14,0]; +double rotationAngle = 0;