Enthalpy/Internal energy for a mixture. More...
#include <heThermo.H>


Public Member Functions | |
| heThermo (const fvMesh &, const word &phaseName) | |
| Construct from mesh. | |
| heThermo (const fvMesh &, const dictionary &, const word &phaseName) | |
| Construct from mesh and dictionary. | |
| heThermo (const fvMesh &, const word &phaseName, const word &dictionaryName) | |
| Construct from mesh,dictionary,phase name with a single temperature. | |
| virtual | ~heThermo () |
| Destructor. | |
| virtual MixtureType::basicMixtureType & | composition () |
| Return the composition of the mixture. | |
| virtual const MixtureType::basicMixtureType & | composition () const |
| Return the composition of the mixture. | |
| virtual word | thermoName () const |
| Return the name of the thermo physics. | |
| virtual bool | incompressible () const |
| Return true if the equation of state is incompressible. | |
| virtual bool | isochoric () const |
| Return true if the equation of state is isochoric. | |
| virtual volScalarField & | he () |
| Enthalpy/Internal energy [J/kg]. | |
| virtual const volScalarField & | he () const |
| Enthalpy/Internal energy [J/kg]. | |
| virtual tmp< volScalarField > | he (const volScalarField &p, const volScalarField &T) const |
| Enthalpy/Internal energy. | |
| virtual tmp< scalarField > | he (const scalarField &p, const scalarField &T, const labelList &cells) const |
| Enthalpy/Internal energy for cell-set [J/kg]. | |
| virtual tmp< scalarField > | he (const scalarField &p, const scalarField &T, const label patchi) const |
| Enthalpy/Internal energy for patch [J/kg]. | |
| virtual tmp< volScalarField > | hc () const |
| Chemical enthalpy [J/kg]. | |
| virtual tmp< scalarField > | THE (const scalarField &he, const scalarField &p, const scalarField &T0, const labelList &cells) const |
| Temperature from enthalpy/internal energy for cell-set. | |
| virtual tmp< scalarField > | THE (const scalarField &he, const scalarField &p, const scalarField &T0, const label patchi) const |
| Temperature from enthalpy/internal energy for patch. | |
| virtual tmp< scalarField > | Cp (const scalarField &p, const scalarField &T, const label patchi) const |
| Heat capacity at constant pressure for patch [J/kg/K]. | |
| virtual tmp< scalarField > | Cp (const scalarField &p, const scalarField &T, const labelList &cells) const |
| Heat capacity using pressure and temperature. | |
| virtual tmp< volScalarField > | Cp () const |
| Heat capacity at constant pressure [J/kg/K]. | |
| virtual tmp< scalarField > | Cv (const scalarField &p, const scalarField &T, const label patchi) const |
| Heat capacity at constant volume for patch [J/kg/K]. | |
| virtual tmp< scalarField > | rhoEoS (const scalarField &p, const scalarField &T, const labelList &cells) const |
| Density from pressure and temperature. | |
| virtual tmp< volScalarField > | Cv () const |
| Heat capacity at constant volume [J/kg/K]. | |
| virtual tmp< volScalarField > | gamma () const |
| Gamma = Cp/Cv []. | |
| virtual tmp< scalarField > | gamma (const scalarField &p, const scalarField &T, const label patchi) const |
| Gamma = Cp/Cv for patch []. | |
| virtual tmp< scalarField > | Cpv (const scalarField &p, const scalarField &T, const label patchi) const |
| Heat capacity at constant pressure/volume for patch [J/kg/K]. | |
| virtual tmp< volScalarField > | Cpv () const |
| Heat capacity at constant pressure/volume [J/kg/K]. | |
| virtual tmp< volScalarField > | CpByCpv () const |
| Heat capacity ratio []. | |
| virtual tmp< scalarField > | CpByCpv (const scalarField &p, const scalarField &T, const label patchi) const |
| Heat capacity ratio for patch []. | |
| virtual tmp< volScalarField > | W () const |
| Molecular weight [kg/kmol]. | |
| virtual tmp< volScalarField > | kappa () const |
| Thermal diffusivity for temperature of mixture [J/m/s/K]. | |
| virtual tmp< scalarField > | kappa (const label patchi) const |
| Thermal diffusivity for temperature. | |
| virtual tmp< volScalarField > | alphahe () const |
| Thermal diffusivity for energy of mixture [kg/m/s]. | |
| virtual tmp< scalarField > | alphahe (const label patchi) const |
| Thermal diffusivity for energy of mixture for patch [kg/m/s]. | |
| virtual tmp< volScalarField > | kappaEff (const volScalarField &) const |
| Effective thermal diffusivity for temperature. | |
| virtual tmp< scalarField > | kappaEff (const scalarField &alphat, const label patchi) const |
| Effective thermal diffusivity for temperature. | |
| virtual tmp< volScalarField > | alphaEff (const volScalarField &alphat) const |
| Effective thermal diffusivity of mixture [kg/m/s]. | |
| virtual tmp< scalarField > | alphaEff (const scalarField &alphat, const label patchi) const |
| Effective thermal diffusivity of mixture for patch [kg/m/s]. | |
| virtual bool | read () |
| Read thermophysical properties dictionary. | |
Protected Member Functions | |
| void | heBoundaryCorrection (volScalarField &he) |
| Correct the enthalpy/internal energy field boundaries. | |
Protected Attributes | |
| volScalarField | he_ |
| Energy field. | |
Enthalpy/Internal energy for a mixture.
Definition at line 48 of file heThermo.H.
| heThermo | ( | const fvMesh & | mesh, |
| const word & | phaseName ) |
Construct from mesh.
Definition at line 95 of file heThermo.C.
References Foam::dimEnergy, Foam::dimMass, he_, mesh, and timeName.
| heThermo | ( | const fvMesh & | mesh, |
| const dictionary & | dict, | ||
| const word & | phaseName ) |
| heThermo | ( | const fvMesh & | mesh, |
| const word & | phaseName, | ||
| const word & | dictionaryName ) |
Construct from mesh,dictionary,phase name with a single temperature.
Definition at line 162 of file heThermo.C.
References Foam::dimEnergy, Foam::dimMass, he_, mesh, and timeName.
|
virtual |
Destructor.
Definition at line 199 of file heThermo.C.
|
protected |
Correct the enthalpy/internal energy field boundaries.
Definition at line 29 of file heThermo.C.
References forAll, h, Foam::isA(), and Foam::refCast().

