update v7628

This commit is contained in:
hechao 2021-04-15 09:34:10 +08:00
parent b7c800cbc0
commit e53764020a
39 changed files with 470 additions and 470 deletions

View File

@ -264,11 +264,11 @@ int compressible = 1;
// condition is radiation equilibrium temperature, and 0.8 is the default value. // condition is radiation equilibrium temperature, and 0.8 is the default value.
double refMachNumber = 0.20; double refMachNumber = 0.20;
double attackd = 0.00; double attackd = 0.00;
double angleSlide = 0.00; double angleSlide = 0.00;
int inflowParaType = 0; int inflowParaType = 0;
double refReNumber = 3900; double refReNumber = 3900;
double refDimensionalTemperature = 288.15; double refDimensionalTemperature = 288.15;
double freestream_vibration_temperature = 10000.00; double freestream_vibration_temperature = 10000.00;
@ -288,9 +288,9 @@ double freestream_vibration_temperature = 10000.00;
//double refDimensionalPressure = 1.01313E05; //double refDimensionalPressure = 1.01313E05;
double wallTemperature = -1.0; 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 gridScaleFactor = 1.0;
double forceRefenenceLengthSpanWise = 1.0; // unit of meter. 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". // -- "vanalbada", "vanleer", "minmod", "smooth", "minvan", "3rdsmooth", "3rd_minmod_smooth".
// -- "nolim", no limiter. // -- "nolim", no limiter.
// -- "vanalbada_clz", clz supersonic version. // -- "vanalbada_clz", clz supersonic version.
string inviscidSchemeName = "roe"; string inviscidSchemeName = "roe";
string str_limiter_name = "vanalbada"; string str_limiter_name = "vanalbada";
#******************************************************************* #*******************************************************************
@ -383,7 +383,7 @@ string str_limiter_name = "vanalbada";
//string viscousName = "Euler"; //string viscousName = "Euler";
int viscousType = 1; int viscousType = 1;
string viscousName = "laminar"; string viscousName = "laminar";
//int viscousType = 3; //int viscousType = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
@ -399,9 +399,9 @@ string uns_vis_name = "test";
string gradientName = "ggnode"; string gradientName = "ggnode";
int ivencat = 7; int ivencat = 7;
double venkatCoeff = 5.0; double venkatCoeff = 5.0;
int reconmeth = 1; int reconmeth = 1;
int limitVariables = 0; int limitVariables = 0;
int limitVector = 0; int limitVector = 0;
double limit_angle = 0; double limit_angle = 0;
double skewnessAngle = 60.0; double skewnessAngle = 60.0;
@ -474,14 +474,14 @@ int iSimplifyViscousTerm = 1;
int ifLocalTimeStep = 0; int ifLocalTimeStep = 0;
double CFLStart = 0.01; double CFLStart = 0.01;
double CFLEnd = 10.0; double CFLEnd = 10.0;
int CFLVaryStep = 500; int CFLVaryStep = 500;
double ktmax = 1.0e10; double ktmax = 1.0e10;
int swapDq = 1; int swapDq = 1;
int nLUSGSSweeps = 1; int nLUSGSSweeps = 1;
double LUSGSTolerance = 0.01; double LUSGSTolerance = 0.01;
int order = 2; int order = 2;
double visl_min = 0.01; double visl_min = 0.01;

View File

@ -93,16 +93,16 @@ double TorqueRefZ = 0.0; // unit of meter.
// 3 -- IDDES. // 3 -- IDDES.
//int viscousType = 0; //int viscousType = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
int viscousType = 1; int viscousType = 1;
string viscousName = "laminar"; string viscousName = "laminar";
//int viscousType = 3; //int viscousType = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
//int viscousType = 4; //int viscousType = 4;
//string viscousName = "2eq-kw-menter-sst"; //string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;
@ -264,4 +264,4 @@ double catalyticCoef = 1.0;
string gasfile = "DK5"; string gasfile = "DK5";
string speciesName = "O, O2, NO, N, N2"; string speciesName = "O, O2, NO, N, N2";
string initMassFraction = "0.07955, 0.134, 0.0509, 1.0e-9, 0.73555"; string initMassFraction = "0.07955, 0.134, 0.0509, 1.0e-9, 0.73555";
int ifStartFromPerfectGasResults = 0; int ifStartFromPerfectGasResults = 0;

View File

@ -81,16 +81,16 @@ double TorqueRefZ = 0.0; // unit of meter.
// 3 -- IDDES. // 3 -- IDDES.
//int viscousType = 0; //int viscousType = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
//int viscousType = 1; //int viscousType = 1;
//string viscousName = "laminar"; //string viscousName = "laminar";
//int viscousType = 3; //int viscousType = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
int viscousType = 4; int viscousType = 4;
string viscousName = "2eq-kw-menter-sst"; string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;

View File

@ -15,10 +15,10 @@ string defaultParaFile = "./bin/cfd_para.hypara";
// 2 -- Wall distance computation for turb-solver. // 2 -- Wall distance computation for turb-solver.
// 3 -- Grid partition. // 3 -- Grid partition.
// 4 -- Knowledge repository / examples of PHengLEI-API. // 4 -- Knowledge repository / examples of PHengLEI-API.
int ndim = 3; int ndim = 3;
int nparafile = 1; 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_transonic.hypara"; //string parafilename = "./bin/cfd_para_transonic.hypara";
//string parafilename = "./bin/cfd_para_supersonic.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"; //string parafilename = "./bin/post_processing.hypara";
// ---------------- Advanced Parameters, DO NOT care it ---------------- // ---------------- Advanced Parameters, DO NOT care it ----------------
int iovrlap = 0; int iovrlap = 0;
int numberOfGridProcessor = 0; int numberOfGridProcessor = 0;
// ATP read // ATP read
//@string parafilename1 = "" //@string parafilename1 = ""

View File

@ -8,11 +8,11 @@
// original_grid_file: Original grid file that want to be divided(PHengLEI type, *.fts). // original_grid_file: Original grid file that want to be divided(PHengLEI type, *.fts).
// partition_grid_file: Target partition grid file(PHengLEI type, *.fts). // partition_grid_file: Target partition grid file(PHengLEI type, *.fts).
int pgridtype = 1; int pgridtype = 1;
int maxproc = 4; int maxproc = 4;
string original_grid_file = "./grid/m6_str.fts"; string original_grid_file = "./grid/m6_str.fts";
string partition_grid_file = "./grid/m6_str__4.fts"; string partition_grid_file = "./grid/m6_str__4.fts";
// numberOfMultigrid: Number of multi-grid levels, ONLY used for structured grid. // numberOfMultigrid: Number of multi-grid levels, ONLY used for structured grid.
// 1 -- single level. // 1 -- single level.

View File

