From e53764020a2d26f9f5846ecde870d8e9d649595d Mon Sep 17 00:00:00 2001 From: hechao Date: Thu, 15 Apr 2021 09:34:10 +0800 Subject: [PATCH] update v7628 --- .../bin/cfd_para.hypara | 24 ++--- .../bin/cfd_para_hypersonic.hypara | 10 +- .../bin/cfd_para_transonic.hypara | 8 +- ThreeD_M6_SST_Struct_MG2_4CPU/bin/key.hypara | 8 +- .../bin/partition.hypara | 8 +- .../bin/cfd_para_transonic.hypara | 58 +++++----- .../bin/grid_para.hypara | 10 +- ThreeD_NACA0012_SA_Struct/bin/key.hypara | 4 +- .../bin/partition.hypara | 10 +- .../bin/cfd_para.hypara | 24 ++--- .../bin/cfd_para_hypersonic.hypara | 4 +- .../bin/cfd_para_hypersonic.hypara | 58 +++++----- .../bin/grid_para.hypara | 6 +- .../bin/key.hypara | 6 +- .../bin/partition.hypara | 2 +- .../bin/cfd_para_subsonic.hypara | 48 ++++----- TwoD_30p30n_SST_Struct/bin/grid_para.hypara | 6 +- .../bin/grid_para.hypara | 6 +- .../bin/cfd_para_hypersonic.hypara | 2 +- .../bin/cfd_para_hypersonic.hypara | 54 +++++----- .../bin/grid_para.hypara | 6 +- .../bin/cfd_para_hypersonic.hypara | 10 +- .../bin/cfd_para_hypersonic.hypara | 82 +++++++------- .../bin/grid_para.hypara | 8 +- .../bin/key.hypara | 48 ++++----- .../bin/partition.hypara | 10 +- .../bin/cfd_para_subsonic.hypara | 96 ++++++++--------- .../bin/grid_para.hypara | 10 +- TwoD_Plate_Laminar_Struct_1CPU/bin/key.hypara | 48 ++++----- .../bin/partition.hypara | 10 +- .../bin/cfd_para_supersonic.hypara | 100 +++++++++--------- .../bin/grid_para.hypara | 10 +- TwoD_Plate_SST_Ma5_Struct_1CPU/bin/key.hypara | 48 ++++----- .../bin/partition.hypara | 10 +- .../bin/cfd_para_subsonic.hypara | 10 +- .../bin/cfd_para_transonic.hypara | 10 +- TwoD_Rae2822_SST_Struct/bin/grid_para.hypara | 10 +- TwoD_Rae2822_SST_Struct/bin/key.hypara | 48 ++++----- TwoD_Rae2822_SST_Struct/bin/partition.hypara | 10 +- 39 files changed, 470 insertions(+), 470 deletions(-) diff --git a/ThreeD_Cylinder_LES_Re3900_Struct_120CPU/bin/cfd_para.hypara b/ThreeD_Cylinder_LES_Re3900_Struct_120CPU/bin/cfd_para.hypara index b1551cc..2d2bc82 100644 --- a/ThreeD_Cylinder_LES_Re3900_Struct_120CPU/bin/cfd_para.hypara +++ b/ThreeD_Cylinder_LES_Re3900_Struct_120CPU/bin/cfd_para.hypara @@ -264,11 +264,11 @@ int compressible = 1; // condition is radiation equilibrium temperature, and 0.8 is the default value. double refMachNumber = 0.20; -double attackd = 0.00; -double angleSlide = 0.00; +double attackd = 0.00; +double angleSlide = 0.00; -int inflowParaType = 0; -double refReNumber = 3900; +int inflowParaType = 0; +double refReNumber = 3900; double refDimensionalTemperature = 288.15; double freestream_vibration_temperature = 10000.00; @@ -288,9 +288,9 @@ double freestream_vibration_temperature = 10000.00; //double refDimensionalPressure = 1.01313E05; double wallTemperature = -1.0; -int dump_Q = 0; +int dump_Q = 0; -double radiationCoef = 0.8; +double radiationCoef = 0.8; double gridScaleFactor = 1.0; double forceRefenenceLengthSpanWise = 1.0; // unit of meter. @@ -316,7 +316,7 @@ double TorqueRefZ = 0.0; // unit of meter. // -- "vanalbada", "vanleer", "minmod", "smooth", "minvan", "3rdsmooth", "3rd_minmod_smooth". // -- "nolim", no limiter. // -- "vanalbada_clz", clz supersonic version. -string inviscidSchemeName = "roe"; +string inviscidSchemeName = "roe"; string str_limiter_name = "vanalbada"; #******************************************************************* @@ -383,7 +383,7 @@ string str_limiter_name = "vanalbada"; //string viscousName = "Euler"; int viscousType = 1; -string viscousName = "laminar"; +string viscousName = "laminar"; //int viscousType = 3; //string viscousName = "1eq-sa"; @@ -399,9 +399,9 @@ string uns_vis_name = "test"; string gradientName = "ggnode"; int ivencat = 7; -double venkatCoeff = 5.0; +double venkatCoeff = 5.0; int reconmeth = 1; -int limitVariables = 0; +int limitVariables = 0; int limitVector = 0; double limit_angle = 0; double skewnessAngle = 60.0; @@ -474,14 +474,14 @@ int iSimplifyViscousTerm = 1; int ifLocalTimeStep = 0; double CFLStart = 0.01; double CFLEnd = 10.0; -int CFLVaryStep = 500; +int CFLVaryStep = 500; double ktmax = 1.0e10; int swapDq = 1; int nLUSGSSweeps = 1; -double LUSGSTolerance = 0.01; +double LUSGSTolerance = 0.01; int order = 2; double visl_min = 0.01; diff --git a/ThreeD_DoubleEllipse_Laminar_HighOrder_Struct/ThreeD_DoubleEllipse_Laminar_HighOrder_Struct/bin/cfd_para_hypersonic.hypara b/ThreeD_DoubleEllipse_Laminar_HighOrder_Struct/ThreeD_DoubleEllipse_Laminar_HighOrder_Struct/bin/cfd_para_hypersonic.hypara index 12e384f..dec11f3 100644 --- a/ThreeD_DoubleEllipse_Laminar_HighOrder_Struct/ThreeD_DoubleEllipse_Laminar_HighOrder_Struct/bin/cfd_para_hypersonic.hypara +++ b/ThreeD_DoubleEllipse_Laminar_HighOrder_Struct/ThreeD_DoubleEllipse_Laminar_HighOrder_Struct/bin/cfd_para_hypersonic.hypara @@ -93,16 +93,16 @@ double TorqueRefZ = 0.0; // unit of meter. // 3 -- IDDES. //int viscousType = 0; -//string viscousName = "Euler"; +//string viscousName = "Euler"; int viscousType = 1; -string viscousName = "laminar"; +string viscousName = "laminar"; //int viscousType = 3; -//string viscousName = "1eq-sa"; +//string viscousName = "1eq-sa"; //int viscousType = 4; -//string viscousName = "2eq-kw-menter-sst"; +//string viscousName = "2eq-kw-menter-sst"; int DESType = 0; @@ -264,4 +264,4 @@ double catalyticCoef = 1.0; string gasfile = "DK5"; string speciesName = "O, O2, NO, N, N2"; string initMassFraction = "0.07955, 0.134, 0.0509, 1.0e-9, 0.73555"; -int ifStartFromPerfectGasResults = 0; +int ifStartFromPerfectGasResults = 0; diff --git a/ThreeD_M6_SST_Struct_MG2_4CPU/bin/cfd_para_transonic.hypara b/ThreeD_M6_SST_Struct_MG2_4CPU/bin/cfd_para_transonic.hypara index 49572a6..e282f23 100644 --- a/ThreeD_M6_SST_Struct_MG2_4CPU/bin/cfd_para_transonic.hypara +++ b/ThreeD_M6_SST_Struct_MG2_4CPU/bin/cfd_para_transonic.hypara @@ -81,16 +81,16 @@ double TorqueRefZ = 0.0; // unit of meter. // 3 -- IDDES. //int viscousType = 0; -//string viscousName = "Euler"; +//string viscousName = "Euler"; //int viscousType = 1; -//string viscousName = "laminar"; +//string viscousName = "laminar"; //int viscousType = 3; -//string viscousName = "1eq-sa"; +//string viscousName = "1eq-sa"; int viscousType = 4; -string viscousName = "2eq-kw-menter-sst"; +string viscousName = "2eq-kw-menter-sst"; int DESType = 0; diff --git a/ThreeD_M6_SST_Struct_MG2_4CPU/bin/key.hypara b/ThreeD_M6_SST_Struct_MG2_4CPU/bin/key.hypara index 65b2042..c977a1e 100644 --- a/ThreeD_M6_SST_Struct_MG2_4CPU/bin/key.hypara +++ b/ThreeD_M6_SST_Struct_MG2_4CPU/bin/key.hypara @@ -15,10 +15,10 @@ string defaultParaFile = "./bin/cfd_para.hypara"; // 2 -- Wall distance computation for turb-solver. // 3 -- Grid partition. // 4 -- Knowledge repository / examples of PHengLEI-API. -int ndim = 3; -int nparafile = 1; +int ndim = 3; +int nparafile = 1; -int nsimutask = 0; +int nsimutask = 0; string parafilename = "./bin/cfd_para_transonic.hypara"; //string parafilename = "./bin/cfd_para_transonic.hypara"; //string parafilename = "./bin/cfd_para_supersonic.hypara"; @@ -38,7 +38,7 @@ string parafilename = "./bin/cfd_para_transonic.hypara"; //string parafilename = "./bin/post_processing.hypara"; // ---------------- Advanced Parameters, DO NOT care it ---------------- -int iovrlap = 0; +int iovrlap = 0; int numberOfGridProcessor = 0; // ATP read //@string parafilename1 = "" diff --git a/ThreeD_M6_SST_Struct_MG2_4CPU/bin/partition.hypara b/ThreeD_M6_SST_Struct_MG2_4CPU/bin/partition.hypara index daef16f..75cd057 100644 --- a/ThreeD_M6_SST_Struct_MG2_4CPU/bin/partition.hypara +++ b/ThreeD_M6_SST_Struct_MG2_4CPU/bin/partition.hypara @@ -8,11 +8,11 @@ // 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; +int pgridtype = 1; +int maxproc = 4; -string original_grid_file = "./grid/m6_str.fts"; -string partition_grid_file = "./grid/m6_str__4.fts"; +string original_grid_file = "./grid/m6_str.fts"; +string partition_grid_file = "./grid/m6_str__4.fts"; // numberOfMultigrid: Number of multi-grid levels, ONLY used for structured grid. // 1 -- single level. diff --git a/ThreeD_NACA0012_SA_Struct/bin/cfd_para_transonic.hypara b/ThreeD_NACA0012_SA_Struct/bin/cfd_para_transonic.hypara index 9991be5..bf794a3 100644 --- a/ThreeD_NACA0012_SA_Struct/bin/cfd_para_transonic.hypara +++ b/ThreeD_NACA0012_SA_Struct/bin/cfd_para_transonic.hypara @@ -7,12 +7,12 @@ // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved. -int maxSimuStep = 50000; +int maxSimuStep = 50000; -int intervalStepFlow = 1000; -int intervalStepPlot = 1000; -int intervalStepForce = 100; -int intervalStepRes = 10; +int intervalStepFlow = 1000; +int intervalStepPlot = 1000; +int intervalStepForce = 100; +int intervalStepRes = 10; ######################################################################### # Inflow Parameter # @@ -33,17 +33,17 @@ int intervalStepRes = 10; // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. double refMachNumber = 0.799; -double attackd = 2.26; -double angleSlide = 0.00; +double attackd = 2.26; +double angleSlide = 0.00; -int inflowParaType = 0; -double refReNumber = 9.0e6; +int inflowParaType = 0; +double refReNumber = 9.0e6; double refDimensionalTemperature = 288.15; -//int inflowParaType = 1; -//double height = 0.001; +//int inflowParaType = 1; +//double height = 0.001; -//int inflowParaType = 2; +//int inflowParaType = 2; //double refDimensionalTemperature = 6051.024; //the total temperature, T*(1+(gama0-1)*M*M/2). //double refDimensionalPressure = 4.299696E09; //the total pressure, p*(T0/T)^(gama0/(gama0-1)). @@ -73,17 +73,17 @@ double TorqueRefZ = 0.0; // unit of meter. // 2 - DDES; // 3 - IDDES; -//int iviscous = 0; -//string viscousName = "Euler"; +//int iviscous = 0; +//string viscousName = "Euler"; -//int iviscous = 1; -//string viscousName = "laminar"; +//int iviscous = 1; +//string viscousName = "laminar"; -int viscousType = 3; -string viscousName = "1eq-sa"; +int viscousType = 3; +string viscousName = "1eq-sa"; -//int iviscous = 4; -//string viscousName = "2eq-kw-menter-sst"; +//int iviscous = 4; +//string viscousName = "2eq-kw-menter-sst"; int DESType = 0; @@ -102,7 +102,7 @@ double roeEntropyScale = 1.0; // - "3rdsmooth", "smooth" // - "nolim" - no limiter -string inviscidSchemeName = "roe"; +string inviscidSchemeName = "roe"; string str_limiter_name = "smooth"; #******************************************************************* @@ -121,7 +121,7 @@ string str_limiter_name = "smooth"; string uns_scheme_name = "roe"; string uns_limiter_name = "vencat"; -double venkatCoeff = 5.0; +double venkatCoeff = 5.0; ######################################################################### # Temporal Discretisation # @@ -135,11 +135,11 @@ double venkatCoeff = 5.0; // 1 : is recommended for structured solver. // 1-3: is recommended for unstructured solver. -int iunsteady = 0; +int iunsteady = 0; -double CFLEnd = 30.0; +double CFLEnd = 30.0; -int nLUSGSSweeps = 1; +int nLUSGSSweeps = 1; ######################################################################### # Multi-Grid parameters # @@ -151,7 +151,7 @@ int nLUSGSSweeps = 1; // Multi-Grid : Number of steps computing on coarse grid, during flow initialization. // Single-Grid: Number of steps computing using first-order with vanleer, during flow initialization. -int nMGLevel = 1; +int nMGLevel = 1; int flowInitStep = 100; @@ -166,7 +166,7 @@ int flowInitStep = 100; // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. string gridfile = "./grid/NACA0012__4.fts"; -int isPlotVolumeField = 0; +int isPlotVolumeField = 0; @@ -192,6 +192,6 @@ int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // reconmeth: // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 1 - Q+, Q- use the min limiter coefficients of left and right cell. -int reconmeth = 1; -int limitVariables = 0; +int reconmeth = 1; +int limitVariables = 0; int limitVector = 0; diff --git a/ThreeD_NACA0012_SA_Struct/bin/grid_para.hypara b/ThreeD_NACA0012_SA_Struct/bin/grid_para.hypara index dbb5aa6..e25b297 100644 --- a/ThreeD_NACA0012_SA_Struct/bin/grid_para.hypara +++ b/ThreeD_NACA0012_SA_Struct/bin/grid_para.hypara @@ -17,17 +17,17 @@ // 6 -- Ustar, mgrid.in. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 8 -- GMSH, *.msh. -int gridtype = 1; -int axisup = 1; -int from_gtype = 3; +int gridtype = 1; +int axisup = 1; +int from_gtype = 3; ######################################################################### # 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. -string from_gfile = "./grid/NACA0012.grd"; -string out_gfile = "./grid/NACA0012.fts"; +string from_gfile = "./grid/NACA0012.grd"; +string out_gfile = "./grid/NACA0012.fts"; diff --git a/ThreeD_NACA0012_SA_Struct/bin/key.hypara b/ThreeD_NACA0012_SA_Struct/bin/key.hypara index 5f649fd..d4951cb 100644 --- a/ThreeD_NACA0012_SA_Struct/bin/key.hypara +++ b/ThreeD_NACA0012_SA_Struct/bin/key.hypara @@ -15,8 +15,8 @@ string defaultParaFile = "./bin/cfd_para.hypara"; // 2 -- Wall distance computation for turb-solver. // 3 -- Grid partition. // 4 -- Knowledge repository / examples of PHengLEI-API. -int ndim = 3; -int nparafile = 1; +int ndim = 3; +int nparafile = 1; int nsimutask = 0; string parafilename = "./bin/cfd_para_transonic.hypara"; diff --git a/ThreeD_NACA0012_SA_Struct/bin/partition.hypara b/ThreeD_NACA0012_SA_Struct/bin/partition.hypara index d8ca02d..81e92b7 100644 --- a/ThreeD_NACA0012_SA_Struct/bin/partition.hypara +++ b/ThreeD_NACA0012_SA_Struct/bin/partition.hypara @@ -8,16 +8,16 @@ // 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). -int pgridtype = 1; -int maxproc = 4; +int pgridtype = 1; +int maxproc = 4; -string original_grid_file = "./grid/NACA0012.fts"; -string partition_grid_file = "./grid/NACA0012__4.fts"; +string original_grid_file = "./grid/NACA0012.fts"; +string partition_grid_file = "./grid/NACA0012__4.fts"; // Number of multi-grid levels, ONLY used for structured grid. // 1 -- single level, 2 -- 2 level, N -- N level, ..., et al. -int numberOfMultigrid = 1; +int numberOfMultigrid = 1; diff --git a/ThreeD_ShockWave_PeriodicBoundary_SA_Struct_4CPU/bin/cfd_para.hypara b/ThreeD_ShockWave_PeriodicBoundary_SA_Struct_4CPU/bin/cfd_para.hypara index 92a8e59..3ff6f7b 100644 --- a/ThreeD_ShockWave_PeriodicBoundary_SA_Struct_4CPU/bin/cfd_para.hypara +++ b/ThreeD_ShockWave_PeriodicBoundary_SA_Struct_4CPU/bin/cfd_para.hypara @@ -222,14 +222,14 @@ int numberOfMultigrid = 1; // 0 -- no precondition process. (default, mach > 0.3) // 1 -- carry out precondition process. (mach number <= 0.3) -int maxSimuStep = 20000; +int maxSimuStep = 20000; -int intervalStepFlow = 1000; -int intervalStepPlot = 1000; +int intervalStepFlow = 1000; +int intervalStepPlot = 1000; int intervalStepSample = 1000; -int intervalStepForce = 100; -int intervalStepRes = 10; -int ifLowSpeedPrecon = 0; +int intervalStepForce = 100; +int intervalStepRes = 10; +int ifLowSpeedPrecon = 0; // compressible: // 0 -- incompressible flow. @@ -296,7 +296,7 @@ double freestream_vibration_temperature = 10000.00; //double refDimensionalPressure = 1.01313E05; double wallTemperature = -1.0; -int dump_Q = 0; +int dump_Q = 0; double radiationCoef = 0.8; double gridScaleFactor = 1.0; @@ -387,16 +387,16 @@ string str_limiter_name = "vanalbada"; // It is used to scale the default Roe entropy fix coefficients. //int viscousType = 0; -//string viscousName = "Euler"; +//string viscousName = "Euler"; //int viscousType = 1; -//string viscousName = "laminar"; +//string viscousName = "laminar"; -int viscousType = 3; -string viscousName = "1eq-sa"; +int viscousType = 3; +string viscousName = "1eq-sa"; //int viscousType = 4; -//string viscousName = "2eq-kw-menter-sst"; +//string viscousName = "2eq-kw-menter-sst"; int DESType = 0; diff --git a/ThreeD_ShockWave_PeriodicBoundary_SA_Struct_4CPU/bin/cfd_para_hypersonic.hypara b/ThreeD_ShockWave_PeriodicBoundary_SA_Struct_4CPU/bin/cfd_para_hypersonic.hypara index 641dde3..db4bf9d 100644 --- a/ThreeD_ShockWave_PeriodicBoundary_SA_Struct_4CPU/bin/cfd_para_hypersonic.hypara +++ b/ThreeD_ShockWave_PeriodicBoundary_SA_Struct_4CPU/bin/cfd_para_hypersonic.hypara @@ -198,7 +198,7 @@ int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // 0 -- When reconstruct face value, Q+, Q- use respective limiter coefficients. // 1 -- Q+, Q- use the min limiter coefficients of left and right cell. -int reconmeth = 1; +int reconmeth = 1; int limitVariables = 0; -int limitVector = 0; +int limitVector = 0; double MUSCLCoefXk = 0.333333; diff --git a/ThreeD_Sphere_Laminar_Ma10_Struct/bin/cfd_para_hypersonic.hypara b/ThreeD_Sphere_Laminar_Ma10_Struct/bin/cfd_para_hypersonic.hypara index e768efb..30ace5f 100644 --- a/ThreeD_Sphere_Laminar_Ma10_Struct/bin/cfd_para_hypersonic.hypara +++ b/ThreeD_Sphere_Laminar_Ma10_Struct/bin/cfd_para_hypersonic.hypara @@ -7,12 +7,12 @@ // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved. -int maxSimuStep = 25000; +int maxSimuStep = 25000; -int intervalStepFlow = 1000; -int intervalStepPlot = 1000; -int intervalStepForce = 100; -int intervalStepRes = 10; +int intervalStepFlow = 1000; +int intervalStepPlot = 1000; +int intervalStepForce = 100; +int intervalStepRes = 10; ######################################################################### # Inflow Parameter # @@ -40,15 +40,15 @@ int intervalStepRes = 10; // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. double refMachNumber = 10.00; -double attackd = 0.00; -double angleSlide = 0.00; +double attackd = 0.00; +double angleSlide = 0.00; -double wallTemperature = 294.0 ; -int dump_Q = 2; +double wallTemperature = 294.0 ; +int dump_Q = 2; -int inflowParaType = 0; -double refReNumber = 1.0e5; -double refDimensionalTemperature = 79.0; +int inflowParaType = 0; +double refReNumber = 1.0e5; +double refDimensionalTemperature = 79.0; //int inflowParaType = 1; //double height = 0.001; @@ -84,18 +84,18 @@ double TorqueRefZ = 0.0; // unit of meter. // 3 - IDDES; //int iviscous = 0; -//string viscousName = "Euler"; +//string viscousName = "Euler"; -int viscousType = 1; -string viscousName = "laminar"; +int viscousType = 1; +string viscousName = "laminar"; //int iviscous = 3; -//string viscousName = "1eq-sa"; +//string viscousName = "1eq-sa"; //int iviscous = 4; -//string viscousName = "2eq-kw-menter-sst"; +//string viscousName = "2eq-kw-menter-sst"; -int DESType = 0; +int DESType = 0; int roeEntropyFixMethod = 2; double roeEntropyScale = 0.0001; @@ -111,7 +111,7 @@ double roeEntropyScale = 0.0001; // str_limiter_name: Limiter of struct grid // - "minmod", "3rd_minmod_smooth" -string inviscidSchemeName = "steger"; +string inviscidSchemeName = "steger"; string str_limiter_name = "minmod"; #******************************************************************* @@ -142,11 +142,11 @@ double venkatCoeff = 0.5; // The bigger the value, the convergence faster but lower robustness. // ktmax: The lower the value, the more robustness, 1.0e5 ~ 1.0e10. -int iunsteady = 0; +int iunsteady = 0; -double CFLEnd = 10.0; -int CFLVaryStep = 100; -double ktmax = 1.0e10; +double CFLEnd = 10.0; +int CFLVaryStep = 100; +double ktmax = 1.0e10; ######################################################################### @@ -160,7 +160,7 @@ double ktmax = 1.0e10; // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. string gridfile = "./grid/3dball.fts"; -int isPlotVolumeField = 0; +int isPlotVolumeField = 0; @@ -174,8 +174,8 @@ int isPlotVolumeField = 0; // -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21) // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!. // Arriables order must from small to larger. -int nVisualVariables = 8; -int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; +int nVisualVariables = 8; +int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // limitVariables: limit model. // 0 - limit only for pressure and denstiny, then get the min value @@ -186,6 +186,6 @@ int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // reconmeth: // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 1 - Q+, Q- use the min limiter coefficients of left and right cell. -int reconmeth = 0; -int limitVariables = 0; -int limitVector = 1; +int reconmeth = 0; +int limitVariables = 0; +int limitVector = 1; diff --git a/ThreeD_Sphere_Laminar_Ma10_Struct/bin/grid_para.hypara b/ThreeD_Sphere_Laminar_Ma10_Struct/bin/grid_para.hypara index 447d061..b1f2e73 100644 --- a/ThreeD_Sphere_Laminar_Ma10_Struct/bin/grid_para.hypara +++ b/ThreeD_Sphere_Laminar_Ma10_Struct/bin/grid_para.hypara @@ -17,9 +17,9 @@ // 6 -- Ustar, mgrid.in. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 8 -- GMSH, *.msh. -int gridtype = 1; -int axisup = 1; -int from_gtype = 3; +int gridtype = 1; +int axisup = 1; +int from_gtype = 3; ######################################################################### # File path # diff --git a/ThreeD_Sphere_Laminar_Ma10_Struct/bin/key.hypara b/ThreeD_Sphere_Laminar_Ma10_Struct/bin/key.hypara index 3049448..a5a4e47 100644 --- a/ThreeD_Sphere_Laminar_Ma10_Struct/bin/key.hypara +++ b/ThreeD_Sphere_Laminar_Ma10_Struct/bin/key.hypara @@ -15,7 +15,7 @@ string defaultParaFile = "./bin/cfd_para.hypara"; // 4 -- Knowledge repository / examples of PHengLEI-API. int ndim = 3; int nparafile = 1; -int nsimutask = 0; +int nsimutask = 0; string parafilename = "./bin/cfd_para_hypersonic.hypara"; //string parafilename = "./bin/cfd_para_transonic.hypara"; //string parafilename = "./bin/cfd_para_supersonic.hypara"; @@ -34,8 +34,8 @@ string parafilename = "./bin/cfd_para_hypersonic.hypara"; //int nsimutask = 99; //string parafilename = "./bin/post_processing.hypara"; // ---------------- advanced Parameters, DO NOT care it ----------- -int iovrlap = 0; -int numberOfGridProcessor = 0; +int iovrlap = 0; +int numberOfGridProcessor = 0; // ATP read string parafilename1 = "" string parafilename2 = ""; diff --git a/ThreeD_Sphere_Laminar_Ma10_Struct/bin/partition.hypara b/ThreeD_Sphere_Laminar_Ma10_Struct/bin/partition.hypara index 2b858c0..945b673 100644 --- a/ThreeD_Sphere_Laminar_Ma10_Struct/bin/partition.hypara +++ b/ThreeD_Sphere_Laminar_Ma10_Struct/bin/partition.hypara @@ -9,7 +9,7 @@ // partition_grid_file : target partition grid file(HyperFLOW/PHengLEI type, *.fts). int pgridtype = 1; -int maxproc = 1; +int maxproc = 1; string original_grid_file = "./grid/3dball.fts"; string partition_grid_file = "./grid/3dball.fts"; diff --git a/TwoD_30p30n_SST_Struct/bin/cfd_para_subsonic.hypara b/TwoD_30p30n_SST_Struct/bin/cfd_para_subsonic.hypara index ff71241..2d9e9dd 100644 --- a/TwoD_30p30n_SST_Struct/bin/cfd_para_subsonic.hypara +++ b/TwoD_30p30n_SST_Struct/bin/cfd_para_subsonic.hypara @@ -39,15 +39,15 @@ int ifLowSpeedPrecon = 0; // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. double refMachNumber = 0.2; -double attackd = 19.0; -double angleSlide = 0.00; +double attackd = 19.0; +double angleSlide = 0.00; -int inflowParaType = 0; -double refReNumber = 9.0e6; -double refDimensionalTemperature = 288.0; +int inflowParaType = 0; +double refReNumber = 9.0e6; +double refDimensionalTemperature = 288.0; -//int inflowParaType = 1; -//double height = 0.001; +//int inflowParaType = 1; +//double height = 0.001; double gridScaleFactor = 1.0; @@ -76,21 +76,21 @@ double TorqueRefZ = 0.0; // unit of meter. // 3 - IDDES; //int iviscous = 0; -//string viscousName = "Euler"; +//string viscousName = "Euler"; //int iviscous = 1; -//string viscousName = "laminar"; +//string viscousName = "laminar"; //int iviscous = 3; -//string viscousName = "1eq-sa"; +//string viscousName = "1eq-sa"; int viscousType = 4; -string viscousName = "2eq-kw-menter-sst"; +string viscousName = "2eq-kw-menter-sst"; -int DESType = 0; +int DESType = 0; int roeEntropyFixMethod = 2; -double roeEntropyScale = 1.0; +double roeEntropyScale = 1.0; ######################################################################### # Spatial Discretisation # ######################################################################### @@ -128,11 +128,11 @@ double venkatCoeff = 50.0; // 1 : is recommended for structured solver. // 1-3: is recommended for unstructured solver. -int iunsteady = 0; +int iunsteady = 0; double CFLEnd = 10.0; -int nLUSGSSweeps = 1; +int nLUSGSSweeps = 1; ######################################################################### # Multi-Grid parameters # @@ -144,8 +144,8 @@ int nLUSGSSweeps = 1; // Multi-Grid : Number of steps computing on coarse grid, during flow initialization. // Single-Grid: Number of steps computing using first-order with vanleer, during flow initialization. -int nMGLevel = 1; -int flowInitStep = 100; +int nMGLevel = 1; +int flowInitStep = 100; ######################################################################### @@ -158,8 +158,8 @@ int flowInitStep = 100; // Please use 'rae2822_hybrid2d__4.fts' here! // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. -string gridfile = "./grid/30p30n_str__4.fts"; -int isPlotVolumeField = 0; +string gridfile = "./grid/30p30n_str__4.fts"; +int isPlotVolumeField = 0; // ---------------- advanced Parameters, DO NOT care it ----------- @@ -172,8 +172,8 @@ int isPlotVolumeField = 0; // -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21) // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!. // Arriables order must from small to larger. -int nVisualVariables = 8; -int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; +int nVisualVariables = 8; +int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // limitVariables: limit model. // 0 - limit only for pressure and denstiny, then get the min value @@ -184,6 +184,6 @@ int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // reconmeth: // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 1 - Q+, Q- use the min limiter coefficients of left and right cell. -int reconmeth = 1; -int limitVariables = 0; -int limitVector = 0; +int reconmeth = 1; +int limitVariables = 0; +int limitVector = 0; diff --git a/TwoD_30p30n_SST_Struct/bin/grid_para.hypara b/TwoD_30p30n_SST_Struct/bin/grid_para.hypara index 22e54d0..91b6e74 100644 --- a/TwoD_30p30n_SST_Struct/bin/grid_para.hypara +++ b/TwoD_30p30n_SST_Struct/bin/grid_para.hypara @@ -17,9 +17,9 @@ // 6 -- Ustar, mgrid.in. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 8 -- GMSH, *.msh. -int gridtype = 1; -int axisup = 1; -int from_gtype = 3; +int gridtype = 1; +int axisup = 1; +int from_gtype = 3; ######################################################################### # File path # diff --git a/TwoD_BackwardStep_PressureOutlet_SA_Struct_4CPU/bin/grid_para.hypara b/TwoD_BackwardStep_PressureOutlet_SA_Struct_4CPU/bin/grid_para.hypara index 644e5cc..f9b5dc4 100644 --- a/TwoD_BackwardStep_PressureOutlet_SA_Struct_4CPU/bin/grid_para.hypara +++ b/TwoD_BackwardStep_PressureOutlet_SA_Struct_4CPU/bin/grid_para.hypara @@ -17,9 +17,9 @@ // 6 -- Ustar, mgrid.in. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 8 -- GMSH, *.msh. -int gridtype = 1; -int axisup = 1; -int from_gtype = 3; +int gridtype = 1; +int axisup = 1; +int from_gtype = 3; ######################################################################### # File path # diff --git a/TwoD_Cylinder_Laminar_HighOrder_Struct/TwoD_Cylinder_Laminar_HighOrder_Struct/bin/cfd_para_hypersonic.hypara b/TwoD_Cylinder_Laminar_HighOrder_Struct/TwoD_Cylinder_Laminar_HighOrder_Struct/bin/cfd_para_hypersonic.hypara index fcbd6ba..5317d89 100644 --- a/TwoD_Cylinder_Laminar_HighOrder_Struct/TwoD_Cylinder_Laminar_HighOrder_Struct/bin/cfd_para_hypersonic.hypara +++ b/TwoD_Cylinder_Laminar_HighOrder_Struct/TwoD_Cylinder_Laminar_HighOrder_Struct/bin/cfd_para_hypersonic.hypara @@ -154,7 +154,7 @@ double venkatCoeff = 0.5; int iunsteady = 0; double CFLEnd = 10.0; -int CFLVaryStep = 100; +int CFLVaryStep = 100; double ktmax = 1.0e10; diff --git a/TwoD_Cylinder_Laminar_Ma8d03_Struct/bin/cfd_para_hypersonic.hypara b/TwoD_Cylinder_Laminar_Ma8d03_Struct/bin/cfd_para_hypersonic.hypara index bf9f239..f7d2020 100644 --- a/TwoD_Cylinder_Laminar_Ma8d03_Struct/bin/cfd_para_hypersonic.hypara +++ b/TwoD_Cylinder_Laminar_Ma8d03_Struct/bin/cfd_para_hypersonic.hypara @@ -7,12 +7,12 @@ // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved. -int maxSimuStep = 30000; +int maxSimuStep = 30000; -int intervalStepFlow = 1000; -int intervalStepPlot = 1000; -int intervalStepForce = 100; -int intervalStepRes = 10; +int intervalStepFlow = 1000; +int intervalStepPlot = 1000; +int intervalStepForce = 100; +int intervalStepRes = 10; ######################################################################### # Inflow Parameter # @@ -40,24 +40,24 @@ int intervalStepRes = 10; // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. double refMachNumber = 8.03; -double attackd = 0.00; -double angleSlide = 0.00; +double attackd = 0.00; +double angleSlide = 0.00; -double wallTemperature = 294.0 ; -int dump_Q = 0; +double wallTemperature = 294.0 ; +int dump_Q = 0; -int inflowParaType = 0; -double refReNumber = 3.67e5; +int inflowParaType = 0; +double refReNumber = 3.67e5; double refDimensionalTemperature = 125.0; -//int inflowParaType = 1; -//double height = 0.001; +//int inflowParaType = 1; +//double height = 0.001; //int inflowParaType = 2; //double refDimensionalTemperature = 6051.024; //the total temperature, T*(1+(gama0-1)*M*M/2). //double refDimensionalPressure = 4.299696E09; //the total pressure, p*(T0/T)^(gama0/(gama0-1)). -double gridScaleFactor = 1.0; +double gridScaleFactor = 1.0; double forceRefenenceLengthSpanWise = 1.0; // unit of meter. double forceRefenenceLength = 1.0; // unit of meter. @@ -84,18 +84,18 @@ double TorqueRefZ = 0.0; // unit of meter. // 3 - IDDES; //int iviscous = 0; -//string viscousName = "Euler"; +//string viscousName = "Euler"; -int viscousType = 1; -string viscousName = "laminar"; +int viscousType = 1; +string viscousName = "laminar"; //int iviscous = 3; -//string viscousName = "1eq-sa"; +//string viscousName = "1eq-sa"; //int iviscous = 4; -//string viscousName = "2eq-kw-menter-sst"; +//string viscousName = "2eq-kw-menter-sst"; -int DESType = 0; +int DESType = 0; int roeEntropyFixMethod = 2; double roeEntropyScale = 0.0001; @@ -111,7 +111,7 @@ double roeEntropyScale = 0.0001; // str_limiter_name: Limiter of struct grid // - "minmod", "3rd_minmod_smooth" -string inviscidSchemeName = "roe"; +string inviscidSchemeName = "roe"; string str_limiter_name = "vanleer"; #******************************************************************* @@ -130,7 +130,7 @@ string str_limiter_name = "vanleer"; string uns_scheme_name = "vanleer"; string uns_limiter_name = "vencat"; -double venkatCoeff = 0.5; +double venkatCoeff = 0.5; ######################################################################### # Temporal Discretisation # @@ -142,11 +142,11 @@ double venkatCoeff = 0.5; // The bigger the value, the convergence faster but lower robustness. // ktmax: The lower the value, the more robustness, 1.0e5 ~ 1.0e10. -int iunsteady = 0; +int iunsteady = 0; -double CFLEnd = 3.0; +double CFLEnd = 3.0; -double ktmax = 1.0e10; +double ktmax = 1.0e10; ######################################################################### @@ -159,8 +159,8 @@ double ktmax = 1.0e10; // Please use 'rae2822_hybrid2d__4.fts' here! // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. -string gridfile = "./grid/input.fts"; -int isPlotVolumeField = 0; +string gridfile = "./grid/input.fts"; +int isPlotVolumeField = 0; diff --git a/TwoD_Cylinder_Laminar_Ma8d03_Struct/bin/grid_para.hypara b/TwoD_Cylinder_Laminar_Ma8d03_Struct/bin/grid_para.hypara index 7305f17..b589c29 100644 --- a/TwoD_Cylinder_Laminar_Ma8d03_Struct/bin/grid_para.hypara +++ b/TwoD_Cylinder_Laminar_Ma8d03_Struct/bin/grid_para.hypara @@ -17,9 +17,9 @@ // 6 -- Ustar, mgrid.in. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 8 -- GMSH, *.msh. -int gridtype = 1; -int axisup = 1; -int from_gtype = 3; +int gridtype = 1; +int axisup = 1; +int from_gtype = 3; ######################################################################### # File path # diff --git a/TwoD_Cylinder_Laminar_OneTemperMode_FCW_Struct/bin/cfd_para_hypersonic.hypara b/TwoD_Cylinder_Laminar_OneTemperMode_FCW_Struct/bin/cfd_para_hypersonic.hypara index f2edbe0..ae5f16c 100644 --- a/TwoD_Cylinder_Laminar_OneTemperMode_FCW_Struct/bin/cfd_para_hypersonic.hypara +++ b/TwoD_Cylinder_Laminar_OneTemperMode_FCW_Struct/bin/cfd_para_hypersonic.hypara @@ -92,16 +92,16 @@ double TorqueRefZ = 0.0; // unit of meter. // 2 -- DDES. // 3 -- IDDES. -//int viscousType = 0; +//int viscousType = 0; //string viscousName = "Euler"; -int viscousType = 1; +int viscousType = 1; string viscousName = "laminar"; -//int viscousType = 3; +//int viscousType = 3; //string viscousName = "1eq-sa"; -//int viscousType = 4; +//int viscousType = 4; //string viscousName = "2eq-kw-menter-sst"; int DESType = 0; @@ -235,4 +235,4 @@ double catalyticCoef = 1.0; string gasfile = "DK11"; string speciesName = "O, O2, NO, N, O+, O2+, NO+, N+, N2+, N2, e-"; string initMassFraction = "0.07955,0.134,0.0509,1.0e-9,0.0,0.0,0.0,0.0,0.0,0.73555,0.0"; -int ifStartFromPerfectGasResults = 0; +int ifStartFromPerfectGasResults = 0; diff --git a/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/cfd_para_hypersonic.hypara b/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/cfd_para_hypersonic.hypara index b8cd2f4..f388448 100644 --- a/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/cfd_para_hypersonic.hypara +++ b/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/cfd_para_hypersonic.hypara @@ -7,12 +7,12 @@ // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved. -int maxSimuStep = 50000; +int maxSimuStep = 50000; -int intervalStepFlow = 1000; -int intervalStepPlot = 1000; -int intervalStepForce = 100; -int intervalStepRes = 10; +int intervalStepFlow = 1000; +int intervalStepPlot = 1000; +int intervalStepForce = 100; +int intervalStepRes = 10; ######################################################################### # Inflow Parameter # @@ -39,25 +39,25 @@ int intervalStepRes = 10; // forceRefenenceLength, forceRefenenceArea: Reference length and area, independent to grid scale. // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. -double refMachNumber = 5.00; -double attackd = 0.00; -double angleSlide = 0.00; +double refMachNumber = 5.00; +double attackd = 0.00; +double angleSlide = 0.00; -double wallTemperature = 327.36; -int dump_Q = 0; +double wallTemperature = 327.36; +int dump_Q = 0; -int inflowParaType = 0; -double refReNumber = 1.5e7; -double refDimensionalTemperature = 300.33; +int inflowParaType = 0; +double refReNumber = 1.5e7; +double refDimensionalTemperature = 300.33; -//int inflowParaType = 1; -//double height = 0.001; +//int inflowParaType = 1; +//double height = 0.001; -//int inflowParaType = 2; -//double refDimensionalTemperature = 6051.024; //the total temperature, T*(1+(gama0-1)*M*M/2). -//double refDimensionalPressure = 4.299696E09; //the total pressure, p*(T0/T)^(gama0/(gama0-1)). +//int inflowParaType = 2; +//double refDimensionalTemperature = 6051.024; //the total temperature, T*(1+(gama0-1)*M*M/2). +//double refDimensionalPressure = 4.299696E09; //the total pressure, p*(T0/T)^(gama0/(gama0-1)). -double gridScaleFactor = 0.001; +double gridScaleFactor = 0.001; double forceRefenenceLengthSpanWise = 1.0; // unit of meter. double forceRefenenceLength = 1.0; // unit of meter. @@ -69,7 +69,7 @@ double TorqueRefZ = 0.0; // unit of meter. #******************************************************************* # Physical models * #******************************************************************* -// iviscous: Viscous model +// viscousType: Viscous model // 0 - Euler // 1 - Lamilar // 3 - 1eq turbulent @@ -83,22 +83,22 @@ double TorqueRefZ = 0.0; // unit of meter. // 2 - DDES; // 3 - IDDES; -//int iviscous = 0; -//string viscousName = "Euler"; +//int viscousType = 0; +//string viscousName = "Euler"; int viscousType = 1; -string viscousName = "laminar"; +string viscousName = "laminar"; -//int iviscous = 3; -//string viscousName = "1eq-sa"; +//int viscousType = 3; +//string viscousName = "1eq-sa"; -//int iviscous = 4; -//string viscousName = "2eq-kw-menter-sst"; +//int viscousType = 4; +//string viscousName = "2eq-kw-menter-sst"; -int DESType = 0; +int DESType = 0; -int roeEntropyFixMethod = 2; -double roeEntropyScale = 0.0002; +int roeEntropyFixMethod = 2; +double roeEntropyScale = 0.0002; ######################################################################### # Spatial Discretisation # ######################################################################### @@ -111,7 +111,7 @@ double roeEntropyScale = 0.0002; // str_limiter_name: Limiter of struct grid // - "minmod", "3rd_minmod_smooth" -string inviscidSchemeName = "roe"; +string inviscidSchemeName = "roe"; string str_limiter_name = "smooth"; #******************************************************************* @@ -130,7 +130,7 @@ string str_limiter_name = "smooth"; string uns_scheme_name = "vanleer"; string uns_limiter_name = "vencat"; -double venkatCoeff = 0.5; +double venkatCoeff = 0.5; ######################################################################### # Temporal Discretisation # @@ -142,11 +142,11 @@ double venkatCoeff = 0.5; // The bigger the value, the convergence faster but lower robustness. // ktmax: The lower the value, the more robustness, 1.0e5 ~ 1.0e10. -int iunsteady = 0; +int iunsteady = 0; double CFLEnd = 100; -int CFLVaryStep = 500; -double ktmax = 1.0e10; +int CFLVaryStep = 500; +double ktmax = 1.0e10; ######################################################################### @@ -159,8 +159,8 @@ double ktmax = 1.0e10; // Please use 'rae2822_hybrid2d__4.fts' here! // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. -string gridfile = "./grid/plate_137_97.fts"; -int isPlotVolumeField = 0; +string gridfile = "./grid/plate_137_97.fts"; +int isPlotVolumeField = 0; @@ -175,7 +175,7 @@ int isPlotVolumeField = 0; // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!. // Arriables order must from small to larger. int nVisualVariables = 8; -int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; +int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // limitVariables: limit model. // 0 - limit only for pressure and denstiny, then get the min value @@ -186,8 +186,8 @@ int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // reconmeth: // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 1 - Q+, Q- use the min limiter coefficients of left and right cell. -int reconmeth = 0; -int limitVariables = 0; -int limitVector = 1; +int reconmeth = 0; +int limitVariables = 0; +int limitVector = 1; double MUSCLCoefXk = 0.333333; diff --git a/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/grid_para.hypara b/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/grid_para.hypara index d17f48d..2811ecd 100644 --- a/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/grid_para.hypara +++ b/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/grid_para.hypara @@ -17,9 +17,9 @@ // 6 -- Ustar, mgrid.in. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 8 -- GMSH, *.msh. -int gridtype = 1; -int axisup = 1; -int from_gtype = 3; +int gridtype = 1; +int axisup = 1; +int from_gtype = 3; ######################################################################### # File path # @@ -27,7 +27,7 @@ int from_gtype = 3; // 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. string from_gfile = "./grid/plate_137_97.grd"; -string out_gfile = "./grid/plate_137_97.fts"; +string out_gfile = "./grid/plate_137_97.fts"; diff --git a/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/key.hypara b/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/key.hypara index 8a53b66..dad5ee6 100644 --- a/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/key.hypara +++ b/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/key.hypara @@ -13,30 +13,30 @@ string defaultParaFile = "./bin/cfd_para.hypara"; // 2 -- Wall distance computation for turb-solver. // 3 -- Grid partition. // 4 -- Knowledge repository / examples of PHengLEI-API. -int ndim = 2; -int nparafile = 1; -int nsimutask = 0; -string parafilename = "./bin/cfd_para_hypersonic.hypara"; -//string parafilename = "./bin/cfd_para_transonic.hypara"; -//string parafilename = "./bin/cfd_para_supersonic.hypara"; -//string parafilename = "./bin/cfd_para_hypersonic.hypara"; -//string parafilename = "./bin/incompressible.hypara"; -//int nsimutask = 1; -//string parafilename = "./bin/grid_para.hypara"; -//int nsimutask = 2; -//string parafilename = "./bin/cfd_para.hypara"; -//int nsimutask = 3; -//string parafilename = "./bin/partition.hypara"; -//int nsimutask = 4; -//string parafilename = "./bin/repository.hypara"; -//int nsimutask = 5; -//string parafilename = "./bin/overset_grid_view.hypara"; -//int nsimutask = 99; -//string parafilename = "./bin/post_processing.hypara"; +int ndim = 2; +int nparafile = 1; +int nsimutask = 0; +string parafilename = "./bin/cfd_para_hypersonic.hypara"; +//string parafilename = "./bin/cfd_para_transonic.hypara"; +//string parafilename = "./bin/cfd_para_supersonic.hypara"; +//string parafilename = "./bin/cfd_para_hypersonic.hypara"; +//string parafilename = "./bin/incompressible.hypara"; +//int nsimutask = 1; +//string parafilename = "./bin/grid_para.hypara"; +//int nsimutask = 2; +//string parafilename = "./bin/cfd_para.hypara"; +//int nsimutask = 3; +//string parafilename = "./bin/partition.hypara"; +//int nsimutask = 4; +//string parafilename = "./bin/repository.hypara"; +//int nsimutask = 5; +//string parafilename = "./bin/overset_grid_view.hypara"; +//int nsimutask = 99; +//string parafilename = "./bin/post_processing.hypara"; // ---------------- advanced Parameters, DO NOT care it ----------- -int iovrlap = 0; -int numberOfGridProcessor = 0; +int iovrlap = 0; +int numberOfGridProcessor = 0; // ATP read -string parafilename1 = "" -string parafilename2 = ""; +string parafilename1 = "" +string parafilename2 = ""; diff --git a/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/partition.hypara b/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/partition.hypara index 36ee452..1739f4c 100644 --- a/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/partition.hypara +++ b/TwoD_Plate_Laminar_Ma5_Struct_1CPU/bin/partition.hypara @@ -8,16 +8,16 @@ // 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). -int pgridtype = 1; -int maxproc = 1; +int pgridtype = 1; +int maxproc = 1; -string original_grid_file = "./grid/plate_137_97.fts"; -string partition_grid_file = "./grid/plate_137_97.fts"; +string original_grid_file = "./grid/plate_137_97.fts"; +string partition_grid_file = "./grid/plate_137_97.fts"; // Number of multi-grid levels, ONLY used for structured grid. // 1 -- single level, 2 -- 2 level, N -- N level, ..., et al. -int numberOfMultigrid = 1; +int numberOfMultigrid = 1; diff --git a/TwoD_Plate_Laminar_Struct_1CPU/bin/cfd_para_subsonic.hypara b/TwoD_Plate_Laminar_Struct_1CPU/bin/cfd_para_subsonic.hypara index 4c3dc1b..1f4dc59 100644 --- a/TwoD_Plate_Laminar_Struct_1CPU/bin/cfd_para_subsonic.hypara +++ b/TwoD_Plate_Laminar_Struct_1CPU/bin/cfd_para_subsonic.hypara @@ -7,19 +7,19 @@ // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved. -int maxSimuStep = 150000; +int maxSimuStep = 150000; -int intervalStepFlow = 1000; -int intervalStepPlot = 1000; -int intervalStepForce = 100; -int intervalStepRes = 10; +int intervalStepFlow = 1000; +int intervalStepPlot = 1000; +int intervalStepForce = 100; +int intervalStepRes = 10; // ifLowSpeedPrecon: precondition to accelerate convergence for low speed flow. // ONLY available for unstructured solver! // 0 -- no precondition process (default, mach > 0.2). // 1 -- carry out precondition process ( mach number < 0.2 ). -int ifLowSpeedPrecon = 0; +int ifLowSpeedPrecon = 0; ######################################################################### # Inflow Parameter # @@ -38,30 +38,30 @@ int ifLowSpeedPrecon = 0; // forceRefenenceLength, forceRefenenceArea: Reference length and area, independent to grid scale. // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. -double refMachNumber = 0.1; -double attackd = 0.00; -double angleSlide = 0.00; +double refMachNumber = 0.1; +double attackd = 0.00; +double angleSlide = 0.00; -int inflowParaType = 0; -double refReNumber = 2.0e5; -double refDimensionalTemperature = 288.15; +int inflowParaType = 0; +double refReNumber = 2.0e5; +double refDimensionalTemperature = 288.15; -//int inflowParaType = 1; -//double height = 0.001; +//int inflowParaType = 1; +//double height = 0.001; -double gridScaleFactor = 1.0; +double gridScaleFactor = 1.0; double forceRefenenceLengthSpanWise = 1.0; // unit of meter. -double forceRefenenceLength = 1.0; // unit of meter. -double forceRefenenceArea = 1.0; // unit of meter^2 -double TorqueRefX = 0.0; // unit of meter. -double TorqueRefY = 0.0; // unit of meter. -double TorqueRefZ = 0.0; // unit of meter. +double forceRefenenceLength = 1.0; // unit of meter. +double forceRefenenceArea = 1.0; // unit of meter^2 +double TorqueRefX = 0.0; // unit of meter. +double TorqueRefY = 0.0; // unit of meter. +double TorqueRefZ = 0.0; // unit of meter. #******************************************************************* # Physical models * #******************************************************************* -// iviscous: Viscous model +// viscousType: Viscous model // 0 - Euler // 1 - Lamilar // 3 - 1eq turbulent @@ -75,22 +75,22 @@ double TorqueRefZ = 0.0; // unit of meter. // 2 - DDES; // 3 - IDDES; -//int iviscous = 0; -//string viscousName = "Euler"; +//int viscousType = 0; +//string viscousName = "Euler"; -int viscousType = 1; -string viscousName = "laminar"; +int viscousType = 1; +string viscousName = "laminar"; -//int iviscous = 3; -//string viscousName = "1eq-sa"; +//int viscousType = 3; +//string viscousName = "1eq-sa"; -//int iviscous = 4; -//string viscousName = "2eq-kw-menter-sst"; +//int viscousType = 4; +//string viscousName = "2eq-kw-menter-sst"; -int DESType = 0; +int DESType = 0; -int roeEntropyFixMethod = 2; -double roeEntropyScale = 1.0; +int roeEntropyFixMethod = 2; +double roeEntropyScale = 1.0; ######################################################################### # Spatial Discretisation # ######################################################################### @@ -101,7 +101,7 @@ double roeEntropyScale = 1.0; // - "3rdsmooth", "smooth" // - "nolim" - no limiter -string str_limiter_name = "nolim"; +string str_limiter_name = "nolim"; #******************************************************************* # UnStruct Solver * @@ -113,8 +113,8 @@ string str_limiter_name = "nolim"; // venkatCoeff: Coefficient of vencat limiter, when uns_limiter_name = 'vencat' // The smaller the value, the more robust it is. -string uns_limiter_name = "vencat"; -double venkatCoeff = 50.0; +string uns_limiter_name = "vencat"; +double venkatCoeff = 50.0; ######################################################################### # Temporal Discretisation # @@ -128,11 +128,11 @@ double venkatCoeff = 50.0; // 1 : is recommended for structured solver. // 1-3: is recommended for unstructured solver. -int iunsteady = 0; +int iunsteady = 0; -double CFLEnd = 100.0; +double CFLEnd = 100.0; -int nLUSGSSweeps = 1; +int nLUSGSSweeps = 1; ######################################################################### # Multi-Grid parameters # @@ -144,8 +144,8 @@ int nLUSGSSweeps = 1; // Multi-Grid : Number of steps computing on coarse grid, during flow initialization. // Single-Grid: Number of steps computing using first-order with vanleer, during flow initialization. -int nMGLevel = 1; -int flowInitStep = 100; +int nMGLevel = 1; +int flowInitStep = 100; ######################################################################### @@ -158,8 +158,8 @@ int flowInitStep = 100; // Please use 'rae2822_hybrid2d__4.fts' here! // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. -string gridfile = "./grid/flat_laminar_73_81.fts"; -int isPlotVolumeField = 0; +string gridfile = "./grid/flat_laminar_73_81.fts"; +int isPlotVolumeField = 0; // ---------------- advanced Parameters, DO NOT care it ----------- @@ -172,8 +172,8 @@ int isPlotVolumeField = 0; // -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21) // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!. // Arriables order must from small to larger. -int nVisualVariables = 8; -int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; +int nVisualVariables = 8; +int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // limitVariables: limit model. // 0 - limit only for pressure and denstiny, then get the min value @@ -184,10 +184,10 @@ int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // reconmeth: // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 1 - Q+, Q- use the min limiter coefficients of left and right cell. -int reconmeth = 1; -int limitVariables = 0; -int limitVector = 0; +int reconmeth = 1; +int limitVariables = 0; +int limitVector = 0; -double MUSCLCoefXk = 0.333333; +double MUSCLCoefXk = 0.333333; diff --git a/TwoD_Plate_Laminar_Struct_1CPU/bin/grid_para.hypara b/TwoD_Plate_Laminar_Struct_1CPU/bin/grid_para.hypara index da1ffb3..5076beb 100644 --- a/TwoD_Plate_Laminar_Struct_1CPU/bin/grid_para.hypara +++ b/TwoD_Plate_Laminar_Struct_1CPU/bin/grid_para.hypara @@ -17,17 +17,17 @@ // 6 -- Ustar, mgrid.in. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 8 -- GMSH, *.msh. -int gridtype = 1; -int axisup = 1; -int from_gtype = 3; +int gridtype = 1; +int axisup = 1; +int from_gtype = 3; ######################################################################### # 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. -string from_gfile = "./grid/flat_laminar_73_81.grd"; -string out_gfile = "./grid/flat_laminar_73_81.fts"; +string from_gfile = "./grid/flat_laminar_73_81.grd"; +string out_gfile = "./grid/flat_laminar_73_81.fts"; diff --git a/TwoD_Plate_Laminar_Struct_1CPU/bin/key.hypara b/TwoD_Plate_Laminar_Struct_1CPU/bin/key.hypara index 08dcaa5..2322a33 100644 --- a/TwoD_Plate_Laminar_Struct_1CPU/bin/key.hypara +++ b/TwoD_Plate_Laminar_Struct_1CPU/bin/key.hypara @@ -13,29 +13,29 @@ string defaultParaFile = "./bin/cfd_para.hypara"; // 2 -- Wall distance computation for turb-solver. // 3 -- Grid partition. // 4 -- Knowledge repository / examples of PHengLEI-API. -int ndim = 2; -int nparafile = 1; -int nsimutask = 0; -string parafilename="./bin/cfd_para_subsonic.hypara"; -//string parafilename = "./bin/cfd_para_transonic.hypara"; -//string parafilename = "./bin/cfd_para_supersonic.hypara"; -//string parafilename = "./bin/cfd_para_hypersonic.hypara"; -//string parafilename = "./bin/incompressible.hypara"; -//int nsimutask = 1; -//string parafilename = "./bin/grid_para.hypara"; -//int nsimutask = 2; -//string parafilename = "./bin/cfd_para.hypara"; -//int nsimutask = 3; -//string parafilename = "./bin/partition.hypara"; -//int nsimutask = 4; -//string parafilename = "./bin/repository.hypara"; -//int nsimutask = 5; -//string parafilename = "./bin/overset_grid_view.hypara"; -//int nsimutask = 99; -//string parafilename = "./bin/post_processing.hypara"; +int ndim = 2; +int nparafile = 1; +int nsimutask = 0; +string parafilename = "./bin/cfd_para_subsonic.hypara"; +//string parafilename = "./bin/cfd_para_transonic.hypara"; +//string parafilename = "./bin/cfd_para_supersonic.hypara"; +//string parafilename = "./bin/cfd_para_hypersonic.hypara"; +//string parafilename = "./bin/incompressible.hypara"; +//int nsimutask = 1; +//string parafilename = "./bin/grid_para.hypara"; +//int nsimutask = 2; +//string parafilename = "./bin/cfd_para.hypara"; +//int nsimutask = 3; +//string parafilename = "./bin/partition.hypara"; +//int nsimutask = 4; +//string parafilename = "./bin/repository.hypara"; +//int nsimutask = 5; +//string parafilename = "./bin/overset_grid_view.hypara"; +//int nsimutask = 99; +//string parafilename = "./bin/post_processing.hypara"; // ---------------- advanced Parameters, DO NOT care it ----------- -int iovrlap = 0; -int numberOfGridProcessor = 0; +int iovrlap = 0; +int numberOfGridProcessor = 0; // ATP read -string parafilename1 = "./bin/cfd_para.hypara" -string parafilename2 = "./bin/cfd_para.hypara"; +string parafilename1 = "./bin/cfd_para.hypara" +string parafilename2 = "./bin/cfd_para.hypara"; diff --git a/TwoD_Plate_Laminar_Struct_1CPU/bin/partition.hypara b/TwoD_Plate_Laminar_Struct_1CPU/bin/partition.hypara index e0d31b0..ba8865f 100644 --- a/TwoD_Plate_Laminar_Struct_1CPU/bin/partition.hypara +++ b/TwoD_Plate_Laminar_Struct_1CPU/bin/partition.hypara @@ -8,16 +8,16 @@ // 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). -int pgridtype = 1; -int maxproc = 1; +int pgridtype = 1; +int maxproc = 1; -string original_grid_file = "./grid/flat_laminar_73_81.fts"; -string partition_grid_file = "./grid/flat_laminar_73_81.fts"; +string original_grid_file = "./grid/flat_laminar_73_81.fts"; +string partition_grid_file = "./grid/flat_laminar_73_81.fts"; // Number of multi-grid levels, ONLY used for structured grid. // 1 -- single level, 2 -- 2 level, N -- N level, ..., et al. -int numberOfMultigrid = 1; +int numberOfMultigrid = 1; diff --git a/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/cfd_para_supersonic.hypara b/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/cfd_para_supersonic.hypara index ceb1692..a7fe16d 100644 --- a/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/cfd_para_supersonic.hypara +++ b/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/cfd_para_supersonic.hypara @@ -7,12 +7,12 @@ // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved. -int maxSimuStep = 20000; +int maxSimuStep = 20000; -int intervalStepFlow = 2000; -int intervalStepPlot = 2000; -int intervalStepForce = 100; -int intervalStepRes = 10; +int intervalStepFlow = 2000; +int intervalStepPlot = 2000; +int intervalStepForce = 100; +int intervalStepRes = 10; ######################################################################### # Inflow Parameter # @@ -39,37 +39,37 @@ int intervalStepRes = 10; // forceRefenenceLength, forceRefenenceArea: Reference length and area, independent to grid scale. // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. -double refMachNumber = 5.00; -double attackd = 0.00; -double angleSlide = 0.00; +double refMachNumber = 5.00; +double attackd = 0.00; +double angleSlide = 0.00; -double wallTemperature = 327.36; -int dump_Q = 0; +double wallTemperature = 327.36; +int dump_Q = 0; -int inflowParaType = 0; -double refReNumber = 1.5e7; -double refDimensionalTemperature = 300.33; +int inflowParaType = 0; +double refReNumber = 1.5e7; +double refDimensionalTemperature = 300.33; -//int inflowParaType = 1; -//double height = 0.001; +//int inflowParaType = 1; +//double height = 0.001; -//int inflowParaType = 2; -//double refDimensionalTemperature = 6051.024; //the total temperature, T*(1+(gama0-1)*M*M/2). -//double refDimensionalPressure = 4.299696E09; //the total pressure, p*(T0/T)^(gama0/(gama0-1)). +//int inflowParaType = 2; +//double refDimensionalTemperature = 6051.024; //the total temperature, T*(1+(gama0-1)*M*M/2). +//double refDimensionalPressure = 4.299696E09; //the total pressure, p*(T0/T)^(gama0/(gama0-1)). -double gridScaleFactor = 0.001; +double gridScaleFactor = 0.001; double forceRefenenceLengthSpanWise = 1.0; // unit of meter. -double forceRefenenceLength = 1.0; // unit of meter. -double forceRefenenceArea = 2.0; // unit of meter^2 -double TorqueRefX = 0.0; // unit of meter. -double TorqueRefY = 0.0; // unit of meter. -double TorqueRefZ = 0.0; // unit of meter. +double forceRefenenceLength = 1.0; // unit of meter. +double forceRefenenceArea = 2.0; // unit of meter^2 +double TorqueRefX = 0.0; // unit of meter. +double TorqueRefY = 0.0; // unit of meter. +double TorqueRefZ = 0.0; // unit of meter. #******************************************************************* # Physical models * #******************************************************************* -// iviscous: Viscous model +// viscousType: Viscous model // 0 - Euler // 1 - Lamilar // 3 - 1eq turbulent @@ -83,22 +83,22 @@ double TorqueRefZ = 0.0; // unit of meter. // 2 - DDES; // 3 - IDDES; -//int iviscous = 0; -//string viscousName = "Euler"; +//int viscousType = 0; +//string viscousName = "Euler"; -//int iviscous = 1; -//string viscousName = "laminar"; +//int viscousType = 1; +//string viscousName = "laminar"; -//int iviscous = 3; -//string viscousName = "1eq-sa"; +//int viscousType = 3; +//string viscousName = "1eq-sa"; int viscousType = 4; -string viscousName = "2eq-kw-menter-sst"; +string viscousName = "2eq-kw-menter-sst"; -int DESType = 0; +int DESType = 0; -int roeEntropyFixMethod = 2; -double roeEntropyScale = 1.0; +int roeEntropyFixMethod = 2; +double roeEntropyScale = 1.0; ######################################################################### # Spatial Discretisation # ######################################################################### @@ -111,8 +111,8 @@ double roeEntropyScale = 1.0; // str_limiter_name: Limiter of struct grid // - "minmod", "3rd_minmod_smooth" -string inviscidSchemeName = "roe"; -string str_limiter_name = "smooth"; +string inviscidSchemeName = "roe"; +string str_limiter_name = "smooth"; #******************************************************************* # UnStruct Solver * @@ -128,9 +128,9 @@ string str_limiter_name = "smooth"; // venkatCoeff: Coefficient of vencat limiter, when uns_limiter_name = 'vencat' // The smaller the value, the more robust it is. -string uns_scheme_name = "vanleer"; -string uns_limiter_name = "vencat"; -double venkatCoeff = 0.5; +string uns_scheme_name = "vanleer"; +string uns_limiter_name = "vencat"; +double venkatCoeff = 0.5; ######################################################################### # Temporal Discretisation # @@ -142,11 +142,11 @@ double venkatCoeff = 0.5; // The bigger the value, the convergence faster but lower robustness. // ktmax: The lower the value, the more robustness, 1.0e5 ~ 1.0e10. -int iunsteady = 0; +int iunsteady = 0; -double CFLEnd = 50.0; +double CFLEnd = 50.0; -double ktmax = 1.0e10; +double ktmax = 1.0e10; ######################################################################### @@ -159,8 +159,8 @@ double ktmax = 1.0e10; // Please use 'rae2822_hybrid2d__4.fts' here! // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. -string gridfile = "./grid/Mesh4_137_97.fts"; -int isPlotVolumeField = 0; +string gridfile = "./grid/Mesh4_137_97.fts"; +int isPlotVolumeField = 0; @@ -174,8 +174,8 @@ int isPlotVolumeField = 0; // -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21) // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!. // Arriables order must from small to larger. -int nVisualVariables = 8; -int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; +int nVisualVariables = 8; +int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // limitVariables: limit model. // 0 - limit only for pressure and denstiny, then get the min value @@ -186,8 +186,8 @@ int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; // reconmeth: // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 1 - Q+, Q- use the min limiter coefficients of left and right cell. -int reconmeth = 0; -int limitVariables = 0; -int limitVector = 1; +int reconmeth = 0; +int limitVariables = 0; +int limitVector = 1; double MUSCLCoefXk = 0.333333; diff --git a/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/grid_para.hypara b/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/grid_para.hypara index 2510da2..b641685 100644 --- a/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/grid_para.hypara +++ b/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/grid_para.hypara @@ -17,17 +17,17 @@ // 6 -- Ustar, mgrid.in. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 8 -- GMSH, *.msh. -int gridtype = 1; -int axisup = 1; -int from_gtype = 3; +int gridtype = 1; +int axisup = 1; +int from_gtype = 3; ######################################################################### # 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. -string from_gfile = "./grid/Mesh4_137_97.grd"; -string out_gfile = "./grid/Mesh4_137_97.fts"; +string from_gfile = "./grid/Mesh4_137_97.grd"; +string out_gfile = "./grid/Mesh4_137_97.fts"; diff --git a/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/key.hypara b/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/key.hypara index 89387e3..8e2e44e 100644 --- a/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/key.hypara +++ b/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/key.hypara @@ -13,30 +13,30 @@ string defaultParaFile = "./bin/cfd_para.hypara"; // 2 -- Wall distance computation for turb-solver. // 3 -- Grid partition. // 4 -- Knowledge repository / examples of PHengLEI-API. -int ndim = 2; -int nparafile = 1; -int nsimutask = 0; -string parafilename = "./bin/cfd_para_supersonic.hypara"; -//string parafilename = "./bin/cfd_para_transonic.hypara"; -//string parafilename = "./bin/cfd_para_supersonic.hypara"; -//string parafilename = "./bin/cfd_para_hypersonic.hypara"; -//string parafilename = "./bin/incompressible.hypara"; -//int nsimutask = 1; -//string parafilename = "./bin/grid_para.hypara"; -//int nsimutask = 2; -//string parafilename = "./bin/cfd_para.hypara"; -//int nsimutask = 3; -//string parafilename = "./bin/partition.hypara"; -//int nsimutask = 4; -//string parafilename = "./bin/repository.hypara"; -//int nsimutask = 5; -//string parafilename = "./bin/overset_grid_view.hypara"; -//int nsimutask = 99; -//string parafilename = "./bin/post_processing.hypara"; +int ndim = 2; +int nparafile = 1; +int nsimutask = 0; +string parafilename = "./bin/cfd_para_supersonic.hypara"; +//string parafilename = "./bin/cfd_para_transonic.hypara"; +//string parafilename = "./bin/cfd_para_supersonic.hypara"; +//string parafilename = "./bin/cfd_para_hypersonic.hypara"; +//string parafilename = "./bin/incompressible.hypara"; +//int nsimutask = 1; +//string parafilename = "./bin/grid_para.hypara"; +//int nsimutask = 2; +//string parafilename = "./bin/cfd_para.hypara"; +//int nsimutask = 3; +//string parafilename = "./bin/partition.hypara"; +//int nsimutask = 4; +//string parafilename = "./bin/repository.hypara"; +//int nsimutask = 5; +//string parafilename = "./bin/overset_grid_view.hypara"; +//int nsimutask = 99; +//string parafilename = "./bin/post_processing.hypara"; // ---------------- advanced Parameters, DO NOT care it ----------- -int iovrlap = 0; -int numberOfGridProcessor = 0; +int iovrlap = 0; +int numberOfGridProcessor = 0; // ATP read -string parafilename1 = "" -string parafilename2 = ""; +string parafilename1 = "" +string parafilename2 = ""; diff --git a/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/partition.hypara b/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/partition.hypara index e46087c..6c21b82 100644 --- a/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/partition.hypara +++ b/TwoD_Plate_SST_Ma5_Struct_1CPU/bin/partition.hypara @@ -8,16 +8,16 @@ // 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). -int pgridtype = 1; -int maxproc = 1; +int pgridtype = 1; +int maxproc = 1; -string original_grid_file = "./grid/Mesh4_137_97.fts"; -string partition_grid_file = "./grid/Mesh4_137_97.fts"; +string original_grid_file = "./grid/Mesh4_137_97.fts"; +string partition_grid_file = "./grid/Mesh4_137_97.fts"; // Number of multi-grid levels, ONLY used for structured grid. // 1 -- single level, 2 -- 2 level, N -- N level, ..., et al. -int numberOfMultigrid = 1; +int numberOfMultigrid = 1; diff --git a/TwoD_Plate_Subsonic_TotalPressTempBC_Structure_SA_4CPU/bin/cfd_para_subsonic.hypara b/TwoD_Plate_Subsonic_TotalPressTempBC_Structure_SA_4CPU/bin/cfd_para_subsonic.hypara index 6318b0b..334f442 100644 --- a/TwoD_Plate_Subsonic_TotalPressTempBC_Structure_SA_4CPU/bin/cfd_para_subsonic.hypara +++ b/TwoD_Plate_Subsonic_TotalPressTempBC_Structure_SA_4CPU/bin/cfd_para_subsonic.hypara @@ -84,16 +84,16 @@ double TorqueRefZ = 0.0; // unit of meter. // 2 -- DDES. // 3 -- IDDES. -//int viscousType = 0; +//int viscousType = 0; //string viscousName = "Euler"; -//int viscousType = 1; +//int viscousType = 1; //string viscousName = "laminar"; -int viscousType = 3; +int viscousType = 3; string viscousName = "1eq-sa"; -//int viscousType = 4; +//int viscousType = 4; //string viscousName = "2eq-kw-menter-sst"; int DESType = 0; @@ -110,7 +110,7 @@ double roeEntropyScale = 1.0; // -- "3rdsmooth", "smooth". // -- "nolim", no limiter. -string str_limiter_name = "smooth"; +string str_limiter_name = "smooth"; #******************************************************************* # UnStruct Solver * diff --git a/TwoD_Rae2822_SST_Struct/bin/cfd_para_transonic.hypara b/TwoD_Rae2822_SST_Struct/bin/cfd_para_transonic.hypara index 28b2a02..1db8911 100644 --- a/TwoD_Rae2822_SST_Struct/bin/cfd_para_transonic.hypara +++ b/TwoD_Rae2822_SST_Struct/bin/cfd_para_transonic.hypara @@ -80,17 +80,17 @@ double TorqueRefZ = 0.0; // unit of meter. // 2 -- DDES. // 3 -- IDDES. -//int viscousType = 0; +//int viscousType = 0; //string viscousName = "Euler"; -//int viscousType = 1; +//int viscousType = 1; //string viscousName = "laminar"; -//int viscousType = 3; +//int viscousType = 3; //string viscousName = "1eq-sa"; -int viscousType = 4; -string viscousName = "2eq-kw-menter-sst"; +int viscousType = 4; +string viscousName = "2eq-kw-menter-sst"; int DESType = 0; diff --git a/TwoD_Rae2822_SST_Struct/bin/grid_para.hypara b/TwoD_Rae2822_SST_Struct/bin/grid_para.hypara index f0f354f..77c482f 100644 --- a/TwoD_Rae2822_SST_Struct/bin/grid_para.hypara +++ b/TwoD_Rae2822_SST_Struct/bin/grid_para.hypara @@ -17,17 +17,17 @@ // 6 -- Ustar, mgrid.in. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 8 -- GMSH, *.msh. -int gridtype = 1; -int axisup = 1; -int from_gtype = 3; +int gridtype = 1; +int axisup = 1; +int from_gtype = 3; ######################################################################### # 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. -string from_gfile = "./grid/rae2822_vis2d.grd"; -string out_gfile = "./grid/rae2822_vis2d.fts"; +string from_gfile = "./grid/rae2822_vis2d.grd"; +string out_gfile = "./grid/rae2822_vis2d.fts"; diff --git a/TwoD_Rae2822_SST_Struct/bin/key.hypara b/TwoD_Rae2822_SST_Struct/bin/key.hypara index f347f74..718ec4f 100644 --- a/TwoD_Rae2822_SST_Struct/bin/key.hypara +++ b/TwoD_Rae2822_SST_Struct/bin/key.hypara @@ -15,37 +15,37 @@ string defaultParaFile = "./bin/cfd_para.hypara"; // 2 -- Wall distance computation for turb-solver. // 3 -- Grid partition. // 4 -- Knowledge repository / examples of PHengLEI-API. -int ndim = 2; -int nparafile = 1; +int ndim = 2; +int nparafile = 1; -int nsimutask = 0; -string parafilename = "./bin/cfd_para_transonic.hypara"; -//string parafilename = "./bin/cfd_para_transonic.hypara"; -//string parafilename = "./bin/cfd_para_supersonic.hypara"; -//string parafilename = "./bin/cfd_para_hypersonic.hypara"; -//string parafilename = "./bin/incompressible.hypara"; +int nsimutask = 0; +string parafilename = "./bin/cfd_para_transonic.hypara"; +//string parafilename = "./bin/cfd_para_transonic.hypara"; +//string parafilename = "./bin/cfd_para_supersonic.hypara"; +//string parafilename = "./bin/cfd_para_hypersonic.hypara"; +//string parafilename = "./bin/incompressible.hypara"; -//int nsimutask = 1; -//string parafilename = "./bin/grid_para.hypara"; +//int nsimutask = 1; +//string parafilename = "./bin/grid_para.hypara"; -//int nsimutask = 2; -//string parafilename = "./bin/cfd_para.hypara"; +//int nsimutask = 2; +//string parafilename = "./bin/cfd_para.hypara"; -//int nsimutask = 3; -//string parafilename = "./bin/partition.hypara"; +//int nsimutask = 3; +//string parafilename = "./bin/partition.hypara"; -//int nsimutask = 4; -//string parafilename = "./bin/repository.hypara"; +//int nsimutask = 4; +//string parafilename = "./bin/repository.hypara"; -//int nsimutask = 5; -//string parafilename = "./bin/overset_grid_view.hypara"; +//int nsimutask = 5; +//string parafilename = "./bin/overset_grid_view.hypara"; -//int nsimutask = 99; -//string parafilename = "./bin/post_processing.hypara"; +//int nsimutask = 99; +//string parafilename = "./bin/post_processing.hypara"; // ---------------- advanced Parameters, DO NOT care it ----------- -int iovrlap = 0; -int numberOfGridProcessor = 0; +int iovrlap = 0; +int numberOfGridProcessor = 0; // ATP read -//@string parafilename1 = "" -//@string parafilename2 = ""; +//@string parafilename1 = "" +//@string parafilename2 = ""; diff --git a/TwoD_Rae2822_SST_Struct/bin/partition.hypara b/TwoD_Rae2822_SST_Struct/bin/partition.hypara index dfe5945..d93ab9f 100644 --- a/TwoD_Rae2822_SST_Struct/bin/partition.hypara +++ b/TwoD_Rae2822_SST_Struct/bin/partition.hypara @@ -8,16 +8,16 @@ // 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). -int pgridtype = 1; -int maxproc = 4; +int pgridtype = 1; +int maxproc = 4; -string original_grid_file = "./grid/rae2822_vis2d.fts"; -string partition_grid_file = "./grid/rae2822_vis2d__4.fts"; +string original_grid_file = "./grid/rae2822_vis2d.fts"; +string partition_grid_file = "./grid/rae2822_vis2d__4.fts"; // Number of multi-grid levels, ONLY used for structured grid. // 1 -- single level, 2 -- 2 level, N -- N level, ..., et al. -int numberOfMultigrid = 1; +int numberOfMultigrid = 1;