Compare commits
No commits in common. "master" and "master" have entirely different histories.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -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,17 +513,11 @@ 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.
|
||||
|
@ -574,8 +566,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;
|
||||
|
@ -681,7 +672,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +710,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +727,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +871,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.
|
||||
|
@ -935,8 +928,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1026,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species£¨SpeciesA, SpeciesB£©.
|
||||
// for unstruct solver mixing multi-species£¨O2 NO CO CO2 H2 N2 Air CH4£©.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1057,6 +1049,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.
|
||||
|
@ -1155,6 +1150,7 @@ int nDensityForWallMethod = 0;
|
|||
int wallMultiTemperature = 0;
|
||||
|
||||
int nProtectData = 0;
|
||||
int useHyflowSetting = 0;
|
||||
int nAblation = 0;
|
||||
int isInjection = 0;
|
||||
int nViscosityModel = 0;
|
||||
|
@ -1199,6 +1195,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1408,6 @@ 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.
|
||||
|
@ -1423,41 +1418,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;
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
// 8 -- GMSH, *.msh.
|
||||
// 9 -- Gridgen type of structured grid, *.dat/*.grd.
|
||||
int gridtype = 1;
|
||||
int nAxisRotateTimes = 0;
|
||||
int axisRotateOrder[] = [1, 2, 3];
|
||||
double axisRotateAngles[] = [0.0, 0.0, 0.0];
|
||||
int nAxisRotateTimes = 1;
|
||||
int axisRotateOrder[] = [1];
|
||||
double axisRotateAngles[]= [90.0];
|
||||
int from_gtype = 3;
|
||||
|
||||
#########################################################################
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
// 8 -- GMSH, *.msh.
|
||||
// 9 -- Gridgen type of structured grid, *.dat/*.grd.
|
||||
int gridtype = 1;
|
||||
int nAxisRotateTimes = 0;
|
||||
int axisRotateOrder[] = [1, 2, 3];
|
||||
double axisRotateAngles[] = [0.0, 0.0, 0.0];
|
||||
int nAxisRotateTimes = 1;
|
||||
int axisRotateOrder[] = [1];
|
||||
double axisRotateAngles[]= [90.0];
|
||||
int from_gtype = 3;
|
||||
|
||||
#########################################################################
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
// 7 -- Hybrid, include both of unstructured and structured grid, *.fts.
|
||||
// 8 -- GMSH, *.msh.
|
||||
int gridtype = 1;
|
||||
int nAxisRotateTimes = 0;
|
||||
int axisRotateOrder[] = [1, 2, 3];
|
||||
double axisRotateAngles[] = [0.0, 0.0, 0.0];
|
||||
int nAxisRotateTimes = 1;
|
||||
int axisRotateOrder[] = [1];
|
||||
double axisRotateAngles[]= [90.0];
|
||||
int from_gtype = 3;
|
||||
|
||||
#########################################################################
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Platform for Hybrid Engineering Simulation of Flows +
|
||||
// China Aerodynamics Research and Development Center +
|
||||
// (C) Copyright, Since 2010 +
|
||||
// PHengLEI 2406 +
|
||||
// PHengLEI 2212 +
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
###########################################################################
|
||||
# Default parameters for Grid conversion #
|
||||
|
@ -51,7 +51,7 @@ int gridReorder = 0;
|
|||
int faceReorderMethod = 0;
|
||||
|
||||
// nAxisRotateTimes: number of axis rotating times, zero (default) meaning without rotating.
|
||||
// axisRotateOrder : axis rotating order. The size of array "axisRotateOrder" is equal to nAxisRotateTimes.
|
||||
// axisRotateOrder : axis rotating order.
|
||||
// 1 -- X-axis.
|
||||
// 2 -- Y-axis.
|
||||
// 3 -- Z-axis.
|
||||
|
@ -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.
|
||||
|
@ -399,7 +397,7 @@ string str_limiter_name = "vanalbada";
|
|||
#************************************************************************
|
||||
// viscousType: Viscous model.
|
||||
// 0 -- Euler.
|
||||
// 1 -- Laminar.
|
||||
// 1 -- Lamilar.
|
||||
// 2 -- Algebraic.
|
||||
// 3 -- 1eq turbulent.
|
||||
// 4 -- 2eq turbulent.
|
||||
|
@ -518,14 +516,15 @@ double AusmpwPlusLimiter = 1.0;
|
|||
// 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.
|
||||
// useLUSGSprecond: Initialize flow field for GMRES.
|
||||
// 0 --Initialize by first order Jacobian matrix.
|
||||
// 1 --Initialize by LUSGS.
|
||||
// GMRESInitStep : the number of iteration step of irst order Jacobian matrix or LUSGS for initialize flow field.
|
||||
// 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.
|
||||
|
@ -575,7 +574,9 @@ double CFLStart = 0.01;
|
|||
double CFLEnd = 10.0;
|
||||
int CFLVaryStep = 500;
|
||||
double GMRESCFLScale = 1.0;
|
||||
int OriginalTscheme = 0;
|
||||
int OriginalTscheme = 9;
|
||||
int useLUSGSprecond = 1;
|
||||
int GMRESInitStep = 1000;
|
||||
double pMaxForCFL = 0.2;
|
||||
double pMinForCFL = 0.1;
|
||||
double deltaMaxForCFL = 0.2;
|
||||
|
@ -681,7 +682,6 @@ int plotFieldType = 0;
|
|||
// 1 -- Tecplot ASCII.
|
||||
// 2 -- Ensight binary.
|
||||
// 3 -- Ensight ASCII.
|
||||
// 4 -- Paraview.
|
||||
int visualfileType = 1;
|
||||
|
||||
// samplefileMode: The dump mode of sample file.
|
||||
|
@ -720,7 +720,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)(the two parameters are related to CFL self-adaptive, only support struct grid)
|
||||
// -- local CFL Number(localCFL, 57), minimal CFL Number(minCFL, 58),
|
||||
// -- 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!!!
|
||||
|
@ -737,8 +737,8 @@ double upperPlotFieldBox[] = [1.0 1.0 1.0];
|
|||
int nVisualVariables = 8;
|
||||
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15];
|
||||
|
||||
int nVisualWallVariables = 6;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5];
|
||||
int nVisualWallVariables = 9;
|
||||
int visualWallVariables[] = [0, 1, 2, 3, 4, 5, 9, 10, 11];
|
||||
|
||||
// dumpStandardModel: Dump many standard model data.
|
||||
// 1 -- Turbulent flat plate.
|
||||
|
@ -881,7 +881,7 @@ 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,
|
||||
// nm: Equation number of the physics, but is out of commision now.
|
||||
// 4 -- for 2D.
|
||||
// 5 -- for 3D.
|
||||
|
@ -935,8 +935,7 @@ int monitorNegativeConstant = 0;
|
|||
// frozenCondition: the threshold value of frozen chemical flow condition, 0.1 is the default value.
|
||||
// nIdealState: whether take all gas species as ideal gas for gas-mixture process.
|
||||
// 0 -- No.
|
||||
// 1 -- Yes.
|
||||
// nTEnergyModel: the method to computing temperature energy model.
|
||||
// 1 -- Yes. // nTEnergyModel: the method to computing temperature energy model.
|
||||
// 0 -- the energy term is computed using the conventional method.
|
||||
// 1 -- the energy term is computed using the polynomial fitting method.
|
||||
// 2 -- the energy term is computed using the piecewise polynomial fitting method.
|
||||
|
@ -1034,8 +1033,8 @@ int monitorNegativeConstant = 0;
|
|||
// "Mars-Pa8" is for Park model of Mars gas, "Mars-Mc8" for McKenzie model of Mars gas.
|
||||
// "Combustion-12" -- indicates the Combustion Chamber Gas Model which includes 12-species-20-reactions.
|
||||
// "Gas-Mixture" -- indicates the process of mixing gas without reacting.
|
||||
// for struct solver mixing two species "SpeciesA, SpeciesB".
|
||||
// for unstruct solver mixing multi-species "O2 NO CO CO2 H2 N2 Air CH4".
|
||||
// for struct solver mixing two species<EFBFBD><EFBFBD>SpeciesA, SpeciesB<73><42>.
|
||||
// for unstruct solver mixing multi-species<EFBFBD><EFBFBD>O2 NO CO CO2 H2 N2 Air CH4<48><34>.
|
||||
// For self-definition model, the gasfile is used to indicate the file path of the new gas model.
|
||||
// speciesName: Used to list the names of each species, while each species name is separated by the symbol of comma.
|
||||
// initMassFraction: Used to list the initial mass fractions of species in accordance with the sequence of names in the parameter speciesName.
|
||||
|
@ -1199,6 +1198,7 @@ double molecularWeightSpeciesB = 30.0;
|
|||
|
||||
int nFraction = 0;
|
||||
int nContinueModel = 0;
|
||||
int nChemicalFlowStep = 0;
|
||||
int ifStartFromPerfectGasResults = 0;
|
||||
int isUseNoneqCond = 0;
|
||||
double frozenCondition = 0.01;
|
||||
|
@ -1411,8 +1411,6 @@ 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.
|
||||
|
@ -1423,41 +1421,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
Loading…
Reference in New Issue