红山官方算例库,更新2406版本默认参数

This commit is contained in:
hechao 2024-06-28 15:38:48 +08:00
parent f674abb75a
commit 6cd9da73a0
108 changed files with 2123 additions and 5155 deletions

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -515,6 +515,9 @@ double AusmpwPlusLimiter = 1.0;
// 8 -- Matrix LU-SGS.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
@ -672,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -710,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -727,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -1196,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1409,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -515,6 +515,9 @@ double AusmpwPlusLimiter = 1.0;
// 8 -- Matrix LU-SGS.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
@ -672,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -710,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -727,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -1196,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1409,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -515,6 +515,9 @@ double AusmpwPlusLimiter = 1.0;
// 8 -- Matrix LU-SGS.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

View File

@ -8,7 +8,7 @@
// Platform for Hybrid Engineering Simulation of Flows +
// China Aerodynamics Research and Development Center +
// (C) Copyright, Since 2010 +
// PHengLEI 2312 +
// PHengLEI 2406 +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###########################################################################
# Default parameters for Grid conversion #
@ -295,8 +295,6 @@ int preconFarfieldBCMethod = 1;
//flowInitMethod: Flow field initialization method.
// 0 -- The entire flow field is initialized according to Infinite velocity.
// 1 -- The velocity near the wall is initialized according to the boundary layer of the plate.
// 2 -- The entire flow field is initialized by flowInitStep iterations of FirstOrder method.
// 3 -- The entire flow field is initialized by flowInitStep iterations of LUSGS method.
// refReNumber: Reynolds number, which is based unit length, unit of 1/m.
// refDimensionalTemperature: Dimensional reference temperature, or the total temperature only for the experiment condition.
// freestream_vibration_temperature: Dimensional freestream vibration temperature.
@ -421,7 +419,7 @@ string str_limiter_name = "vanalbada";
// 3 -- IDDES.
// uns_scheme_name: Spatial discretisation scheme of Unstruct grid.
// Using this when solve Unstructered grid or hybrid.
// -- "vanleer", "roe", "GMRESRoe", "GMRESSteger", "steger", "kfvs", "lax_f", "hlle",
// -- "vanleer", "roe", "steger", "kfvs", "lax_f", "hlle",
// -- "ausm+", "ausmdv", "ausm+w", "ausmpw", "ausmpw+".
// uns_limiter_name: Limiter of Unstruct grid.
// -- "barth", "vencat", "vanleer", "minmod",
@ -515,14 +513,14 @@ double AusmpwPlusLimiter = 1.0;
// 6 -- Jacobian iteration.
// 7 -- Line LU-SGS.
// 8 -- Matrix LU-SGS.
// 9 -- GMRES.
// iSimplifyViscousTerm: Simplify the computation of viscous term in the Block LU-SGS method. The default value assigns 1 that could speed up the computation.
// Otherwise, the viscous Jacobian matrix Mv should be computed that will increase the memory and time in iteration of the BLUSGS method.
// CFLMethod: The method to compute cfl number.
// 0 -- Linear change.
// 1 -- Exponential change.
// CFLStart: Started cfl number.
// CFLEnd: End cfl number.
// CFLVaryStep: The number of step when cfl increase from CFLStart to CFLEnd.
// GMRESCFLScale : CFL = CFLStart * GMRESCFLScal^iteration.
// OriginalTscheme : Used for LUSGS and GMres hybrid computing.
// ktmax: Dtratio. dt[i] = MIN(dt[i], ktmax * dtmin / vol[i])
// swapDq: Communication dq between forward/backward sweep of LUSGS or not, default is 0.
// nLUSGSSweeps: Sub iteration of LU-SGS or Block LU-SGS.
@ -571,8 +569,7 @@ int isUsePreTwall = 0;
double CFLStart = 0.01;
double CFLEnd = 10.0;
int CFLVaryStep = 500;
double GMRESCFLScale = 1.0;
int OriginalTscheme = 0;
double pMaxForCFL = 0.2;
double pMinForCFL = 0.1;
double deltaMaxForCFL = 0.2;
@ -678,6 +675,7 @@ int plotFieldType = 0;
// 1 -- Tecplot ASCII.
// 2 -- Ensight binary.
// 3 -- Ensight ASCII.
// 4 -- Paraview.
int visualfileType = 1;
// samplefileMode: The dump mode of sample file.
@ -716,7 +714,7 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
// -- number density of electron(Ne, 37), dimensioanl density(rho, 38), dimensioanl pressure(p, 39), dimensioanl temperature(T, 40),
// -- gradientUx(41), gradientUy(42), gradientVx(43), gradientVy(44), streamline_u(45), streamline_v(46), streamline_w(47),
// -- transition intermittency(intermittency, 51), transition momentum thickness reynolds(MomentumThicknessReynolds, 52),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58)(the two parameters are related to CFL self-adaptive, only support struct grid)
// -- overlap iblank(iblank, 81),
// -- specific heat ratio(gama, 56), Knudsen number(kn, 60), Damkohler number(Da, 61), vibrational nonequilibrium number(Vi, 62).
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
@ -733,8 +731,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
int nVisualVariables = 8;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
int nVisualWallVariables = 9;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
int nVisualWallVariables = 6;
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
// dumpStandardModel: Dump many standard model data.
// 1 -- Turbulent flat plate.
@ -877,7 +875,10 @@ int monitorNegativeConstant = 0;
// iapplication:
// 0 -- gas model is fixed in the codes.
// 1 -- gas model is imported from library files.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver.
// isAdaptiveSolver: isAdaptiveSolver = 0 indicates the generic Navier-Stokes solver,
// isAdaptiveSolver > 0 indicates the HyFlow self-adaptive solver.
// 1 -- using HyFlow self-adaptive solver where the switch is controlled by the total iteration steps.
// 2 -- using HyFlow self-adaptive solver where the switch is controlled by variation of the key residual.
// nm: Equation number of the physics, but is out of commision now.
// 4 -- for 2D.
// 5 -- for 3D.
@ -1053,6 +1054,9 @@ int monitorNegativeConstant = 0;
// firstStepError : the residual error of the first step iteration for the self-adaptive calculation.
// secondStepError : the residual error of the second step iteration for the self-adaptive calculation.
// thirdStepError : the residual error of the third step iteration for the self-adaptive calculation.
// useHyflowSetting: Setting for HyFLOW GUI.
// 0 -- PHengLEI.
// 1 -- HyFLOW.
// nProtectData: Use the continuation file data protection mechanism.
// 0 -- no.
// 1 -- yes.
@ -1151,6 +1155,7 @@ int nDensityForWallMethod = 0;
int wallMultiTemperature = 0;
int nProtectData = 0;
int useHyflowSetting = 0;
int nAblation = 0;
int isInjection = 0;
int nViscosityModel = 0;
@ -1195,7 +1200,6 @@ double molecularWeightSpeciesB = 30.0;
int nFraction = 0;
int nContinueModel = 0;
int nChemicalFlowStep = 0;
int ifStartFromPerfectGasResults = 0;
int isUseNoneqCond = 0;
double frozenCondition = 0.01;
@ -1408,6 +1412,8 @@ double rotateFrequency_0 = 0.0;
//string uDFSixDofFileName_0 = "./Bin/UDFSixDof.Parameter";
// dimensional physical time for additional force(s).
double addedForceTime_0[] = 0.0;
// dimensional massCenterPosition for additional force(s).
double addedForcePosition_0[] = 0.0, 0.0, 0.0;
// additional force(inertia system) fX fY fZ.
double addedForce_0[] = 0.0, 0.0, 0.0;
// additional moment(inertia system) mX mY mZ.
@ -1418,41 +1424,6 @@ int morphing_0 = 0;
// post indentify.
int integralOrder = 4;
#************************************************************************
# TurboMachinery Parameter *
#************************************************************************
// ----------------- Rotating Frame --------------------------------
// referenceFrame: whether rotating reference frame used.
// 0 -- Stationary Frame.
// 1 -- Translational Frame.
// 2 -- Rotational Frame.
int referenceFrame = 0;
// nTurboZone: number of rows of TurboMachinery.
int nTurboZone = 0;
// Periodic_Name: a list of periodic boundary name, the number of name equals to 2*nZone
// "Periodic_up, Periodic_down" means a pair of name of one zone
string Periodic_Name[] = "Periodic_up, Periodic_down";
// PeriodicRotationAngle means rotating angle for each zone.
// PeriodicRotationAngle[] = [theta1, theta2...]
// theta1, theta2 means rotating angle for zone1,zone2.
double PeriodicRotationAngle[] = [16.363636363636];
// MixingPlane: a list of mixing plane name, the number of name equals to 2*nZone-2
// "MixOut, MixIn" the first is upstream zone outlet, the second is downstream zone inlet.
string MixingPlane[] = "";
// Omega: angular velocity(rad/s) of each zone.
double Omega[] = [-1680.0];
// shroud: define turbomachinery shroud of each zone, because shroud do not rotate.
string shroud[] = "shroud";
// nSpanSection: number of spanwise section used for mixing plane.
int nSpanSection = 0;
// ---------------- ATP read --------------------------------------------
//@int inflowParaType = 0;
//@double refReNumber = 6.5e6;

Some files were not shown because too many files have changed in this diff Show More