@ -7,12 +7,12 @@
// intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved.
// intervalStepRes: the step intervals for residual 'res.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved.
int maxSimuStep = 50000; int maxSimuStep = 50000;
int intervalStepFlow = 1000; int intervalStepFlow = 1000;
int intervalStepPlot = 1000; int intervalStepPlot = 1000;
int intervalStepForce = 100; int intervalStepForce = 100;
int intervalStepRes = 10; int intervalStepRes = 10;
######################################################################### #########################################################################
# Inflow Parameter # # Inflow Parameter #
@ -33,17 +33,17 @@ int intervalStepRes = 10;
// TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale.
double refMachNumber = 0.799; double refMachNumber = 0.799;
double attackd = 2.26; double attackd = 2.26;
double angleSlide = 0.00; double angleSlide = 0.00;
int inflowParaType = 0; int inflowParaType = 0;
double refReNumber = 9.0e6; double refReNumber = 9.0e6;
double refDimensionalTemperature = 288.15; double refDimensionalTemperature = 288.15;
//int inflowParaType = 1; //int inflowParaType = 1;
//double height = 0.001; //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 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 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; // 2 - DDES;
// 3 - IDDES; // 3 - IDDES;
//int iviscous = 0; //int iviscous = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
//int iviscous = 1; //int iviscous = 1;
//string viscousName = "laminar"; //string viscousName = "laminar";
int viscousType = 3; int viscousType = 3;
string viscousName = "1eq-sa"; string viscousName = "1eq-sa";
//int iviscous = 4; //int iviscous = 4;
//string viscousName = "2eq-kw-menter-sst"; //string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;
@ -102,7 +102,7 @@ double roeEntropyScale = 1.0;
// - "3rdsmooth", "smooth" // - "3rdsmooth", "smooth"
// - "nolim" - no limiter // - "nolim" - no limiter
string inviscidSchemeName = "roe"; string inviscidSchemeName = "roe";
string str_limiter_name = "smooth"; string str_limiter_name = "smooth";
#******************************************************************* #*******************************************************************
@ -121,7 +121,7 @@ string str_limiter_name = "smooth";
string uns_scheme_name = "roe"; string uns_scheme_name = "roe";
string uns_limiter_name = "vencat"; string uns_limiter_name = "vencat";
double venkatCoeff = 5.0; double venkatCoeff = 5.0;
######################################################################### #########################################################################
# Temporal Discretisation # # Temporal Discretisation #
@ -135,11 +135,11 @@ double venkatCoeff = 5.0;
// 1 : is recommended for structured solver. // 1 : is recommended for structured solver.
// 1-3: is recommended for unstructured 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 # # Multi-Grid parameters #
@ -151,7 +151,7 @@ int nLUSGSSweeps = 1;
// Multi-Grid : Number of steps computing on coarse grid, during flow initialization. // 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. // Single-Grid: Number of steps computing using first-order with vanleer, during flow initialization.
int nMGLevel = 1; int nMGLevel = 1;
int flowInitStep = 100; int flowInitStep = 100;
@ -166,7 +166,7 @@ int flowInitStep = 100;
// isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1.
string gridfile = "./grid/NACA0012__4.fts"; 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: // reconmeth:
// 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients.
// 1 - Q+, Q- use the min limiter coefficients of left and right cell. // 1 - Q+, Q- use the min limiter coefficients of left and right cell.
int reconmeth = 1; int reconmeth = 1;
int limitVariables = 0; int limitVariables = 0;
int limitVector = 0; int limitVector = 0;

View File

@ -17,17 +17,17 @@
// 6 -- Ustar, mgrid.in. // 6 -- Ustar, mgrid.in.
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
// 8 -- GMSH, *.msh. // 8 -- GMSH, *.msh.
int gridtype = 1; int gridtype = 1;
int axisup = 1; int axisup = 1;
int from_gtype = 3; int from_gtype = 3;
######################################################################### #########################################################################
# File path # # File path #
######################################################################### #########################################################################
// from_gfile: path of original data file for unstructure grid convert from. // 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. // out_gfile: path of target file for grid convert to, *.fts type of file usually.
string from_gfile = "./grid/NACA0012.grd"; string from_gfile = "./grid/NACA0012.grd";
string out_gfile = "./grid/NACA0012.fts"; string out_gfile = "./grid/NACA0012.fts";

View File

@ -15,8 +15,8 @@ string defaultParaFile = "./bin/cfd_para.hypara";
// 2 -- Wall distance computation for turb-solver. // 2 -- Wall distance computation for turb-solver.
// 3 -- Grid partition. // 3 -- Grid partition.
// 4 -- Knowledge repository / examples of PHengLEI-API. // 4 -- Knowledge repository / examples of PHengLEI-API.
int ndim = 3; int ndim = 3;
int nparafile = 1; int nparafile = 1;
int nsimutask = 0; int nsimutask = 0;
string parafilename = "./bin/cfd_para_transonic.hypara"; string parafilename = "./bin/cfd_para_transonic.hypara";

View File

@ -8,16 +8,16 @@
// original_grid_file : original grid file that want to be divided(HyperFLOW/PHengLEI type, *.fts). // 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). // partition_grid_file : target partition grid file(HyperFLOW/PHengLEI type, *.fts).
int pgridtype = 1; int pgridtype = 1;
int maxproc = 4; int maxproc = 4;
string original_grid_file = "./grid/NACA0012.fts"; string original_grid_file = "./grid/NACA0012.fts";
string partition_grid_file = "./grid/NACA0012__4.fts"; string partition_grid_file = "./grid/NACA0012__4.fts";
// Number of multi-grid levels, ONLY used for structured grid. // Number of multi-grid levels, ONLY used for structured grid.
// 1 -- single level, 2 -- 2 level, N -- N level, ..., et al. // 1 -- single level, 2 -- 2 level, N -- N level, ..., et al.
int numberOfMultigrid = 1; int numberOfMultigrid = 1;

View File

@ -222,14 +222,14 @@ int numberOfMultigrid = 1;
// 0 -- no precondition process. (default, mach > 0.3) // 0 -- no precondition process. (default, mach > 0.3)
// 1 -- carry out precondition process. (mach number <= 0.3) // 1 -- carry out precondition process. (mach number <= 0.3)
int maxSimuStep = 20000; int maxSimuStep = 20000;
int intervalStepFlow = 1000; int intervalStepFlow = 1000;
int intervalStepPlot = 1000; int intervalStepPlot = 1000;
int intervalStepSample = 1000; int intervalStepSample = 1000;
int intervalStepForce = 100; int intervalStepForce = 100;
int intervalStepRes = 10; int intervalStepRes = 10;
int ifLowSpeedPrecon = 0; int ifLowSpeedPrecon = 0;
// compressible: // compressible:
// 0 -- incompressible flow. // 0 -- incompressible flow.
@ -296,7 +296,7 @@ double freestream_vibration_temperature = 10000.00;
//double refDimensionalPressure = 1.01313E05; //double refDimensionalPressure = 1.01313E05;
double wallTemperature = -1.0; 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 gridScaleFactor = 1.0;
@ -387,16 +387,16 @@ string str_limiter_name = "vanalbada";
// It is used to scale the default Roe entropy fix coefficients. // It is used to scale the default Roe entropy fix coefficients.
//int viscousType = 0; //int viscousType = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
//int viscousType = 1; //int viscousType = 1;
//string viscousName = "laminar"; //string viscousName = "laminar";
int viscousType = 3; int viscousType = 3;
string viscousName = "1eq-sa"; string viscousName = "1eq-sa";
//int viscousType = 4; //int viscousType = 4;
//string viscousName = "2eq-kw-menter-sst"; //string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;

View File

@ -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. // 0 -- When reconstruct face value, Q+, Q- use respective limiter coefficients.
// 1 -- Q+, Q- use the min limiter coefficients of left and right cell. // 1 -- Q+, Q- use the min limiter coefficients of left and right cell.
int reconmeth = 1; int reconmeth = 1;
int limitVariables = 0; int limitVariables = 0;
int limitVector = 0; int limitVector = 0;
double MUSCLCoefXk = 0.333333; double MUSCLCoefXk = 0.333333;

View File

