30 template<
class BaseThermo>
31 template<
class Method,
class ... Args>
43 const typename BaseThermo::mixtureType::thermoType&
thermo =
44 this->specieThermo(speciei);
50 IOobject::groupName(psiName, this->
group()),
66 template<
class BaseThermo>
67 template<
class Method,
class ... Args>
80 const typename BaseThermo::mixtureType::thermoType&
thermo =
81 this->specieThermo(speciei);
87 IOobject::groupName(subMesh.
sub(psiName), this->group()),
105 template<
class BaseThermo>
113 template<
class BaseThermo>
124 this->specieThermo(speciei).
W()
129 template<
class BaseThermo>
138 return LagrangianSubScalarFieldPropertyi
151 template<
class BaseThermo>
160 return LagrangianSubScalarFieldPropertyi
173 template<
class BaseThermo>
184 this->specieThermo(speciei).hf()
189 template<
class BaseThermo>
198 return LagrangianSubScalarFieldPropertyi
211 template<
class BaseThermo>
220 return LagrangianSubScalarFieldPropertyi
scalar hs(const scalar p, const scalar T) const
scalar Cp(const scalar p, const scalar T) const
scalar Cv(const scalar p, const scalar T) const
#define forAll(list, i)
Loop across all elements in list.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
word sub(const word &fieldName) const
Return the name of a field corresponding to this sub-mesh.
virtual tmp< LagrangianSubScalarField > Cvi(const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const
Heat capacity at constant volume [J/kg/K].
virtual dimensionedScalar hfi(const label speciei) const
Enthalpy of formation [J/kg].
virtual tmp< LagrangianSubScalarField > rhoi(const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const
Density [kg/m^3].
virtual tmp< LagrangianSubScalarField > Cpi(const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const
Heat capacity at constant pressure [J/kg/K].
tmp< LagrangianSubScalarField > LagrangianSubScalarFieldPropertyi(const LagrangianSubMesh &subMesh, const word &psiName, const dimensionSet &psiDim, Method psiMethod, const label speciei, const Args &... args) const
Return a LagrangianSubScalarField of the given property.
virtual ~MulticomponentLagrangianThermo()
Destructor.
virtual tmp< LagrangianSubScalarField > hsi(const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const
Sensible enthalpy [J/kg].
virtual dimensionedScalar Wi(const label speciei) const
Molecular weight [kg/kmol].
tmp< LagrangianInternalScalarField > LagrangianInternalScalarFieldPropertyi(const word &psiName, const dimensionSet &psiDim, Method psiMethod, const label speciei, const Args &... args) const
Return a LagrangianInternalScalarField of the given property.
Dimension set for the base types.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const volScalarField & psi
const char *const group
Group name for atomic constants.
const dimensionSet & dimMoles
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet & dimMass
const dimensionSet & dimSpecificHeatCapacity
const dimensionSet & dimDensity
const dimensionSet & dimEnergy
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
void T(GeometricField< Type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf1)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Foam::argList args(argc, argv)
const scalarList W(::W(thermo))
fluidMulticomponentThermo & thermo