34template<
class ThermoType>
38 mesh_.lookupObject<ThermoType>
40 IOobject::groupName(basicThermo::dictName, phaseName_)
43 const PtrList<volScalarField>&
Y =
thermo.composition().Y();
62template<
class ThermoType>
114 <<
"Cannot find thermodynamics model of type "
115 << ThermoType::typeName
116 <<
" for phase " << phaseName_
121 <<
"Cannot find thermodynamics model of type "
122 << ThermoType::typeName
130template<
class ThermoType>
148template<
class ThermoType>
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
virtual bool read()
Re-read model coefficients if they have changed.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static word timeName(const scalar t, const int precision=precision_)
static const word dictName
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
const word & name() const noexcept
Return the name of this functionObject.
const fvMesh & mesh_
Reference to the fvMesh.
const Time & time() const
Return the top-level database.
Calculates mole-fraction fields from the mass-fraction fields of the psi/rhoReactionThermo and caches...
virtual bool execute()
Calculate the mole-fraction fields.
bool foundObject(const word &name, const bool recursive=false) const
Is the named Type found?
const Type & lookupObject(const word &name, const bool recursive=false) const
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for handling words, derived from Foam::string.
static const word null
An empty word.
PtrList< volScalarField > & Y
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const word dictName("faMeshDefinition")
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimless
Dimensionless.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static constexpr const zero Zero
Global zero (0)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define forAll(list, i)
Loop across all elements in list.