Multi-component thermo implementation. More...
Public Member Functions | |
MulticomponentThermo (const fvMesh &, const word &phaseName) | |
Construct from mesh and phase name. More... | |
MulticomponentThermo (const MulticomponentThermo< BaseThermo > &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~MulticomponentThermo () |
Destructor. More... | |
virtual scalar | WiValue (const label speciei) const |
Molecular weight [kg/kmol]. More... | |
virtual dimensionedScalar | Wi (const label speciei) const |
Molecular weight [kg/kmol]. More... | |
virtual scalar | rhoi (const label speciei, const scalar p, const scalar T) const |
Density [kg/m^3]. More... | |
virtual tmp< volScalarField > | rhoi (const label speciei, const volScalarField &p, const volScalarField &T) const |
Density [kg/m^3]. More... | |
virtual scalar | Cpi (const label speciei, const scalar p, const scalar T) const |
Heat capacity at constant pressure [J/kg/K]. More... | |
virtual tmp< volScalarField > | Cpi (const label speciei, const volScalarField &p, const volScalarField &T) const |
Heat capacity at constant pressure [J/kg/K]. More... | |
virtual scalar | hei (const label speciei, const scalar p, const scalar T) const |
Enthalpy/Internal energy [J/kg]. More... | |
virtual tmp< scalarField > | hei (const label speciei, const scalarField &p, const scalarField &T) const |
Enthalpy/Internal energy [J/kg]. More... | |
virtual tmp< volScalarField > | hei (const label speciei, const volScalarField &p, const volScalarField &T) const |
Enthalpy/Internal energy [J/kg]. More... | |
virtual scalar | hsi (const label speciei, const scalar p, const scalar T) const |
Sensible enthalpy [J/kg]. More... | |
virtual tmp< scalarField > | hsi (const label speciei, const scalarField &p, const scalarField &T) const |
Sensible enthalpy [J/kg]. More... | |
virtual tmp< volScalarField > | hsi (const label speciei, const volScalarField &p, const volScalarField &T) const |
Sensible enthalpy [J/kg]. More... | |
virtual scalar | hai (const label speciei, const scalar p, const scalar T) const |
Absolute enthalpy [J/kg]. More... | |
virtual tmp< scalarField > | hai (const label speciei, const scalarField &p, const scalarField &T) const |
Absolute enthalpy [J/kg]. More... | |
virtual tmp< volScalarField > | hai (const label speciei, const volScalarField &p, const volScalarField &T) const |
Absolute enthalpy [J/kg]. More... | |
virtual scalar | hfiValue (const label speciei) const |
Enthalpy of formation [J/kg]. More... | |
virtual dimensionedScalar | hfi (const label speciei) const |
Enthalpy of formation [J/kg]. More... | |
virtual scalar | kappai (const label speciei, const scalar p, const scalar T) const |
Thermal conductivity [W/m/K]. More... | |
virtual tmp< volScalarField > | kappai (const label speciei, const volScalarField &p, const volScalarField &T) const |
Thermal conductivity [W/m/K]. More... | |
template<class Method , class ... Args> | |
Foam::tmp< Foam::volScalarField > | volScalarFieldPropertyi (const word &psiName, const dimensionSet &psiDim, Method psiMethod, const label speciei, const Args &... args) const |
template<class Method , class Arg , class ... Args> | |
Foam::tmp< Foam::scalarField > | scalarFieldPropertyi (Method psiMethod, const label speciei, const Arg &arg, const Args &... args) const |
Protected Member Functions | |
template<class Method , class ... Args> | |
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. More... | |
template<class Method , class Arg , class ... Args> | |
tmp< scalarField > | scalarFieldPropertyi (Method psiMethod, const label speciei, const Arg &arg, const Args &... args) const |
Return a scalarField of the given property. More... | |
Multi-component thermo implementation.
Definition at line 49 of file MulticomponentThermo.H.
MulticomponentThermo | ( | const fvMesh & | mesh, |
const word & | phaseName | ||
) |
Construct from mesh and phase name.
Definition at line 111 of file MulticomponentThermo.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 124 of file MulticomponentThermo.C.
|
protected |
Return a volScalarField of the given property.
|
protected |
Return a scalarField of the given property.
|
virtual |
Molecular weight [kg/kmol].
Definition at line 131 of file MulticomponentThermo.C.
|
virtual |
Molecular weight [kg/kmol].
Definition at line 141 of file MulticomponentThermo.C.
References Foam::dimMass, Foam::dimMoles, and Foam::W().
|
virtual |
Density [kg/m^3].
Definition at line 157 of file MulticomponentThermo.C.
|
virtual |
Density [kg/m^3].
Definition at line 170 of file MulticomponentThermo.C.
References Foam::dimDensity, p, rho, and Foam::T().
|
virtual |
Heat capacity at constant pressure [J/kg/K].
Definition at line 190 of file MulticomponentThermo.C.
|
virtual |
Heat capacity at constant pressure [J/kg/K].
Definition at line 203 of file MulticomponentThermo.C.
References Cp(), Foam::dimEnergy, Foam::dimMass, Foam::dimTemperature, p, and Foam::T().
|
virtual |
Enthalpy/Internal energy [J/kg].
Definition at line 223 of file MulticomponentThermo.C.
|
virtual |
Enthalpy/Internal energy [J/kg].
Definition at line 235 of file MulticomponentThermo.C.
References he(), p, and Foam::T().
|
virtual |
Enthalpy/Internal energy [J/kg].
Definition at line 254 of file MulticomponentThermo.C.
References Foam::dimEnergy, Foam::dimMass, he(), p, and Foam::T().
|
virtual |
Sensible enthalpy [J/kg].
Definition at line 274 of file MulticomponentThermo.C.
|
virtual |
Sensible enthalpy [J/kg].
Definition at line 286 of file MulticomponentThermo.C.
References hs(), p, and Foam::T().
|
virtual |
Sensible enthalpy [J/kg].
Definition at line 305 of file MulticomponentThermo.C.
References Foam::dimEnergy, Foam::dimMass, hs(), p, and Foam::T().
|
virtual |
Absolute enthalpy [J/kg].
Definition at line 325 of file MulticomponentThermo.C.
|
virtual |
Absolute enthalpy [J/kg].
Definition at line 337 of file MulticomponentThermo.C.
References ha(), p, and Foam::T().
|
virtual |
Absolute enthalpy [J/kg].
Definition at line 356 of file MulticomponentThermo.C.
References Foam::dimEnergy, Foam::dimMass, ha(), p, and Foam::T().
|
virtual |
Enthalpy of formation [J/kg].
Definition at line 392 of file MulticomponentThermo.C.
|
virtual |
Enthalpy of formation [J/kg].
Definition at line 376 of file MulticomponentThermo.C.
References Foam::dimEnergy, and Foam::dimMass.
|
virtual |
Thermal conductivity [W/m/K].
Definition at line 402 of file MulticomponentThermo.C.
|
virtual |
Thermal conductivity [W/m/K].
Definition at line 415 of file MulticomponentThermo.C.
References Foam::dimThermalConductivity, Foam::constant::electromagnetic::kappa, p, and Foam::T().
Foam::tmp<Foam::volScalarField> volScalarFieldPropertyi | ( | const word & | psiName, |
const dimensionSet & | psiDim, | ||
Method | psiMethod, | ||
const label | speciei, | ||
const Args &... | args | ||
) | const |
Definition at line 34 of file MulticomponentThermo.C.
References args, forAll, Foam::compressible::New(), patchi, psi, tmp< T >::ref(), and thermo.
Foam::tmp<Foam::scalarField> scalarFieldPropertyi | ( | Method | psiMethod, |
const label | speciei, | ||
const Arg & | arg, | ||
const Args &... | args | ||
) | const |
Definition at line 84 of file MulticomponentThermo.C.
References args, forAll, psi, tmp< T >::ref(), scalarField(), and thermo.