Class which represents a phase for which the temperature (strictly energy) varies. Returns the energy equation and corrects the thermodynamic model. More...


Public Member Functions | |
| AnisothermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index) | |
| virtual | ~AnisothermalPhaseModel () |
| Destructor. More... | |
| virtual void | correctThermo () |
| Correct the thermodynamics. More... | |
| virtual bool | isothermal () const |
| Return whether the phase is isothermal. More... | |
| virtual tmp< fvScalarMatrix > | heEqn () |
| Return the enthalpy equation. More... | |
Class which represents a phase for which the temperature (strictly energy) varies. Returns the energy equation and corrects the thermodynamic model.
Definition at line 50 of file AnisothermalPhaseModel.H.
| AnisothermalPhaseModel | ( | const phaseSystem & | fluid, |
| const word & | phaseName, | ||
| const bool | referencePhase, | ||
| const label | index | ||
| ) |
Definition at line 66 of file AnisothermalPhaseModel.C.
|
virtual |
Destructor.
Definition at line 81 of file AnisothermalPhaseModel.C.
|
virtual |
Correct the thermodynamics.
Definition at line 88 of file AnisothermalPhaseModel.C.
|
virtual |
Return whether the phase is isothermal.
Definition at line 97 of file AnisothermalPhaseModel.C.
|
virtual |
Return the enthalpy equation.
Definition at line 105 of file AnisothermalPhaseModel.C.
References Foam::fvc::absolute(), alpha(), Foam::fvc::ddt(), Foam::fvm::ddt(), Foam::fvc::div(), Foam::fvm::div(), he(), K, IOobject::name(), p, Qdot, tmp< T >::ref(), rho, Foam::fvm::Sp(), thermo, and U.
