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 ... Args>
93 const typename BaseThermo::mixtureType::thermoType&
thermo =
94 this->specieThermo(speciei);
100 IOobject::groupName(psiName, this->T_.group()),
117 template<
class BaseThermo>
118 template<
class Method,
class Arg,
class ... Args>
128 const typename BaseThermo::mixtureType::thermoType&
thermo =
129 this->specieThermo(speciei);
146 template<
class BaseThermo>
150 const word& phaseName
153 BaseThermo(
mesh, phaseName)
159 template<
class BaseThermo>
166 template<
class BaseThermo>
172 return this->specieThermo(speciei).W();
176 template<
class BaseThermo>
187 this->specieThermo(speciei).
W()
192 template<
class BaseThermo>
200 return this->specieThermo(speciei).rho(
p,
T);
204 template<
class BaseThermo>
213 return volScalarFieldPropertyi
225 template<
class BaseThermo>
233 return this->specieThermo(speciei).Cp(
p,
T);
237 template<
class BaseThermo>
246 return volScalarFieldPropertyi
258 template<
class BaseThermo>
266 return this->specieThermo(speciei).he(
p,
T);
270 template<
class BaseThermo>
278 return scalarFieldPropertyi
288 template<
class BaseThermo>
297 return volInternalScalarFieldPropertyi
309 template<
class BaseThermo>
318 return volScalarFieldPropertyi
330 template<
class BaseThermo>
338 return this->specieThermo(speciei).hs(
p,
T);
342 template<
class BaseThermo>
350 return scalarFieldPropertyi
360 template<
class BaseThermo>
369 return volInternalScalarFieldPropertyi
381 template<
class BaseThermo>
390 return volScalarFieldPropertyi
402 template<
class BaseThermo>
410 return this->specieThermo(speciei).ha(
p,
T);
414 template<
class BaseThermo>
422 return scalarFieldPropertyi
432 template<
class BaseThermo>
441 return volInternalScalarFieldPropertyi
453 template<
class BaseThermo>
462 return volScalarFieldPropertyi
474 template<
class BaseThermo>
485 this->specieThermo(speciei).hf()
490 template<
class BaseThermo>
496 return this->specieThermo(speciei).hf();
500 template<
class BaseThermo>
508 return this->specieThermo(speciei).kappa(
p,
T);
512 template<
class BaseThermo>
521 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.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
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::Internal > volInternalScalarFieldPropertyi(const word &psiName, const dimensionSet &psiDim, Method psiMethod, const label speciei, const Args &... args) const
Return a volScalarField::Internal of the given property.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
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
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
const dimensionSet dimTemperature
scalarList W(const fluidMulticomponentThermo &thermo)
const dimensionSet dimDensity
const dimensionSet dimMoles
const dimensionSet dimMass
const dimensionSet dimThermalConductivity
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Foam::argList args(argc, argv)
fluidMulticomponentThermo & thermo