Class which represents a phase for which the temperature (strictly energy) varies. Returns the energy equation and corrects the thermodynamic model. More...
#include <AnisothermalPhaseModel.H>


Public Member Functions | |
| AnisothermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index) | |
| Construct from phase system and phase name. | |
| virtual | ~AnisothermalPhaseModel ()=default |
| Destructor. | |
| virtual void | correctThermo () |
| Correct the thermodynamics. | |
| virtual bool | isothermal () const |
| Return whether the phase is isothermal. | |
| virtual tmp< fvScalarMatrix > | heEqn () |
| Return the enthalpy equation. | |
Class which represents a phase for which the temperature (strictly energy) varies. Returns the energy equation and corrects the thermodynamic model.
Definition at line 49 of file AnisothermalPhaseModel.H.
| AnisothermalPhaseModel | ( | const phaseSystem & | fluid, |
| const word & | phaseName, | ||
| const label | index ) |
Construct from phase system and phase name.
Definition at line 55 of file AnisothermalPhaseModel.C.
References fluid.
|
virtualdefault |
Destructor.
|
virtual |
Correct the thermodynamics.
Definition at line 69 of file AnisothermalPhaseModel.C.
|
virtual |
Return whether the phase is isothermal.
Definition at line 78 of file AnisothermalPhaseModel.C.
|
virtual |
Return the enthalpy equation.
Definition at line 86 of file AnisothermalPhaseModel.C.
References Foam::fvc::absolute(), alpha, alphaEff(), alphaPhi(), contErr(), Foam::fvc::ddt(), Foam::fvm::ddt(), Foam::fvc::div(), Foam::fvm::div(), dpdt, fluid, he, Foam::fvc::interpolate(), Foam::fvm::laplacian(), IOobject::name(), p, Qdot, tmp< T >::ref(), rho, Foam::fvm::Sp(), talphaPhi, thermo, trho, and U.