|
inlinevirtual |
Return the composition of the mixture.
Definition at line 140 of file heThermo.H.
|
inlinevirtual |
Return the composition of the mixture.
Definition at line 149 of file heThermo.H.
|
inlinevirtual |
Return the name of the thermo physics.
Definition at line 157 of file heThermo.H.
|
inlinevirtual |
Return true if the equation of state is incompressible.
i.e. rho != f(p)
Definition at line 167 of file heThermo.H.
|
inlinevirtual |
Return true if the equation of state is isochoric.
i.e. rho = const
Definition at line 177 of file heThermo.H.
|
inlinevirtual |
Enthalpy/Internal energy [J/kg].
Non-const access allowed for transport equations
Definition at line 190 of file heThermo.H.
Referenced by he(), he(), and he().

|
inlinevirtual |
Enthalpy/Internal energy [J/kg].
Definition at line 198 of file heThermo.H.
|
virtual |
Enthalpy/Internal energy.
for given pressure and temperature [J/kg]
Definition at line 206 of file heThermo.C.
References forAll, he(), he_, mesh, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, p, pp(), and Foam::T().

|
virtual |
Enthalpy/Internal energy for cell-set [J/kg].
Definition at line 253 of file heThermo.C.
References cells, forAll, he(), tmp< T >::New(), p, and Foam::T().

|
virtual |
Enthalpy/Internal energy for patch [J/kg].
Definition at line 273 of file heThermo.C.
References forAll, he(), tmp< T >::New(), p, and Foam::T().

|
virtual |
Chemical enthalpy [J/kg].
Definition at line 295 of file heThermo.C.
References mesh, and GeometricField< scalar, fvPatchField, volMesh >::New().

|
virtual |
Temperature from enthalpy/internal energy for cell-set.
Definition at line 689 of file heThermo.C.
References cells, forAll, h, tmp< T >::New(), p, Foam::T(), and T0.

|
virtual |
Temperature from enthalpy/internal energy for patch.
Definition at line 711 of file heThermo.C.
References forAll, h, tmp< T >::New(), p, Foam::T(), and T0.