@ -7,12 +7,12 @@
// intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved.
// intervalStepRes: the step intervals for residual 'res.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved.
int maxSimuStep = 25000; int maxSimuStep = 25000;
int intervalStepFlow = 1000; int intervalStepFlow = 1000;
int intervalStepPlot = 1000; int intervalStepPlot = 1000;
int intervalStepForce = 100; int intervalStepForce = 100;
int intervalStepRes = 10; int intervalStepRes = 10;
######################################################################### #########################################################################
# Inflow Parameter # # Inflow Parameter #
@ -40,15 +40,15 @@ int intervalStepRes = 10;
// TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale.
double refMachNumber = 10.00; double refMachNumber = 10.00;
double attackd = 0.00; double attackd = 0.00;
double angleSlide = 0.00; double angleSlide = 0.00;
double wallTemperature = 294.0 ; double wallTemperature = 294.0 ;
int dump_Q = 2; int dump_Q = 2;
int inflowParaType = 0; int inflowParaType = 0;
double refReNumber = 1.0e5; double refReNumber = 1.0e5;
double refDimensionalTemperature = 79.0; double refDimensionalTemperature = 79.0;
//int inflowParaType = 1; //int inflowParaType = 1;
//double height = 0.001; //double height = 0.001;
@ -84,18 +84,18 @@ double TorqueRefZ = 0.0; // unit of meter.
// 3 - IDDES; // 3 - IDDES;
//int iviscous = 0; //int iviscous = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
int viscousType = 1; int viscousType = 1;
string viscousName = "laminar"; string viscousName = "laminar";
//int iviscous = 3; //int iviscous = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
//int iviscous = 4; //int iviscous = 4;
//string viscousName = "2eq-kw-menter-sst"; //string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;
int roeEntropyFixMethod = 2; int roeEntropyFixMethod = 2;
double roeEntropyScale = 0.0001; double roeEntropyScale = 0.0001;
@ -111,7 +111,7 @@ double roeEntropyScale = 0.0001;
// str_limiter_name: Limiter of struct grid // str_limiter_name: Limiter of struct grid
// - "minmod", "3rd_minmod_smooth" // - "minmod", "3rd_minmod_smooth"
string inviscidSchemeName = "steger"; string inviscidSchemeName = "steger";
string str_limiter_name = "minmod"; string str_limiter_name = "minmod";
#******************************************************************* #*******************************************************************
@ -142,11 +142,11 @@ double venkatCoeff = 0.5;
// The bigger the value, the convergence faster but lower robustness. // The bigger the value, the convergence faster but lower robustness.
// ktmax: The lower the value, the more robustness, 1.0e5 ~ 1.0e10. // ktmax: The lower the value, the more robustness, 1.0e5 ~ 1.0e10.
int iunsteady = 0; int iunsteady = 0;
double CFLEnd = 10.0; double CFLEnd = 10.0;
int CFLVaryStep = 100; int CFLVaryStep = 100;
double ktmax = 1.0e10; 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. // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1.
string gridfile = "./grid/3dball.fts"; 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) // -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21)
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!. // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!.
// Arriables order must from small to larger. // Arriables order must from small to larger.
int nVisualVariables = 8; 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. // limitVariables: limit model.
// 0 - limit only for pressure and denstiny, then get the min value // 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: // reconmeth:
// 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients.
// 1 - Q+, Q- use the min limiter coefficients of left and right cell. // 1 - Q+, Q- use the min limiter coefficients of left and right cell.
int reconmeth = 0; int reconmeth = 0;
int limitVariables = 0; int limitVariables = 0;
int limitVector = 1; int limitVector = 1;

View File

@ -17,9 +17,9 @@
// 6 -- Ustar, mgrid.in. // 6 -- Ustar, mgrid.in.
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
// 8 -- GMSH, *.msh. // 8 -- GMSH, *.msh.
int gridtype = 1; int gridtype = 1;
int axisup = 1; int axisup = 1;
int from_gtype = 3; int from_gtype = 3;
######################################################################### #########################################################################
# File path # # File path #

View File

@ -15,7 +15,7 @@ string defaultParaFile = "./bin/cfd_para.hypara";
// 4 -- Knowledge repository / examples of PHengLEI-API. // 4 -- Knowledge repository / examples of PHengLEI-API.
int ndim = 3; int ndim = 3;
int nparafile = 1; int nparafile = 1;
int nsimutask = 0; int nsimutask = 0;
string parafilename = "./bin/cfd_para_hypersonic.hypara"; string parafilename = "./bin/cfd_para_hypersonic.hypara";
//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_supersonic.hypara";
@ -34,8 +34,8 @@ string parafilename = "./bin/cfd_para_hypersonic.hypara";
//int nsimutask = 99; //int nsimutask = 99;
//string parafilename = "./bin/post_processing.hypara"; //string parafilename = "./bin/post_processing.hypara";
// ---------------- advanced Parameters, DO NOT care it ----------- // ---------------- advanced Parameters, DO NOT care it -----------
int iovrlap = 0; int iovrlap = 0;
int numberOfGridProcessor = 0; int numberOfGridProcessor = 0;
// ATP read // ATP read
string parafilename1 = "" string parafilename1 = ""
string parafilename2 = ""; string parafilename2 = "";

View File

@ -9,7 +9,7 @@
// partition_grid_file : target partition grid file(HyperFLOW/PHengLEI type, *.fts). // partition_grid_file : target partition grid file(HyperFLOW/PHengLEI type, *.fts).
int pgridtype = 1; int pgridtype = 1;
int maxproc = 1; int maxproc = 1;
string original_grid_file = "./grid/3dball.fts"; string original_grid_file = "./grid/3dball.fts";
string partition_grid_file = "./grid/3dball.fts"; string partition_grid_file = "./grid/3dball.fts";

View File

@ -39,15 +39,15 @@ int ifLowSpeedPrecon = 0;
// TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale.
double refMachNumber = 0.2; double refMachNumber = 0.2;
double attackd = 19.0; double attackd = 19.0;
double angleSlide = 0.00; double angleSlide = 0.00;
int inflowParaType = 0; int inflowParaType = 0;
double refReNumber = 9.0e6; double refReNumber = 9.0e6;
double refDimensionalTemperature = 288.0; double refDimensionalTemperature = 288.0;
//int inflowParaType = 1; //int inflowParaType = 1;
//double height = 0.001; //double height = 0.001;
double gridScaleFactor = 1.0; double gridScaleFactor = 1.0;
@ -76,21 +76,21 @@ double TorqueRefZ = 0.0; // unit of meter.
// 3 - IDDES; // 3 - IDDES;
//int iviscous = 0; //int iviscous = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
//int iviscous = 1; //int iviscous = 1;
//string viscousName = "laminar"; //string viscousName = "laminar";
//int iviscous = 3; //int iviscous = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
int viscousType = 4; int viscousType = 4;
string viscousName = "2eq-kw-menter-sst"; string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;
int roeEntropyFixMethod = 2; int roeEntropyFixMethod = 2;
double roeEntropyScale = 1.0; double roeEntropyScale = 1.0;
######################################################################### #########################################################################
# Spatial Discretisation # # Spatial Discretisation #
######################################################################### #########################################################################
@ -128,11 +128,11 @@ double venkatCoeff = 50.0;
// 1 : is recommended for structured solver. // 1 : is recommended for structured solver.
// 1-3: is recommended for unstructured solver. // 1-3: is recommended for unstructured solver.
int iunsteady = 0; int iunsteady = 0;
double CFLEnd = 10.0; double CFLEnd = 10.0;
int nLUSGSSweeps = 1; int nLUSGSSweeps = 1;
######################################################################### #########################################################################
# Multi-Grid parameters # # Multi-Grid parameters #
@ -144,8 +144,8 @@ int nLUSGSSweeps = 1;
// Multi-Grid : Number of steps computing on coarse grid, during flow initialization. // 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. // Single-Grid: Number of steps computing using first-order with vanleer, during flow initialization.
int nMGLevel = 1; int nMGLevel = 1;
int flowInitStep = 100; int flowInitStep = 100;
######################################################################### #########################################################################
@ -158,8 +158,8 @@ int flowInitStep = 100;
// Please use 'rae2822_hybrid2d__4.fts' here! // Please use 'rae2822_hybrid2d__4.fts' here!
// isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1.
string gridfile = "./grid/30p30n_str__4.fts"; string gridfile = "./grid/30p30n_str__4.fts";
int isPlotVolumeField = 0; int isPlotVolumeField = 0;
// ---------------- advanced Parameters, DO NOT care it ----------- // ---------------- advanced Parameters, DO NOT care it -----------
@ -172,8 +172,8 @@ int isPlotVolumeField = 0;
// -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21) // -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21)
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!. // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!.
// Arriables order must from small to larger. // Arriables order must from small to larger.
int nVisualVariables = 8; 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. // limitVariables: limit model.
// 0 - limit only for pressure and denstiny, then get the min value // 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: // reconmeth:
// 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients.
// 1 - Q+, Q- use the min limiter coefficients of left and right cell. // 1 - Q+, Q- use the min limiter coefficients of left and right cell.
int reconmeth = 1; int reconmeth = 1;
int limitVariables = 0; int limitVariables = 0;
int limitVector = 0; int limitVector = 0;

View File

@ -17,9 +17,9 @@
// 6 -- Ustar, mgrid.in. // 6 -- Ustar, mgrid.in.
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
// 8 -- GMSH, *.msh. // 8 -- GMSH, *.msh.
int gridtype = 1; int gridtype = 1;
int axisup = 1; int axisup = 1;
int from_gtype = 3; int from_gtype = 3;
######################################################################### #########################################################################
# File path # # File path #

View File

