35 #ifndef singleComponentMixture_H
36 #define singleComponentMixture_H
49 template<
class ThermoType>
94 return "pureMixture<" + ThermoType::typeName() +
'>';
154 <<
"Specie index must be zero for a single component "
Specialisation of basicMixture for a mixture consisting of a number for molecular species.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Single component mixture.
const ThermoType & specieThermo(const label speciei) const
Return thermo based on index.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
const transportMixtureType & cellTransportMixture(const label) const
static word typeName()
Return the instantiated type name.
ThermoType transportMixtureType
Mixing type for transport properties.
singleComponentMixture(const dictionary &, const fvMesh &, const word &)
Construct from dictionary, mesh and phase name.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
const thermoMixtureType & cellThermoMixture(const label) const
void read(const dictionary &)
Read dictionary.
const thermoMixtureType & patchFaceThermoMixture(const label, const label) const
const transportMixtureType & patchFaceTransportMixture(const label, const label) const
virtual ~singleComponentMixture()
Destructor.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.