31 template<
class BaseThermo>
32 template<
class Method,
class ... Args>
43 const typename BaseThermo::mixtureType::thermoType&
thermo =
44 this->specieThermo(speciei);
50 IOobject::groupName(psiName, this->T_.group()),
69 psiBf[
patchi][patchFacei] =
81 template<
class BaseThermo>
82 template<
class Method,
class Arg,
class ... Args>
92 const typename BaseThermo::mixtureType::thermoType&
thermo =
93 this->specieThermo(speciei);
110 template<
class BaseThermo>
114 const word& phaseName
117 BaseThermo(mesh, phaseName)
123 template<
class BaseThermo>
130 template<
class BaseThermo>
136 return this->specieThermo(speciei).W();
140 template<
class BaseThermo>
151 this->specieThermo(speciei).
W()
156 template<
class BaseThermo>
164 return this->specieThermo(speciei).rho(
p,
T);
168 template<
class BaseThermo>
177 return volScalarFieldPropertyi
189 template<
class BaseThermo>
197 return this->specieThermo(speciei).Cp(
p,
T);
201 template<
class BaseThermo>
210 return volScalarFieldPropertyi
222 template<
class BaseThermo>
230 return this->specieThermo(speciei).he(
p,
T);
234 template<
class BaseThermo>
242 return scalarFieldPropertyi
252 template<
class BaseThermo>
261 return volScalarFieldPropertyi
273 template<
class BaseThermo>
281 return this->specieThermo(speciei).hs(
p,
T);
285 template<
class BaseThermo>
293 return scalarFieldPropertyi
303 template<
class BaseThermo>
312 return volScalarFieldPropertyi
324 template<
class BaseThermo>
332 return this->specieThermo(speciei).ha(
p,
T);
336 template<
class BaseThermo>
344 return scalarFieldPropertyi
354 template<
class BaseThermo>
363 return volScalarFieldPropertyi
375 template<
class BaseThermo>
386 this->specieThermo(speciei).hf()
391 template<
class BaseThermo>
397 return this->specieThermo(speciei).hf();
401 template<
class BaseThermo>
409 return this->specieThermo(speciei).kappa(
p,
T);
413 template<
class BaseThermo>
422 return volScalarFieldPropertyi
scalar hs(const scalar p, const scalar T) const
scalar Cp(const scalar p, const scalar T) const
scalar ha(const scalar p, const scalar T) const
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricBoundaryField class.
Generic GeometricField class.
virtual ~MulticomponentThermo()
Destructor.
virtual scalar WiValue(const label speciei) const
Molecular weight [kg/kmol].
virtual scalar kappai(const label speciei, const scalar p, const scalar T) const
Thermal conductivity [W/m/K].
virtual scalar Cpi(const label speciei, const scalar p, const scalar T) const
Heat capacity at constant pressure [J/kg/K].
virtual scalar rhoi(const label speciei, const scalar p, const scalar T) const
Density [kg/m^3].
virtual dimensionedScalar hfi(const label speciei) const
Enthalpy of formation [J/kg].
tmp< volScalarField > volScalarFieldPropertyi(const word &psiName, const dimensionSet &psiDim, Method psiMethod, const label speciei, const Args &... args) const
Return a volScalarField of the given property.
MulticomponentThermo(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
virtual scalar hfiValue(const label speciei) const
Enthalpy of formation [J/kg].
virtual dimensionedScalar Wi(const label speciei) const
Molecular weight [kg/kmol].
tmp< scalarField > scalarFieldPropertyi(Method psiMethod, const label speciei, const Arg &arg, const Args &... args) const
Return a scalarField of the given property.
virtual scalar hai(const label speciei, const scalar p, const scalar T) const
Absolute enthalpy [J/kg].
virtual scalar hei(const label speciei, const scalar p, const scalar T) const
Enthalpy/Internal energy [J/kg].
virtual scalar hsi(const label speciei, const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
Dimension set for the base types.
Mesh data needed to do the Finite Volume discretisation.
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.
volScalarField scalarField(fieldObject, mesh)
const volScalarField & psi
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
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 dimEnergy
const dimensionSet dimTemperature
scalarList W(const fluidMulticomponentThermo &thermo)
const dimensionSet dimDensity
const dimensionSet dimMoles
const dimensionSet dimMass
const dimensionSet dimThermalConductivity
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Foam::argList args(argc, argv)
fluidMulticomponentThermo & thermo