@ -17,9 +17,9 @@
// 6 -- Ustar, mgrid.in. // 6 -- Ustar, mgrid.in.
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
// 8 -- GMSH, *.msh. // 8 -- GMSH, *.msh.
int gridtype = 1; int gridtype = 1;
int axisup = 1; int axisup = 1;
int from_gtype = 3; int from_gtype = 3;
######################################################################### #########################################################################
# File path # # File path #

View File

@ -154,7 +154,7 @@ double venkatCoeff = 0.5;
int iunsteady = 0; int iunsteady = 0;
double CFLEnd = 10.0; double CFLEnd = 10.0;
int CFLVaryStep = 100; int CFLVaryStep = 100;
double ktmax = 1.0e10; double ktmax = 1.0e10;

View File

@ -7,12 +7,12 @@
// intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved.
// intervalStepRes: the step intervals for residual 'res.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved.
int maxSimuStep = 30000; int maxSimuStep = 30000;
int intervalStepFlow = 1000; int intervalStepFlow = 1000;
int intervalStepPlot = 1000; int intervalStepPlot = 1000;
int intervalStepForce = 100; int intervalStepForce = 100;
int intervalStepRes = 10; int intervalStepRes = 10;
######################################################################### #########################################################################
# Inflow Parameter # # Inflow Parameter #
@ -40,24 +40,24 @@ int intervalStepRes = 10;
// TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale.
double refMachNumber = 8.03; double refMachNumber = 8.03;
double attackd = 0.00; double attackd = 0.00;
double angleSlide = 0.00; double angleSlide = 0.00;
double wallTemperature = 294.0 ; double wallTemperature = 294.0 ;
int dump_Q = 0; int dump_Q = 0;
int inflowParaType = 0; int inflowParaType = 0;
double refReNumber = 3.67e5; double refReNumber = 3.67e5;
double refDimensionalTemperature = 125.0; double refDimensionalTemperature = 125.0;
//int inflowParaType = 1; //int inflowParaType = 1;
//double height = 0.001; //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 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 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 forceRefenenceLengthSpanWise = 1.0; // unit of meter.
double forceRefenenceLength = 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; // 3 - IDDES;
//int iviscous = 0; //int iviscous = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
int viscousType = 1; int viscousType = 1;
string viscousName = "laminar"; string viscousName = "laminar";
//int iviscous = 3; //int iviscous = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
//int iviscous = 4; //int iviscous = 4;
//string viscousName = "2eq-kw-menter-sst"; //string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;
int roeEntropyFixMethod = 2; int roeEntropyFixMethod = 2;
double roeEntropyScale = 0.0001; double roeEntropyScale = 0.0001;
@ -111,7 +111,7 @@ double roeEntropyScale = 0.0001;
// str_limiter_name: Limiter of struct grid // str_limiter_name: Limiter of struct grid
// - "minmod", "3rd_minmod_smooth" // - "minmod", "3rd_minmod_smooth"
string inviscidSchemeName = "roe"; string inviscidSchemeName = "roe";
string str_limiter_name = "vanleer"; string str_limiter_name = "vanleer";
#******************************************************************* #*******************************************************************
@ -130,7 +130,7 @@ string str_limiter_name = "vanleer";
string uns_scheme_name = "vanleer"; string uns_scheme_name = "vanleer";
string uns_limiter_name = "vencat"; string uns_limiter_name = "vencat";
double venkatCoeff = 0.5; double venkatCoeff = 0.5;
######################################################################### #########################################################################
# Temporal Discretisation # # Temporal Discretisation #
@ -142,11 +142,11 @@ double venkatCoeff = 0.5;
// The bigger the value, the convergence faster but lower robustness. // The bigger the value, the convergence faster but lower robustness.
// ktmax: The lower the value, the more robustness, 1.0e5 ~ 1.0e10. // 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! // Please use 'rae2822_hybrid2d__4.fts' here!
// isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1.
string gridfile = "./grid/input.fts"; string gridfile = "./grid/input.fts";
int isPlotVolumeField = 0; int isPlotVolumeField = 0;

View File

@ -17,9 +17,9 @@
// 6 -- Ustar, mgrid.in. // 6 -- Ustar, mgrid.in.
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
// 8 -- GMSH, *.msh. // 8 -- GMSH, *.msh.
int gridtype = 1; int gridtype = 1;
int axisup = 1; int axisup = 1;
int from_gtype = 3; int from_gtype = 3;
######################################################################### #########################################################################
# File path # # File path #

View File

@ -92,16 +92,16 @@ double TorqueRefZ = 0.0; // unit of meter.
// 2 -- DDES. // 2 -- DDES.
// 3 -- IDDES. // 3 -- IDDES.
//int viscousType = 0; //int viscousType = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
int viscousType = 1; int viscousType = 1;
string viscousName = "laminar"; string viscousName = "laminar";
//int viscousType = 3; //int viscousType = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
//int viscousType = 4; //int viscousType = 4;
//string viscousName = "2eq-kw-menter-sst"; //string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;
@ -235,4 +235,4 @@ double catalyticCoef = 1.0;
string gasfile = "DK11"; string gasfile = "DK11";
string speciesName = "O, O2, NO, N, O+, O2+, NO+, N+, N2+, N2, e-"; 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"; 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;

View File

@ -7,12 +7,12 @@
// intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved.
// intervalStepRes: the step intervals for residual 'res.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved.
int maxSimuStep = 50000; int maxSimuStep = 50000;
int intervalStepFlow = 1000; int intervalStepFlow = 1000;
int intervalStepPlot = 1000; int intervalStepPlot = 1000;
int intervalStepForce = 100; int intervalStepForce = 100;
int intervalStepRes = 10; int intervalStepRes = 10;
######################################################################### #########################################################################
# Inflow Parameter # # Inflow Parameter #
@ -39,25 +39,25 @@ int intervalStepRes = 10;
// forceRefenenceLength, forceRefenenceArea: Reference length and area, independent to grid scale. // forceRefenenceLength, forceRefenenceArea: Reference length and area, independent to grid scale.
// TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale.
double refMachNumber = 5.00; double refMachNumber = 5.00;
double attackd = 0.00; double attackd = 0.00;
double angleSlide = 0.00; double angleSlide = 0.00;
double wallTemperature = 327.36; double wallTemperature = 327.36;
int dump_Q = 0; int dump_Q = 0;
int inflowParaType = 0; int inflowParaType = 0;
double refReNumber = 1.5e7; double refReNumber = 1.5e7;
double refDimensionalTemperature = 300.33; double refDimensionalTemperature = 300.33;
//int inflowParaType = 1; //int inflowParaType = 1;
//double height = 0.001; //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 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 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 forceRefenenceLengthSpanWise = 1.0; // unit of meter.
double forceRefenenceLength = 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 * # Physical models *
#******************************************************************* #*******************************************************************
// iviscous: Viscous model // viscousType: Viscous model
// 0 - Euler // 0 - Euler
// 1 - Lamilar // 1 - Lamilar
// 3 - 1eq turbulent // 3 - 1eq turbulent
@ -83,22 +83,22 @@ double TorqueRefZ = 0.0; // unit of meter.
// 2 - DDES; // 2 - DDES;
// 3 - IDDES; // 3 - IDDES;
//int iviscous = 0; //int viscousType = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
int viscousType = 1; int viscousType = 1;
string viscousName = "laminar"; string viscousName = "laminar";
//int iviscous = 3; //int viscousType = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
//int iviscous = 4; //int viscousType = 4;
//string viscousName = "2eq-kw-menter-sst"; //string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;
int roeEntropyFixMethod = 2; int roeEntropyFixMethod = 2;
double roeEntropyScale = 0.0002; double roeEntropyScale = 0.0002;
######################################################################### #########################################################################
# Spatial Discretisation # # Spatial Discretisation #
######################################################################### #########################################################################
@ -111,7 +111,7 @@ double roeEntropyScale = 0.0002;
// str_limiter_name: Limiter of struct grid // str_limiter_name: Limiter of struct grid
// - "minmod", "3rd_minmod_smooth" // - "minmod", "3rd_minmod_smooth"
string inviscidSchemeName = "roe"; string inviscidSchemeName = "roe";
string str_limiter_name = "smooth"; string str_limiter_name = "smooth";
#******************************************************************* #*******************************************************************
@ -130,7 +130,7 @@ string str_limiter_name = "smooth";
string uns_scheme_name = "vanleer"; string uns_scheme_name = "vanleer";
string uns_limiter_name = "vencat"; string uns_limiter_name = "vencat";
double venkatCoeff = 0.5; double venkatCoeff = 0.5;
######################################################################### #########################################################################
# Temporal Discretisation # # Temporal Discretisation #
@ -142,11 +142,11 @@ double venkatCoeff = 0.5;
// The bigger the value, the convergence faster but lower robustness. // The bigger the value, the convergence faster but lower robustness.
// ktmax: The lower the value, the more robustness, 1.0e5 ~ 1.0e10. // ktmax: The lower the value, the more robustness, 1.0e5 ~ 1.0e10.
int iunsteady = 0; int iunsteady = 0;
double CFLEnd = 100; double CFLEnd = 100;
int CFLVaryStep = 500; int CFLVaryStep = 500;
double ktmax = 1.0e10; double ktmax = 1.0e10;
######################################################################### #########################################################################
@ -159,8 +159,8 @@ double ktmax = 1.0e10;
// Please use 'rae2822_hybrid2d__4.fts' here! // Please use 'rae2822_hybrid2d__4.fts' here!
// isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1.
string gridfile = "./grid/plate_137_97.fts"; string gridfile = "./grid/plate_137_97.fts";
int isPlotVolumeField = 0; int isPlotVolumeField = 0;
@ -175,7 +175,7 @@ int isPlotVolumeField = 0;
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!. // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!.
// Arriables order must from small to larger. // Arriables order must from small to larger.
int nVisualVariables = 8; 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. // limitVariables: limit model.
// 0 - limit only for pressure and denstiny, then get the min value // 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: // reconmeth:
// 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients.
// 1 - Q+, Q- use the min limiter coefficients of left and right cell. // 1 - Q+, Q- use the min limiter coefficients of left and right cell.
int reconmeth = 0; int reconmeth = 0;
int limitVariables = 0; int limitVariables = 0;
int limitVector = 1; int limitVector = 1;
double MUSCLCoefXk = 0.333333; double MUSCLCoefXk = 0.333333;

