37#ifndef singleComponentMixture_H
38#define singleComponentMixture_H
51template<
class ThermoType>
90 return "pureMixture<" + ThermoType::typeName() +
'>';
94 const ThermoType&
cellMixture(
const label celli)
const
136 inline const ThermoType&
getLocalThermo(
const label speciei)
const
142 <<
"Specie index must be zero for a single component "
Specialization of basicMultiComponentMixture for a mixture consisting of a number for molecular speci...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Single component mixture.
const ThermoType & cellMixture(const label celli) const
Get the mixture for the given cell.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
static word typeName()
Return the instantiated type name.
const ThermoType & patchFaceMixture(const label patchi, const label facei) const
Get the mixture for the given patch face.
virtual ~singleComponentMixture()=default
Destructor.
const ThermoType & patchFaceVolMixture(const scalar p, const scalar T, const label patchi, const label facei) const
Get the volumetric mixture for the given patch face.
void read(const dictionary &)
Read dictionary.
const ThermoType & cellVolMixture(const scalar p, const scalar T, const label celli)
Get the volumetric mixture for the given cell.
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.
A class for handling words, derived from Foam::string.
const dictionary & thermoDict
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)