63 autoPtr<rhoThermo> thermo_;
74 const word& phaseName,
tmp< GeometricField< scalar, fvPatchField, volMesh > > T() const
const Internal & operator()() const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
Return a pointer to a new phase created on freestore.
iNew(const volScalarField &p, const volScalarField &T)
autoPtr< phaseModel > operator()(Istream &is) const
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const rhoThermo & thermo() const
Return const-access to phase rhoThermo.
void correct()
Correct the laminar viscosity.
phaseModel(const word &phaseName, const dictionary &phaseDict, const fvMesh &mesh)
phaseModel(const word &phaseName, const volScalarField &p, const volScalarField &T)
Construct from components.
const word & name() const
const volScalarField & dgdt() const
Return const-access to phase divergence.
volScalarField & dgdt()
Return access to phase divergence.
rhoThermo & thermo()
Return access to phase rhoThermo.
autoPtr< phaseModel > clone() const
Return clone.
const word & keyword() const
const word & keyword() const
autoPtr< phaseModel > clone() const
Return clone.
const word & name() const
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
Basic thermodynamic properties based on density.
A class for handling words, derived from Foam::string.
GeometricField< scalar, fvPatchField, volMesh > volScalarField