View File

@ -17,9 +17,9 @@
// 6 -- Ustar, mgrid.in. // 6 -- Ustar, mgrid.in.
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
// 8 -- GMSH, *.msh. // 8 -- GMSH, *.msh.
int gridtype = 1; int gridtype = 1;
int axisup = 1; int axisup = 1;
int from_gtype = 3; int from_gtype = 3;
######################################################################### #########################################################################
# File path # # File path #
@ -27,7 +27,7 @@ int from_gtype = 3;
// from_gfile: path of original data file for unstructure grid convert from. // 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. // out_gfile: path of target file for grid convert to, *.fts type of file usually.
string from_gfile = "./grid/plate_137_97.grd"; string from_gfile = "./grid/plate_137_97.grd";
string out_gfile = "./grid/plate_137_97.fts"; string out_gfile = "./grid/plate_137_97.fts";

View File

@ -13,30 +13,30 @@ string defaultParaFile = "./bin/cfd_para.hypara";
// 2 -- Wall distance computation for turb-solver. // 2 -- Wall distance computation for turb-solver.
// 3 -- Grid partition. // 3 -- Grid partition.
// 4 -- Knowledge repository / examples of PHengLEI-API. // 4 -- Knowledge repository / examples of PHengLEI-API.
int ndim = 2; int ndim = 2;
int nparafile = 1; int nparafile = 1;
int nsimutask = 0; int nsimutask = 0;
string parafilename = "./bin/cfd_para_hypersonic.hypara"; string parafilename = "./bin/cfd_para_hypersonic.hypara";
//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_supersonic.hypara";
//string parafilename = "./bin/cfd_para_hypersonic.hypara"; //string parafilename = "./bin/cfd_para_hypersonic.hypara";
//string parafilename = "./bin/incompressible.hypara"; //string parafilename = "./bin/incompressible.hypara";
//int nsimutask = 1; //int nsimutask = 1;
//string parafilename = "./bin/grid_para.hypara"; //string parafilename = "./bin/grid_para.hypara";
//int nsimutask = 2; //int nsimutask = 2;
//string parafilename = "./bin/cfd_para.hypara"; //string parafilename = "./bin/cfd_para.hypara";
//int nsimutask = 3; //int nsimutask = 3;
//string parafilename = "./bin/partition.hypara"; //string parafilename = "./bin/partition.hypara";
//int nsimutask = 4; //int nsimutask = 4;
//string parafilename = "./bin/repository.hypara"; //string parafilename = "./bin/repository.hypara";
//int nsimutask = 5; //int nsimutask = 5;
//string parafilename = "./bin/overset_grid_view.hypara"; //string parafilename = "./bin/overset_grid_view.hypara";
//int nsimutask = 99; //int nsimutask = 99;
//string parafilename = "./bin/post_processing.hypara"; //string parafilename = "./bin/post_processing.hypara";
// ---------------- advanced Parameters, DO NOT care it ----------- // ---------------- advanced Parameters, DO NOT care it -----------
int iovrlap = 0; int iovrlap = 0;
int numberOfGridProcessor = 0; int numberOfGridProcessor = 0;
// ATP read // ATP read
string parafilename1 = "" string parafilename1 = ""
string parafilename2 = ""; string parafilename2 = "";

View File

@ -8,16 +8,16 @@
// original_grid_file : original grid file that want to be divided(HyperFLOW/PHengLEI type, *.fts). // 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). // partition_grid_file : target partition grid file(HyperFLOW/PHengLEI type, *.fts).
int pgridtype = 1; int pgridtype = 1;
int maxproc = 1; int maxproc = 1;
string original_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"; string partition_grid_file = "./grid/plate_137_97.fts";
// Number of multi-grid levels, ONLY used for structured grid. // Number of multi-grid levels, ONLY used for structured grid.
// 1 -- single level, 2 -- 2 level, N -- N level, ..., et al. // 1 -- single level, 2 -- 2 level, N -- N level, ..., et al.
int numberOfMultigrid = 1; int numberOfMultigrid = 1;

View File

