Class which represents a phase for which the temperature (strictly energy) remains constant. Returns an empty energy equation and does nothing when correctThermo is called. More...
#include <IsothermalPhaseModel.H>


Public Member Functions | |
| IsothermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index) | |
| virtual | ~IsothermalPhaseModel ()=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) remains constant. Returns an empty energy equation and does nothing when correctThermo is called.
Definition at line 49 of file IsothermalPhaseModel.H.
| IsothermalPhaseModel | ( | const phaseSystem & | fluid, |
| const word & | phaseName, | ||
| const label | index ) |
Definition at line 27 of file IsothermalPhaseModel.C.
References fluid.
|
virtualdefault |
Destructor.
|
virtual |
Correct the thermodynamics.
Definition at line 41 of file IsothermalPhaseModel.C.
References basicThermo::he(), name, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, p, IOobject::scopedName(), GeometricField< Type, PatchField, GeoMesh >::T(), T, and thermo.

|
virtual |
Return whether the phase is isothermal.
Definition at line 59 of file IsothermalPhaseModel.C.
|
virtual |
Return the enthalpy equation.
Definition at line 67 of file IsothermalPhaseModel.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
