54 thermo.phasePropertyName(
"chemistryProperties"),
62 chemistry_(get<
Switch>(
"chemistry")),
63 deltaTChemIni_(get<scalar>(
"initialChemicalTimeStep")),
64 deltaTChemMax_(getOrDefault<scalar>(
"maxChemicalTimeStep", GREAT)),
69 thermo.phasePropertyName(
"deltaTChem"),
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
@ NO_READ
Nothing to be read.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const Time & time() const noexcept
Return Time associated with the objectRegistry.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Base class for chemistry models.
virtual ~basicChemistryModel()
Destructor.
const fvMesh & mesh_
Reference to the mesh database.
void correct()
Correct function - updates due to mesh changes.
const scalar deltaTChemIni_
Initial chemical time step.
Switch chemistry_
Chemistry activation switch.
const fvMesh & mesh() const
Return const access to the mesh database.
const scalar deltaTChemMax_
Maximum chemical time step.
volScalarField::Internal deltaTChem_
Latest estimation of integration step.
Abstract base-class for fluid and solid thermodynamic properties.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T, or return the given default value. FatalIOError if it is found and the number of...
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Different types of constants.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.