Ember
|
Configuration options for the simulation. More...
#include <readConfig.h>
Public Member Functions | |
ConfigOptions () | |
bool | debugIntegratorStages (double t) const |
Returns true if integrator stage data should be saved at the current time step. | |
void | setContinuityBC (const std::string &condition) |
Set the value of continuityBC by name. | |
Public Attributes | |
std::string | outputDir |
[paths.outputDir] | |
bool | fixedBurnedVal |
[general.fixedBurnedVal] True if burned gas state is fixed at equilibrium conditions. | |
bool | fixedLeftLoc |
[general.fixedLeftLocation] True if the position of the leftmost grid point is fixed. | |
bool | twinFlame |
[general.twinFlame] Set to true for the twin flame configuration. | |
bool | discFlame |
[general.discFlame] Set to true for the axisymmetric jet flame configuration. | |
ContinuityBoundaryCondition::BC | continuityBC |
bool | cylindricalFlame |
[general.cylindricalFlame] Set to true for the cylindrical flame configuration. | |
bool | unburnedLeft |
[general.unburnedLeft] | |
bool | fuelLeft |
[general.fuelLeft] | |
std::string | flameType |
[initialCondition.flameType] | |
int | regridStepInterval |
[times.regridStepInterval] | |
int | outputStepInterval |
[times.outputStepInterval] | |
int | profileStepInterval |
[times.profileStepInterval] | |
int | currentStateStepInterval |
[times.currentStateStepInterval] | |
int | terminateStepInterval |
[times.terminateStepInterval] | |
double | regridTimeInterval |
[times.regridTimeInterval] | |
double | outputTimeInterval |
[times.outputTimeInterval] | |
double | profileTimeInterval |
[times.profileTimeInterval] | |
double | globalTimestep |
[times.globalTimestep] | |
double | diffusionTimestepMultiplier |
[times.diffusionTimestepMultiplier] | |
std::string | splittingMethod |
[general.splittingMethod] | |
std::string | chemistryIntegrator |
[general.chemistryIntegrator] | |
double | integratorRelTol |
[cvodeTolerances.relativeTolerance] | |
double | integratorMomentumAbsTol |
[cvodeTolerances.momentumAbsTol] | |
double | integratorEnergyAbsTol |
[cvodeTolerances.energyAbsTol] | |
double | integratorSpeciesAbsTol |
[cvodeTolerances.speciesAbsTol] | |
double | integratorMinTimestep |
[cvodeTolerances.minimumTimestep] | |
double | qss_epsmax |
[qssTolerances.epsmax] | |
double | qss_epsmin |
[qssTolerances.epsmin] | |
double | qss_dtmin |
[qssTolerances.dtmin] | |
double | qss_dtmax |
[qssTolerances.dtmax] | |
int | qss_iterationCount |
[qssTolerances.iterationCount] | |
double | qss_abstol |
[qssTolerances.abstol] | |
double | qss_minval |
[qssTolerances.minval] | |
bool | qss_stabilityCheck |
[qssTolerances.stabilityCheck] | |
std::string | gasMechanismFile |
[chemistry.mechanismFile] | |
std::string | gasPhaseID |
[chemistry.phaseID] | |
std::string | kineticsModel |
[chemistry.kineticsModel] | |
std::string | transportModel |
[chemistry.transportModel] | |
double | transportThreshold |
[chemistry.threshold] | |
std::string | rateMultiplierFunctionType |
[see chemistry.rateMultiplierFunction] | |
double | pressure |
[initialConditoin.pressure] | |
std::string | strainFunctionType |
double | strainRateInitial |
[strainParameters.initial] | |
double | strainRateFinal |
[strainParameters.final] | |
double | strainRateDt |
[strainParameters.dt] | |
double | strainRateT0 |
[strainParameters.tStart] | |
dvec | x_initial |
[initialCondition.x] | |
dvec | T_initial |
[initialCondition.T] | |
dvec | U_initial |
[initialCondition.U] | |
dvec | V_initial |
[initialCondition.V] | |
dmatrix | Y_initial |
[initialCondition.Y] | |
bool | quasi2d |
If false, energy, continuity, and momentum equations are integrated normally. | |
std::string | interpFile |
Data file containing 2D interpolation data [general.interpFile]. | |
bool | wallFlux |
double | Tinf |
double | Kwall |
double | ignition_tStart |
[ignition.tStart] | |
double | ignition_duration |
[ignition.duration] | |
double | ignition_energy |
[ignition.energy] | |
double | ignition_center |
[ignition.center] | |
double | ignition_stddev |
[ignition.stddev] | |
bool | alwaysUpdateHeatFlux |
[externalHeatFlux.alwaysUpdate] | |
double | vtol |
[grid.vtol] | |
double | dvtol |
[grid.dvtol] | |
double | rmTol |
[grid.rmTol] | |
double | dampConst |
[grid.dampConst] | |
double | gridMin |
[grid.gridMin] | |
double | gridMax |
[grid.gridMax] | |
double | uniformityTol |
[grid.uniformityTol] | |
double | absvtol |
[grid.absvtol] | |
double | boundaryTol |
[grid.boundaryTol] | |
double | boundaryTolRm |
[grid.boundaryTolRm] | |
double | unstrainedDownstreamWidth |
[grid.unstrainedDownstreamWidth] | |
int | addPointCount |
[grid.addPointCount] | |
double | tStart |
[times.tStart] | |
double | tEnd |
[terminationCondition.tEnd] | |
double | tEndMin |
[terminationCondition.tMin] | |
bool | haveTStart |
bool | outputProfiles |
[outputFiles.saveProfiles] | |
int | debugSourcePoint |
Grid point index marked for verbose output (cvodeSteps.py) [debug.sourcePoint]. | |
double | debugSourceTime |
Integrator time at which to generate verbose output (then terminate) [debug.sourceTime]. | |
double | debugStartTime |
Integrator time at which to begin saving output between integrator stages [debug.startTime]. | |
double | debugStopTime |
Integrator time at which to stop saving output between integrator stages [debug.stopTime]. | |
bool | outputDebugIntegratorStages |
[outputFiles.debugIntegratorStages] | |
std::string | terminationMeasurement |
If non-empty, code finishes when the specified property is constant to within some tolerance [terminationCondition.measurement]. | |
double | terminationTolerance |
relative tolerance for termination [terminationCondition.tolerance] | |
double | terminationAbsTol |
absolute tolerance for termination using measurement == 'Q' [terminationCondition.abstol] | |
double | termination_dTdtTol |
tolerance for termination when measurement == dTdt [terminationCondition.dTdtTol] | |
double | terminationPeriod |
period over which to require constant heat release rate [terminationCondition.steadyPeriod] | |
int | errorStopCount |
[general.errorStopCount] | |
bool | stopIfError |
int | nThreads |
[general.nThreads] | |
double | centerGridMin |
[grid.centerGridMin] | |
bool | xFlameControl |
double | xFlameInitial |
[positionControl.xInitial] | |
double | xFlameFinal |
[positionControl.xFinal] | |
double | xFlameDt |
[positionControl.dt] | |
double | xFlameT0 |
[positionControl.tStart] | |
double | xFlameIntegralGain |
[positionControl.integralGain] | |
double | xFlameProportionalGain |
[positionControl.proportionalGain] | |
bool | xStagControl |
double | xStag |
Configuration options for the simulation.
These are more fully documented in input.py
. For variables that correspond to a definition in input.py
, the name used for the variable in that file is given in square brackets.
|
inline |
bool ConfigOptions::debugIntegratorStages | ( | double | t | ) | const |
Returns true if integrator stage data should be saved at the current time step.
void ConfigOptions::setContinuityBC | ( | const std::string & | condition | ) |
Set the value of continuityBC by name.
std::string ConfigOptions::outputDir |
[paths.outputDir]
bool ConfigOptions::fixedBurnedVal |
[general.fixedBurnedVal] True if burned gas state is fixed at equilibrium conditions.
bool ConfigOptions::fixedLeftLoc |
[general.fixedLeftLocation] True if the position of the leftmost grid point is fixed.
bool ConfigOptions::twinFlame |
[general.twinFlame] Set to true for the twin flame configuration.
If specified, the leftmost grid point will not extend beyond x = 0.
bool ConfigOptions::discFlame |
[general.discFlame] Set to true for the axisymmetric jet flame configuration.
ContinuityBoundaryCondition::BC ConfigOptions::continuityBC |
bool ConfigOptions::cylindricalFlame |
[general.cylindricalFlame] Set to true for the cylindrical flame configuration.
If specified, the leftmost grid point will not extend beyond x = 0.
bool ConfigOptions::unburnedLeft |
[general.unburnedLeft]
bool ConfigOptions::fuelLeft |
[general.fuelLeft]
std::string ConfigOptions::flameType |
[initialCondition.flameType]
int ConfigOptions::regridStepInterval |
[times.regridStepInterval]
int ConfigOptions::outputStepInterval |
[times.outputStepInterval]
int ConfigOptions::profileStepInterval |
[times.profileStepInterval]
int ConfigOptions::currentStateStepInterval |
[times.currentStateStepInterval]
int ConfigOptions::terminateStepInterval |
[times.terminateStepInterval]
double ConfigOptions::regridTimeInterval |
[times.regridTimeInterval]
double ConfigOptions::outputTimeInterval |
[times.outputTimeInterval]
double ConfigOptions::profileTimeInterval |
[times.profileTimeInterval]
double ConfigOptions::globalTimestep |
[times.globalTimestep]
double ConfigOptions::diffusionTimestepMultiplier |
[times.diffusionTimestepMultiplier]
std::string ConfigOptions::splittingMethod |
[general.splittingMethod]
std::string ConfigOptions::chemistryIntegrator |
[general.chemistryIntegrator]
double ConfigOptions::integratorRelTol |
[cvodeTolerances.relativeTolerance]
double ConfigOptions::integratorMomentumAbsTol |
[cvodeTolerances.momentumAbsTol]
double ConfigOptions::integratorEnergyAbsTol |
[cvodeTolerances.energyAbsTol]
double ConfigOptions::integratorSpeciesAbsTol |
[cvodeTolerances.speciesAbsTol]
double ConfigOptions::integratorMinTimestep |
[cvodeTolerances.minimumTimestep]
double ConfigOptions::qss_epsmax |
[qssTolerances.epsmax]
double ConfigOptions::qss_epsmin |
[qssTolerances.epsmin]
double ConfigOptions::qss_dtmin |
[qssTolerances.dtmin]
double ConfigOptions::qss_dtmax |
[qssTolerances.dtmax]
int ConfigOptions::qss_iterationCount |
[qssTolerances.iterationCount]
double ConfigOptions::qss_abstol |
[qssTolerances.abstol]
double ConfigOptions::qss_minval |
[qssTolerances.minval]
bool ConfigOptions::qss_stabilityCheck |
[qssTolerances.stabilityCheck]
std::string ConfigOptions::gasMechanismFile |
[chemistry.mechanismFile]
std::string ConfigOptions::gasPhaseID |
[chemistry.phaseID]
std::string ConfigOptions::kineticsModel |
[chemistry.kineticsModel]
std::string ConfigOptions::transportModel |
[chemistry.transportModel]
double ConfigOptions::transportThreshold |
[chemistry.threshold]
std::string ConfigOptions::rateMultiplierFunctionType |
[see chemistry.rateMultiplierFunction]
double ConfigOptions::pressure |
[initialConditoin.pressure]
std::string ConfigOptions::strainFunctionType |
double ConfigOptions::strainRateInitial |
[strainParameters.initial]
double ConfigOptions::strainRateFinal |
[strainParameters.final]
double ConfigOptions::strainRateDt |
[strainParameters.dt]
double ConfigOptions::strainRateT0 |
[strainParameters.tStart]
dvec ConfigOptions::x_initial |
[initialCondition.x]
dvec ConfigOptions::T_initial |
[initialCondition.T]
dvec ConfigOptions::U_initial |
[initialCondition.U]
dvec ConfigOptions::V_initial |
[initialCondition.V]
dmatrix ConfigOptions::Y_initial |
[initialCondition.Y]
bool ConfigOptions::quasi2d |
If false, energy, continuity, and momentum equations are integrated normally.
If true, then time is actually a surrogate for a spatial variable and the temperature and velocity fields are interpolated from a supplied data file.
std::string ConfigOptions::interpFile |
Data file containing 2D interpolation data [general.interpFile].
bool ConfigOptions::wallFlux |
double ConfigOptions::Tinf |
double ConfigOptions::Kwall |
double ConfigOptions::ignition_tStart |
[ignition.tStart]
double ConfigOptions::ignition_duration |
[ignition.duration]
double ConfigOptions::ignition_energy |
[ignition.energy]
double ConfigOptions::ignition_center |
[ignition.center]
double ConfigOptions::ignition_stddev |
[ignition.stddev]
bool ConfigOptions::alwaysUpdateHeatFlux |
[externalHeatFlux.alwaysUpdate]
double ConfigOptions::vtol |
[grid.vtol]
double ConfigOptions::dvtol |
[grid.dvtol]
double ConfigOptions::rmTol |
[grid.rmTol]
double ConfigOptions::dampConst |
[grid.dampConst]
double ConfigOptions::gridMin |
[grid.gridMin]
double ConfigOptions::gridMax |
[grid.gridMax]
double ConfigOptions::uniformityTol |
[grid.uniformityTol]
double ConfigOptions::absvtol |
[grid.absvtol]
double ConfigOptions::boundaryTol |
[grid.boundaryTol]
double ConfigOptions::boundaryTolRm |
[grid.boundaryTolRm]
double ConfigOptions::unstrainedDownstreamWidth |
[grid.unstrainedDownstreamWidth]
int ConfigOptions::addPointCount |
[grid.addPointCount]
double ConfigOptions::tStart |
[times.tStart]
double ConfigOptions::tEnd |
[terminationCondition.tEnd]
double ConfigOptions::tEndMin |
[terminationCondition.tMin]
bool ConfigOptions::haveTStart |
bool ConfigOptions::outputProfiles |
[outputFiles.saveProfiles]
int ConfigOptions::debugSourcePoint |
Grid point index marked for verbose output (cvodeSteps.py) [debug.sourcePoint].
double ConfigOptions::debugSourceTime |
Integrator time at which to generate verbose output (then terminate) [debug.sourceTime].
double ConfigOptions::debugStartTime |
Integrator time at which to begin saving output between integrator stages [debug.startTime].
double ConfigOptions::debugStopTime |
Integrator time at which to stop saving output between integrator stages [debug.stopTime].
bool ConfigOptions::outputDebugIntegratorStages |
[outputFiles.debugIntegratorStages]
std::string ConfigOptions::terminationMeasurement |
If non-empty, code finishes when the specified property is constant to within some tolerance [terminationCondition.measurement].
double ConfigOptions::terminationTolerance |
relative tolerance for termination [terminationCondition.tolerance]
double ConfigOptions::terminationAbsTol |
absolute tolerance for termination using measurement == 'Q' [terminationCondition.abstol]
double ConfigOptions::termination_dTdtTol |
tolerance for termination when measurement == dTdt
[terminationCondition.dTdtTol]
double ConfigOptions::terminationPeriod |
period over which to require constant heat release rate [terminationCondition.steadyPeriod]
int ConfigOptions::errorStopCount |
[general.errorStopCount]
bool ConfigOptions::stopIfError |
int ConfigOptions::nThreads |
[general.nThreads]
double ConfigOptions::centerGridMin |
[grid.centerGridMin]
bool ConfigOptions::xFlameControl |
double ConfigOptions::xFlameInitial |
[positionControl.xInitial]
double ConfigOptions::xFlameFinal |
[positionControl.xFinal]
double ConfigOptions::xFlameDt |
[positionControl.dt]
double ConfigOptions::xFlameT0 |
[positionControl.tStart]
double ConfigOptions::xFlameIntegralGain |
[positionControl.integralGain]
double ConfigOptions::xFlameProportionalGain |
[positionControl.proportionalGain]
bool ConfigOptions::xStagControl |
double ConfigOptions::xStag |