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::Internal > | hei (const label speciei, const volScalarField::Internal &p, const volScalarField::Internal &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::Internal > | hsi (const label speciei, const volScalarField::Internal &p, const volScalarField::Internal &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::Internal > | hai (const label speciei, const volScalarField::Internal &p, const volScalarField::Internal &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 ... Args> | |
| Foam::tmp< Foam::volScalarField::Internal > | volInternalScalarFieldPropertyi (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 ... Args> | |
| 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. 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 147 of file MulticomponentThermo.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 160 of file MulticomponentThermo.C.
|
protected |
Return a volScalarField of the given property.
|
protected |
Return a volScalarField::Internal of the given property.
|
protected |
Return a scalarField of the given property.
|
virtual |
Molecular weight [kg/kmol].
Definition at line 167 of file MulticomponentThermo.C.
|
virtual |
Molecular weight [kg/kmol].
Definition at line 177 of file MulticomponentThermo.C.
References Foam::dimMass, Foam::dimMoles, and Foam::W().

|
virtual |
Density [kg/m^3].
Definition at line 193 of file MulticomponentThermo.C.

|
virtual |
Density [kg/m^3].
Definition at line 206 of file MulticomponentThermo.C.
References Foam::dimDensity, p, rho, and Foam::T().

|
virtual |
Heat capacity at constant pressure [J/kg/K].
Definition at line 226 of file MulticomponentThermo.C.

|
virtual |
Heat capacity at constant pressure [J/kg/K].
Definition at line 239 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 259 of file MulticomponentThermo.C.

|
virtual |
Enthalpy/Internal energy [J/kg].
Definition at line 271 of file MulticomponentThermo.C.
References he(), p, and Foam::T().

|
virtual |
Enthalpy/Internal energy [J/kg].
Definition at line 290 of file MulticomponentThermo.C.
References Foam::dimEnergy, Foam::dimMass, he(), p, and Foam::T().

|
virtual |
Enthalpy/Internal energy [J/kg].
Definition at line 311 of file MulticomponentThermo.C.
References Foam::dimEnergy, Foam::dimMass, he(), p, and Foam::T().

|
virtual |
Sensible enthalpy [J/kg].
Definition at line 331 of file MulticomponentThermo.C.

|
virtual |
Sensible enthalpy [J/kg].
Definition at line 343 of file MulticomponentThermo.C.
References hs(), p, and Foam::T().

|
virtual |
Sensible enthalpy [J/kg].
Definition at line 362 of file MulticomponentThermo.C.
References Foam::dimEnergy, Foam::dimMass, hs(), p, and Foam::T().

|
virtual |
Sensible enthalpy [J/kg].
Definition at line 383 of file MulticomponentThermo.C.
References Foam::dimEnergy, Foam::dimMass, hs(), p, and Foam::T().

|
virtual |
Absolute enthalpy [J/kg].
Definition at line 403 of file MulticomponentThermo.C.

|
virtual |
Absolute enthalpy [J/kg].
Definition at line 415 of file MulticomponentThermo.C.
References ha(), p, and Foam::T().

|
virtual |
Absolute enthalpy [J/kg].
Definition at line 434 of file MulticomponentThermo.C.
References Foam::dimEnergy, Foam::dimMass, ha(), p, and Foam::T().

|
virtual |
Absolute enthalpy [J/kg].
Definition at line 455 of file MulticomponentThermo.C.
References Foam::dimEnergy, Foam::dimMass, ha(), p, and Foam::T().

|
virtual |
Enthalpy of formation [J/kg].
Definition at line 491 of file MulticomponentThermo.C.
|
virtual |
Enthalpy of formation [J/kg].
Definition at line 475 of file MulticomponentThermo.C.
References Foam::dimEnergy, and Foam::dimMass.
|
virtual |
Thermal conductivity [W/m/K].
Definition at line 501 of file MulticomponentThermo.C.

|
virtual |
Thermal conductivity [W/m/K].
Definition at line 514 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::volScalarField::Internal> volInternalScalarFieldPropertyi | ( | const word & | psiName, |
| const dimensionSet & | psiDim, | ||
| Method | psiMethod, | ||
| const label | speciei, | ||
| const Args &... | args | ||
| ) | const |
Definition at line 84 of file MulticomponentThermo.C.
References args, forAll, Foam::compressible::New(), 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 120 of file MulticomponentThermo.C.
References args, forAll, psi, tmp< T >::ref(), scalarField(), and thermo.