|
virtual |
Heat capacity at constant pressure for patch [J/kg/K].
Definition at line 332 of file heThermo.C.
References Foam::cp(), forAll, tmp< T >::New(), p, Foam::T(), and tCp.

|
virtual |
Heat capacity using pressure and temperature.
Definition at line 354 of file heThermo.C.
References cells, tmp< T >::New(), p, Foam::T(), and tCp.

|
virtual |
Heat capacity at constant pressure [J/kg/K].
Definition at line 376 of file heThermo.C.
References mesh, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, and tCp.

|
virtual |
Heat capacity at constant volume for patch [J/kg/K].
Definition at line 416 of file heThermo.C.
References forAll, tmp< T >::New(), p, Foam::T(), and tCv.

|
virtual |
Density from pressure and temperature.
Definition at line 438 of file heThermo.C.
References cells, forAll, tmp< T >::New(), p, rho, and Foam::T().

|
virtual |
Heat capacity at constant volume [J/kg/K].
Definition at line 460 of file heThermo.C.
References Cv, Foam::dimEnergy, Foam::dimMass, Foam::dimTemperature, forAll, mesh, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, and tCv.

|
virtual |
Gamma = Cp/Cv [].
Definition at line 518 of file heThermo.C.
References Foam::dimless, forAll, gamma(), mesh, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, and pp().
Referenced by gamma(), and gamma().


|
virtual |
Gamma = Cp/Cv for patch [].
Definition at line 496 of file heThermo.C.
References forAll, gamma(), tmp< T >::New(), p, and Foam::T().

|
virtual |
Heat capacity at constant pressure/volume for patch [J/kg/K].
Definition at line 560 of file heThermo.C.
References Cpv(), forAll, tmp< T >::New(), p, and Foam::T().
Referenced by Cpv(), and Cpv().


|
virtual |
Heat capacity at constant pressure/volume [J/kg/K].
Definition at line 582 of file heThermo.C.
References Cpv(), Foam::dimEnergy, Foam::dimMass, Foam::dimTemperature, forAll, mesh, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, and pp().

|
virtual |
Heat capacity ratio [].
Definition at line 643 of file heThermo.C.
References CpByCpv(), Foam::dimless, forAll, mesh, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, and pp().
Referenced by alphaEff(), alphaEff(), alphahe(), alphahe(), CpByCpv(), and CpByCpv().


|
virtual |
Heat capacity ratio for patch [].
Definition at line 621 of file heThermo.C.
References CpByCpv(), forAll, tmp< T >::New(), p, and Foam::T().

|
virtual |
Molecular weight [kg/kmol].
Definition at line 737 of file heThermo.C.
References Foam::dimMass, Foam::dimMoles, forAll, mesh, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, and W().
Referenced by W().


|
virtual |
Thermal diffusivity for temperature of mixture [J/m/s/K].
Definition at line 776 of file heThermo.C.
Referenced by kappa().


|
virtual |
Thermal diffusivity for temperature.
of mixture for patch [J/m/s/K]
Definition at line 785 of file heThermo.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and Cp.

|
virtual |
Thermal diffusivity for energy of mixture [kg/m/s].
Definition at line 802 of file heThermo.C.
References alphaEff(), alphaEff(), and CpByCpv().

|
virtual |
Thermal diffusivity for energy of mixture for patch [kg/m/s].
Definition at line 812 of file heThermo.C.
References CpByCpv().

|
virtual |
Effective thermal diffusivity for temperature.
of mixture [J/m/s/K]
Definition at line 827 of file heThermo.C.
References Cp, kappaEff(), and kappaEff.
Referenced by kappaEff().


|
virtual |
Effective thermal diffusivity for temperature.
of mixture for patch [J/m/s/K]
Definition at line 840 of file heThermo.C.
References Cp.
|
virtual |
Effective thermal diffusivity of mixture [kg/m/s].
Definition at line 862 of file heThermo.C.
References alphaEff(), alphaEff(), and CpByCpv().
Referenced by alphaEff(), and alphahe().


|
virtual |
Effective thermal diffusivity of mixture for patch [kg/m/s].
Definition at line 875 of file heThermo.C.
References CpByCpv().

|
virtual |
Read thermophysical properties dictionary.
Definition at line 896 of file heThermo.C.
|
protected |
Energy field.
Definition at line 60 of file heThermo.H.
Referenced by he(), heThermo(), and heThermo().