@ -7,19 +7,19 @@
// intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved.
// intervalStepRes: the step intervals for residual 'res.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved.
int maxSimuStep = 150000; int maxSimuStep = 150000;
int intervalStepFlow = 1000; int intervalStepFlow = 1000;
int intervalStepPlot = 1000; int intervalStepPlot = 1000;
int intervalStepForce = 100; int intervalStepForce = 100;
int intervalStepRes = 10; int intervalStepRes = 10;
// ifLowSpeedPrecon: precondition to accelerate convergence for low speed flow. // ifLowSpeedPrecon: precondition to accelerate convergence for low speed flow.
// ONLY available for unstructured solver! // ONLY available for unstructured solver!
// 0 -- no precondition process (default, mach > 0.2). // 0 -- no precondition process (default, mach > 0.2).
// 1 -- carry out precondition process ( mach number < 0.2 ). // 1 -- carry out precondition process ( mach number < 0.2 ).
int ifLowSpeedPrecon = 0; int ifLowSpeedPrecon = 0;
######################################################################### #########################################################################
# Inflow Parameter # # Inflow Parameter #
@ -38,30 +38,30 @@ int ifLowSpeedPrecon = 0;
// forceRefenenceLength, forceRefenenceArea: Reference length and area, independent to grid scale. // forceRefenenceLength, forceRefenenceArea: Reference length and area, independent to grid scale.
// TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale.
double refMachNumber = 0.1; double refMachNumber = 0.1;
double attackd = 0.00; double attackd = 0.00;
double angleSlide = 0.00; double angleSlide = 0.00;
int inflowParaType = 0; int inflowParaType = 0;
double refReNumber = 2.0e5; double refReNumber = 2.0e5;
double refDimensionalTemperature = 288.15; double refDimensionalTemperature = 288.15;
//int inflowParaType = 1; //int inflowParaType = 1;
//double height = 0.001; //double height = 0.001;
double gridScaleFactor = 1.0; double gridScaleFactor = 1.0;
double forceRefenenceLengthSpanWise = 1.0; // unit of meter. double forceRefenenceLengthSpanWise = 1.0; // unit of meter.
double forceRefenenceLength = 1.0; // unit of meter. double forceRefenenceLength = 1.0; // unit of meter.
double forceRefenenceArea = 1.0; // unit of meter^2 double forceRefenenceArea = 1.0; // unit of meter^2
double TorqueRefX = 0.0; // unit of meter. double TorqueRefX = 0.0; // unit of meter.
double TorqueRefY = 0.0; // unit of meter. double TorqueRefY = 0.0; // unit of meter.
double TorqueRefZ = 0.0; // unit of meter. double TorqueRefZ = 0.0; // unit of meter.
#******************************************************************* #*******************************************************************
# Physical models * # Physical models *
#******************************************************************* #*******************************************************************
// iviscous: Viscous model // viscousType: Viscous model
// 0 - Euler // 0 - Euler
// 1 - Lamilar // 1 - Lamilar
// 3 - 1eq turbulent // 3 - 1eq turbulent
@ -75,22 +75,22 @@ double TorqueRefZ = 0.0; // unit of meter.
// 2 - DDES; // 2 - DDES;
// 3 - IDDES; // 3 - IDDES;
//int iviscous = 0; //int viscousType = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
int viscousType = 1; int viscousType = 1;
string viscousName = "laminar"; string viscousName = "laminar";
//int iviscous = 3; //int viscousType = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
//int iviscous = 4; //int viscousType = 4;
//string viscousName = "2eq-kw-menter-sst"; //string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;
int roeEntropyFixMethod = 2; int roeEntropyFixMethod = 2;
double roeEntropyScale = 1.0; double roeEntropyScale = 1.0;
######################################################################### #########################################################################
# Spatial Discretisation # # Spatial Discretisation #
######################################################################### #########################################################################
@ -101,7 +101,7 @@ double roeEntropyScale = 1.0;
// - "3rdsmooth", "smooth" // - "3rdsmooth", "smooth"
// - "nolim" - no limiter // - "nolim" - no limiter
string str_limiter_name = "nolim"; string str_limiter_name = "nolim";
#******************************************************************* #*******************************************************************
# UnStruct Solver * # UnStruct Solver *
@ -113,8 +113,8 @@ string str_limiter_name = "nolim";
// venkatCoeff: Coefficient of vencat limiter, when uns_limiter_name = 'vencat' // venkatCoeff: Coefficient of vencat limiter, when uns_limiter_name = 'vencat'
// The smaller the value, the more robust it is. // The smaller the value, the more robust it is.
string uns_limiter_name = "vencat"; string uns_limiter_name = "vencat";
double venkatCoeff = 50.0; double venkatCoeff = 50.0;
######################################################################### #########################################################################
# Temporal Discretisation # # Temporal Discretisation #
@ -128,11 +128,11 @@ double venkatCoeff = 50.0;
// 1 : is recommended for structured solver. // 1 : is recommended for structured solver.
// 1-3: is recommended for unstructured 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 # # Multi-Grid parameters #
@ -144,8 +144,8 @@ int nLUSGSSweeps = 1;
// Multi-Grid : Number of steps computing on coarse grid, during flow initialization. // 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. // Single-Grid: Number of steps computing using first-order with vanleer, during flow initialization.
int nMGLevel = 1; int nMGLevel = 1;
int flowInitStep = 100; int flowInitStep = 100;
######################################################################### #########################################################################
@ -158,8 +158,8 @@ int flowInitStep = 100;
// Please use 'rae2822_hybrid2d__4.fts' here! // Please use 'rae2822_hybrid2d__4.fts' here!
// isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1.
string gridfile = "./grid/flat_laminar_73_81.fts"; string gridfile = "./grid/flat_laminar_73_81.fts";
int isPlotVolumeField = 0; int isPlotVolumeField = 0;
// ---------------- advanced Parameters, DO NOT care it ----------- // ---------------- advanced Parameters, DO NOT care it -----------
@ -172,8 +172,8 @@ int isPlotVolumeField = 0;
// -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21) // -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21)
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!. // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!.
// Arriables order must from small to larger. // Arriables order must from small to larger.
int nVisualVariables = 8; 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. // limitVariables: limit model.
// 0 - limit only for pressure and denstiny, then get the min value // 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: // reconmeth:
// 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients.
// 1 - Q+, Q- use the min limiter coefficients of left and right cell. // 1 - Q+, Q- use the min limiter coefficients of left and right cell.
int reconmeth = 1; int reconmeth = 1;
int limitVariables = 0; int limitVariables = 0;
int limitVector = 0; int limitVector = 0;
double MUSCLCoefXk = 0.333333; double MUSCLCoefXk = 0.333333;

View File

@ -17,17 +17,17 @@
// 6 -- Ustar, mgrid.in. // 6 -- Ustar, mgrid.in.
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
// 8 -- GMSH, *.msh. // 8 -- GMSH, *.msh.
int gridtype = 1; int gridtype = 1;
int axisup = 1; int axisup = 1;
int from_gtype = 3; int from_gtype = 3;
######################################################################### #########################################################################
# File path # # File path #
######################################################################### #########################################################################
// from_gfile: path of original data file for unstructure grid convert from. // 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. // 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 from_gfile = "./grid/flat_laminar_73_81.grd";
string out_gfile = "./grid/flat_laminar_73_81.fts"; string out_gfile = "./grid/flat_laminar_73_81.fts";

View File

@ -13,29 +13,29 @@ string defaultParaFile = "./bin/cfd_para.hypara";
// 2 -- Wall distance computation for turb-solver. // 2 -- Wall distance computation for turb-solver.
// 3 -- Grid partition. // 3 -- Grid partition.
// 4 -- Knowledge repository / examples of PHengLEI-API. // 4 -- Knowledge repository / examples of PHengLEI-API.
int ndim = 2; int ndim = 2;
int nparafile = 1; int nparafile = 1;
int nsimutask = 0; int nsimutask = 0;
string parafilename="./bin/cfd_para_subsonic.hypara"; string parafilename = "./bin/cfd_para_subsonic.hypara";
//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_supersonic.hypara";
//string parafilename = "./bin/cfd_para_hypersonic.hypara"; //string parafilename = "./bin/cfd_para_hypersonic.hypara";
//string parafilename = "./bin/incompressible.hypara"; //string parafilename = "./bin/incompressible.hypara";
//int nsimutask = 1; //int nsimutask = 1;
//string parafilename = "./bin/grid_para.hypara"; //string parafilename = "./bin/grid_para.hypara";
//int nsimutask = 2; //int nsimutask = 2;
//string parafilename = "./bin/cfd_para.hypara"; //string parafilename = "./bin/cfd_para.hypara";
//int nsimutask = 3; //int nsimutask = 3;
//string parafilename = "./bin/partition.hypara"; //string parafilename = "./bin/partition.hypara";
//int nsimutask = 4; //int nsimutask = 4;
//string parafilename = "./bin/repository.hypara"; //string parafilename = "./bin/repository.hypara";
//int nsimutask = 5; //int nsimutask = 5;
//string parafilename = "./bin/overset_grid_view.hypara"; //string parafilename = "./bin/overset_grid_view.hypara";
//int nsimutask = 99; //int nsimutask = 99;
//string parafilename = "./bin/post_processing.hypara"; //string parafilename = "./bin/post_processing.hypara";
// ---------------- advanced Parameters, DO NOT care it ----------- // ---------------- advanced Parameters, DO NOT care it -----------
int iovrlap = 0; int iovrlap = 0;
int numberOfGridProcessor = 0; int numberOfGridProcessor = 0;
// ATP read // ATP read
string parafilename1 = "./bin/cfd_para.hypara" string parafilename1 = "./bin/cfd_para.hypara"
string parafilename2 = "./bin/cfd_para.hypara"; string parafilename2 = "./bin/cfd_para.hypara";

View File

@ -8,16 +8,16 @@
// original_grid_file : original grid file that want to be divided(HyperFLOW/PHengLEI type, *.fts). // 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). // partition_grid_file : target partition grid file(HyperFLOW/PHengLEI type, *.fts).
int pgridtype = 1; int pgridtype = 1;
int maxproc = 1; int maxproc = 1;
string original_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"; string partition_grid_file = "./grid/flat_laminar_73_81.fts";
// Number of multi-grid levels, ONLY used for structured grid. // Number of multi-grid levels, ONLY used for structured grid.
// 1 -- single level, 2 -- 2 level, N -- N level, ..., et al. // 1 -- single level, 2 -- 2 level, N -- N level, ..., et al.
int numberOfMultigrid = 1; int numberOfMultigrid = 1;

