35 #ifndef singleComponentMixture_H
36 #define singleComponentMixture_H
50 template<
class ThermoType>
94 return "pureMixture<" + ThermoType::typeName() +
'>';
106 const scalarFieldListSlice&
115 const scalarFieldListSlice&
124 const scalarFieldListSlice&,
141 <<
"Specie index must be zero for a single component "
A list of keyword definitions, which are a keyword followed by any number of values (e....
Single component mixture.
const ThermoType & specieThermo(const label speciei) const
Return thermo based on index.
const transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
static word typeName()
Return the instantiated type name.
ThermoType transportMixtureType
Mixing type for transport properties.
wordList specieNames() const
Return the specie names.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
void read(const dictionary &)
Read dictionary.
singleComponentMixture(const dictionary &)
Construct from a dictionary.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
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)
List< word > wordList
A List of words.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.