35 #ifndef singleComponentMixture_H 36 #define singleComponentMixture_H 49 template<
class ThermoType>
83 return "pureMixture<" + ThermoType::typeName() +
'>';
135 <<
"Specie index must be zero for a single component " intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void read(const dictionary &)
Read dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Specialization of basicMultiComponentMixture for a mixture consisting of a number for molecular speci...
virtual ~singleComponentMixture()
Destructor.
static word typeName()
Return the instantiated type name.
A class for handling words, derived from string.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
const ThermoType & patchFaceMixture(const label patchi, const label facei) const
Get the mixture for the given patch face.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const ThermoType & cellMixture(const label celli) const
Get the mixture for the given cell.
Mesh data needed to do the Finite Volume discretisation.
const ThermoType & cellVolMixture(const scalar p, const scalar T, const label celli)
Get the volumetric mixture for the given cell.
singleComponentMixture(const dictionary &, const fvMesh &, const word &)
Construct from dictionary, mesh and phase name.
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.
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.
Single component mixture.