View File

@ -7,12 +7,12 @@
// intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved. // intervalStepForce: the step intervals for aerodynamics coefficients file 'aircoef.dat' saved.
// intervalStepRes: the step intervals for residual 'res.dat' saved. // intervalStepRes: the step intervals for residual 'res.dat' saved.
int maxSimuStep = 20000; int maxSimuStep = 20000;
int intervalStepFlow = 2000; int intervalStepFlow = 2000;
int intervalStepPlot = 2000; int intervalStepPlot = 2000;
int intervalStepForce = 100; int intervalStepForce = 100;
int intervalStepRes = 10; int intervalStepRes = 10;
######################################################################### #########################################################################
# Inflow Parameter # # Inflow Parameter #
@ -39,37 +39,37 @@ int intervalStepRes = 10;
// forceRefenenceLength, forceRefenenceArea: Reference length and area, independent to grid scale. // forceRefenenceLength, forceRefenenceArea: Reference length and area, independent to grid scale.
// TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale. // TorqueRefX, TorqueRefY, TorqueRefZ: Reference point, independent to grid scale.
double refMachNumber = 5.00; double refMachNumber = 5.00;
double attackd = 0.00; double attackd = 0.00;
double angleSlide = 0.00; double angleSlide = 0.00;
double wallTemperature = 327.36; double wallTemperature = 327.36;
int dump_Q = 0; int dump_Q = 0;
int inflowParaType = 0; int inflowParaType = 0;
double refReNumber = 1.5e7; double refReNumber = 1.5e7;
double refDimensionalTemperature = 300.33; double refDimensionalTemperature = 300.33;
//int inflowParaType = 1; //int inflowParaType = 1;
//double height = 0.001; //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 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 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 forceRefenenceLengthSpanWise = 1.0; // unit of meter.
double forceRefenenceLength = 1.0; // unit of meter. double forceRefenenceLength = 1.0; // unit of meter.
double forceRefenenceArea = 2.0; // unit of meter^2 double forceRefenenceArea = 2.0; // unit of meter^2
double TorqueRefX = 0.0; // unit of meter. double TorqueRefX = 0.0; // unit of meter.
double TorqueRefY = 0.0; // unit of meter. double TorqueRefY = 0.0; // unit of meter.
double TorqueRefZ = 0.0; // unit of meter. double TorqueRefZ = 0.0; // unit of meter.
#******************************************************************* #*******************************************************************
# Physical models * # Physical models *
#******************************************************************* #*******************************************************************
// iviscous: Viscous model // viscousType: Viscous model
// 0 - Euler // 0 - Euler
// 1 - Lamilar // 1 - Lamilar
// 3 - 1eq turbulent // 3 - 1eq turbulent
@ -83,22 +83,22 @@ double TorqueRefZ = 0.0; // unit of meter.
// 2 - DDES; // 2 - DDES;
// 3 - IDDES; // 3 - IDDES;
//int iviscous = 0; //int viscousType = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
//int iviscous = 1; //int viscousType = 1;
//string viscousName = "laminar"; //string viscousName = "laminar";
//int iviscous = 3; //int viscousType = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
int viscousType = 4; int viscousType = 4;
string viscousName = "2eq-kw-menter-sst"; string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;
int roeEntropyFixMethod = 2; int roeEntropyFixMethod = 2;
double roeEntropyScale = 1.0; double roeEntropyScale = 1.0;
######################################################################### #########################################################################
# Spatial Discretisation # # Spatial Discretisation #
######################################################################### #########################################################################
@ -111,8 +111,8 @@ double roeEntropyScale = 1.0;
// str_limiter_name: Limiter of struct grid // str_limiter_name: Limiter of struct grid
// - "minmod", "3rd_minmod_smooth" // - "minmod", "3rd_minmod_smooth"
string inviscidSchemeName = "roe"; string inviscidSchemeName = "roe";
string str_limiter_name = "smooth"; string str_limiter_name = "smooth";
#******************************************************************* #*******************************************************************
# UnStruct Solver * # UnStruct Solver *
@ -128,9 +128,9 @@ string str_limiter_name = "smooth";
// venkatCoeff: Coefficient of vencat limiter, when uns_limiter_name = 'vencat' // venkatCoeff: Coefficient of vencat limiter, when uns_limiter_name = 'vencat'
// The smaller the value, the more robust it is. // The smaller the value, the more robust it is.
string uns_scheme_name = "vanleer"; string uns_scheme_name = "vanleer";
string uns_limiter_name = "vencat"; string uns_limiter_name = "vencat";
double venkatCoeff = 0.5; double venkatCoeff = 0.5;
######################################################################### #########################################################################
# Temporal Discretisation # # Temporal Discretisation #
@ -142,11 +142,11 @@ double venkatCoeff = 0.5;
// The bigger the value, the convergence faster but lower robustness. // The bigger the value, the convergence faster but lower robustness.
// ktmax: The lower the value, the more robustness, 1.0e5 ~ 1.0e10. // 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! // Please use 'rae2822_hybrid2d__4.fts' here!
// isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1. // isPlotVolumeField: If dump out the whole field results to tecplot or not, 0/1.
string gridfile = "./grid/Mesh4_137_97.fts"; string gridfile = "./grid/Mesh4_137_97.fts";
int isPlotVolumeField = 0; int isPlotVolumeField = 0;
@ -174,8 +174,8 @@ int isPlotVolumeField = 0;
// -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21) // -- modeledTKE(18),modeleddissipationrate(19), SSTF1(20), SSTF2(21)
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!. // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!.
// Arriables order must from small to larger. // Arriables order must from small to larger.
int nVisualVariables = 8; 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. // limitVariables: limit model.
// 0 - limit only for pressure and denstiny, then get the min value // 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: // reconmeth:
// 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients. // 0 - When reconstruct face value, Q+, Q- use respective limiter coefficients.
// 1 - Q+, Q- use the min limiter coefficients of left and right cell. // 1 - Q+, Q- use the min limiter coefficients of left and right cell.
int reconmeth = 0; int reconmeth = 0;
int limitVariables = 0; int limitVariables = 0;
int limitVector = 1; int limitVector = 1;
double MUSCLCoefXk = 0.333333; double MUSCLCoefXk = 0.333333;

View File

@ -17,17 +17,17 @@
// 6 -- Ustar, mgrid.in. // 6 -- Ustar, mgrid.in.
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
// 8 -- GMSH, *.msh. // 8 -- GMSH, *.msh.
int gridtype = 1; int gridtype = 1;
int axisup = 1; int axisup = 1;
int from_gtype = 3; int from_gtype = 3;
######################################################################### #########################################################################
# File path # # File path #
######################################################################### #########################################################################
// from_gfile: path of original data file for unstructure grid convert from. // 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. // out_gfile: path of target file for grid convert to, *.fts type of file usually.
string from_gfile = "./grid/Mesh4_137_97.grd"; string from_gfile = "./grid/Mesh4_137_97.grd";
string out_gfile = "./grid/Mesh4_137_97.fts"; string out_gfile = "./grid/Mesh4_137_97.fts";

View File

