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...
Public Member Functions | |
IsothermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index) | |
virtual | ~IsothermalPhaseModel ()=default |
virtual void | correctThermo () |
virtual bool | isothermal () const |
virtual tmp< fvScalarMatrix > | heEqn () |
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 28 of file IsothermalPhaseModel.C.
|
virtualdefault |
|
virtual |
Definition at line 41 of file IsothermalPhaseModel.C.
References correctThermo(), Foam::name(), Foam::New(), p, T, and thermo.
|
virtual |
Definition at line 61 of file IsothermalPhaseModel.C.
|
virtual |
Definition at line 69 of file IsothermalPhaseModel.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.