@ -13,30 +13,30 @@ string defaultParaFile = "./bin/cfd_para.hypara";
// 2 -- Wall distance computation for turb-solver. // 2 -- Wall distance computation for turb-solver.
// 3 -- Grid partition. // 3 -- Grid partition.
// 4 -- Knowledge repository / examples of PHengLEI-API. // 4 -- Knowledge repository / examples of PHengLEI-API.
int ndim = 2; int ndim = 2;
int nparafile = 1; int nparafile = 1;
int nsimutask = 0; int nsimutask = 0;
string parafilename = "./bin/cfd_para_supersonic.hypara"; string parafilename = "./bin/cfd_para_supersonic.hypara";
//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_supersonic.hypara";
//string parafilename = "./bin/cfd_para_hypersonic.hypara"; //string parafilename = "./bin/cfd_para_hypersonic.hypara";
//string parafilename = "./bin/incompressible.hypara"; //string parafilename = "./bin/incompressible.hypara";
//int nsimutask = 1; //int nsimutask = 1;
//string parafilename = "./bin/grid_para.hypara"; //string parafilename = "./bin/grid_para.hypara";
//int nsimutask = 2; //int nsimutask = 2;
//string parafilename = "./bin/cfd_para.hypara"; //string parafilename = "./bin/cfd_para.hypara";
//int nsimutask = 3; //int nsimutask = 3;
//string parafilename = "./bin/partition.hypara"; //string parafilename = "./bin/partition.hypara";
//int nsimutask = 4; //int nsimutask = 4;
//string parafilename = "./bin/repository.hypara"; //string parafilename = "./bin/repository.hypara";
//int nsimutask = 5; //int nsimutask = 5;
//string parafilename = "./bin/overset_grid_view.hypara"; //string parafilename = "./bin/overset_grid_view.hypara";
//int nsimutask = 99; //int nsimutask = 99;
//string parafilename = "./bin/post_processing.hypara"; //string parafilename = "./bin/post_processing.hypara";
// ---------------- advanced Parameters, DO NOT care it ----------- // ---------------- advanced Parameters, DO NOT care it -----------
int iovrlap = 0; int iovrlap = 0;
int numberOfGridProcessor = 0; int numberOfGridProcessor = 0;
// ATP read // ATP read
string parafilename1 = "" string parafilename1 = ""
string parafilename2 = ""; string parafilename2 = "";

View File

@ -8,16 +8,16 @@
// original_grid_file : original grid file that want to be divided(HyperFLOW/PHengLEI type, *.fts). // 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). // partition_grid_file : target partition grid file(HyperFLOW/PHengLEI type, *.fts).
int pgridtype = 1; int pgridtype = 1;
int maxproc = 1; int maxproc = 1;
string original_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"; string partition_grid_file = "./grid/Mesh4_137_97.fts";
// Number of multi-grid levels, ONLY used for structured grid. // Number of multi-grid levels, ONLY used for structured grid.
// 1 -- single level, 2 -- 2 level, N -- N level, ..., et al. // 1 -- single level, 2 -- 2 level, N -- N level, ..., et al.
int numberOfMultigrid = 1; int numberOfMultigrid = 1;

View File

@ -84,16 +84,16 @@ double TorqueRefZ = 0.0; // unit of meter.
// 2 -- DDES. // 2 -- DDES.
// 3 -- IDDES. // 3 -- IDDES.
//int viscousType = 0; //int viscousType = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
//int viscousType = 1; //int viscousType = 1;
//string viscousName = "laminar"; //string viscousName = "laminar";
int viscousType = 3; int viscousType = 3;
string viscousName = "1eq-sa"; string viscousName = "1eq-sa";
//int viscousType = 4; //int viscousType = 4;
//string viscousName = "2eq-kw-menter-sst"; //string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;
@ -110,7 +110,7 @@ double roeEntropyScale = 1.0;
// -- "3rdsmooth", "smooth". // -- "3rdsmooth", "smooth".
// -- "nolim", no limiter. // -- "nolim", no limiter.
string str_limiter_name = "smooth"; string str_limiter_name = "smooth";
#******************************************************************* #*******************************************************************
# UnStruct Solver * # UnStruct Solver *

View File

@ -80,17 +80,17 @@ double TorqueRefZ = 0.0; // unit of meter.
// 2 -- DDES. // 2 -- DDES.
// 3 -- IDDES. // 3 -- IDDES.
//int viscousType = 0; //int viscousType = 0;
//string viscousName = "Euler"; //string viscousName = "Euler";
//int viscousType = 1; //int viscousType = 1;
//string viscousName = "laminar"; //string viscousName = "laminar";
//int viscousType = 3; //int viscousType = 3;
//string viscousName = "1eq-sa"; //string viscousName = "1eq-sa";
int viscousType = 4; int viscousType = 4;
string viscousName = "2eq-kw-menter-sst"; string viscousName = "2eq-kw-menter-sst";
int DESType = 0; int DESType = 0;

View File

@ -17,17 +17,17 @@
// 6 -- Ustar, mgrid.in. // 6 -- Ustar, mgrid.in.
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts. // 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
// 8 -- GMSH, *.msh. // 8 -- GMSH, *.msh.
int gridtype = 1; int gridtype = 1;
int axisup = 1; int axisup = 1;
int from_gtype = 3; int from_gtype = 3;
######################################################################### #########################################################################
# File path # # File path #
######################################################################### #########################################################################
// from_gfile: path of original data file for unstructure grid convert from. // 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. // out_gfile: path of target file for grid convert to, *.fts type of file usually.
string from_gfile = "./grid/rae2822_vis2d.grd"; string from_gfile = "./grid/rae2822_vis2d.grd";
string out_gfile = "./grid/rae2822_vis2d.fts"; string out_gfile = "./grid/rae2822_vis2d.fts";

View File

@ -15,37 +15,37 @@ string defaultParaFile = "./bin/cfd_para.hypara";
// 2 -- Wall distance computation for turb-solver. // 2 -- Wall distance computation for turb-solver.
// 3 -- Grid partition. // 3 -- Grid partition.
// 4 -- Knowledge repository / examples of PHengLEI-API. // 4 -- Knowledge repository / examples of PHengLEI-API.
int ndim = 2; int ndim = 2;
int nparafile = 1; 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_transonic.hypara"; //string parafilename = "./bin/cfd_para_transonic.hypara";
//string parafilename = "./bin/cfd_para_supersonic.hypara"; //string parafilename = "./bin/cfd_para_supersonic.hypara";
//string parafilename = "./bin/cfd_para_hypersonic.hypara"; //string parafilename = "./bin/cfd_para_hypersonic.hypara";
//string parafilename = "./bin/incompressible.hypara"; //string parafilename = "./bin/incompressible.hypara";
//int nsimutask = 1; //int nsimutask = 1;
//string parafilename = "./bin/grid_para.hypara"; //string parafilename = "./bin/grid_para.hypara";
//int nsimutask = 2; //int nsimutask = 2;
//string parafilename = "./bin/cfd_para.hypara"; //string parafilename = "./bin/cfd_para.hypara";
//int nsimutask = 3; //int nsimutask = 3;
//string parafilename = "./bin/partition.hypara"; //string parafilename = "./bin/partition.hypara";
//int nsimutask = 4; //int nsimutask = 4;
//string parafilename = "./bin/repository.hypara"; //string parafilename = "./bin/repository.hypara";
//int nsimutask = 5; //int nsimutask = 5;
//string parafilename = "./bin/overset_grid_view.hypara"; //string parafilename = "./bin/overset_grid_view.hypara";
//int nsimutask = 99; //int nsimutask = 99;
//string parafilename = "./bin/post_processing.hypara"; //string parafilename = "./bin/post_processing.hypara";
// ---------------- advanced Parameters, DO NOT care it ----------- // ---------------- advanced Parameters, DO NOT care it -----------
int iovrlap = 0; int iovrlap = 0;
int numberOfGridProcessor = 0; int numberOfGridProcessor = 0;
// ATP read // ATP read
//@string parafilename1 = "" //@string parafilename1 = ""
//@string parafilename2 = ""; //@string parafilename2 = "";

View File

@ -8,16 +8,16 @@
// original_grid_file : original grid file that want to be divided(HyperFLOW/PHengLEI type, *.fts). // 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). // partition_grid_file : target partition grid file(HyperFLOW/PHengLEI type, *.fts).
int pgridtype = 1; int pgridtype = 1;
int maxproc = 4; int maxproc = 4;
string original_grid_file = "./grid/rae2822_vis2d.fts"; string original_grid_file = "./grid/rae2822_vis2d.fts";
string partition_grid_file = "./grid/rae2822_vis2d__4.fts"; string partition_grid_file = "./grid/rae2822_vis2d__4.fts";
// Number of multi-grid levels, ONLY used for structured grid. // Number of multi-grid levels, ONLY used for structured grid.
// 1 -- single level, 2 -- 2 level, N -- N level, ..., et al. // 1 -- single level, 2 -- 2 level, N -- N level, ..., et al.
int numberOfMultigrid = 1; int numberOfMultigrid = 1;