Go to the documentation of this file.
97 const word& phaseName,
109 const word& phaseName,
122 const word& phaseName,
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const =0
Return the effective thermal diffusivity for enthalpy.
virtual tmp< fvScalarMatrix > heEqn()=0
Return the enthalpy equation.
A class for handling words, derived from string.
virtual const tmp< volScalarField > & divU() const
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi))
virtual tmp< fvScalarMatrix > YiEqn(volScalarField &Yi)=0
Return the species fraction equation.
A class for managing temporary objects.
const surfaceScalarField & alphaPhi() const
virtual ~phaseModel()
Destructor.
virtual bool read()
Read phase properties dictionary.
virtual const volScalarField & K() const
Return the phase kinetic energy.
virtual void correctTurbulence()
Correct the turbulence.
const rhoThermo & thermo() const
Return const-access to phase rhoThermo.
scalar alphaMax_
Optional maximum phase-fraction (e.g. packing limit)
Forward declarations of fvMatrix specializations.
virtual tmp< fvVectorMatrix > UEqn()=0
Return the momentum equation.
virtual const PtrList< volScalarField > & Y() const =0
Constant access the species mass fractions.
scalar alphaMax() const
Return the maximum phase-fraction (e.g. packing limit)
declareRunTimeSelectionTable(autoPtr, phaseModel, phaseSystem,(const phaseSystem &fluid, const word &phaseName, const label index),(fluid, phaseName, index))
const dimensionedScalar & nu() const
virtual tmp< volScalarField > kappaEff(const volScalarField &alphat) const =0
Return the effective thermal conductivity.
label index() const
Return the index of the phase.
tmp< volScalarField > d() const
dimensionedScalar residualAlpha_
Return the residual phase-fraction for given phase.
Basic thermodynamic properties based on density.
virtual tmp< volScalarField > alpha() const =0
Return the laminar thermal diffusivity for enthalpy.
autoPtr< diameterModel > diameterModel_
Diameter model.
virtual tmp< surfaceScalarField > alphaRhoPhi() const =0
Constant access the mass flux of the phase.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void correctKinematics()
Correct the kinematics.
Pre-declare SubField and related Field type.
phaseModel(const word &phaseName, const volScalarField &p, const volScalarField &T)
Construct from components.
virtual const surfaceScalarField & DbyA() const
Return the phase diffusivity divided by the momentum coefficient.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
autoPtr< phaseModel > operator()(Istream &is) const
autoPtr< phaseModel > clone() const
Return clone.
const phaseSystem & fluid() const
Return the system to which this phase belongs.
iNew(const volScalarField &p, const volScalarField &T)
ClassName("phaseModel")
Runtime type information.
virtual void correctThermo()
Correct the thermodynamics.
label index_
Index of phase.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const word & name() const
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Return a pointer to a new phaseModel created on freestore.
const phaseSystem & fluid_
virtual tmp< volScalarField > mu() const =0
Return the laminar dynamic viscosity.
Generic dimensioned Type class.
const dimensionedScalar & rho() const
const surfaceScalarField & phi() const
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< phaseModel > New(const phaseSystem &fluid, const word &phaseName, const label index)
virtual const phaseCompressibleTurbulenceModel & turbulence() const =0
Return the turbulence model.
const volVectorField & U() const
const word & keyword() const
Macros to ease declaration of run-time selection tables.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
virtual void correctEnergyTransport()
Correct the energy transport e.g. alphat.
const phaseSystem & fluid_
Reference to the phaseSystem to which this phase belongs.
virtual tmp< volScalarField > continuityError() const =0
Constant access the continuity error.
virtual bool compressible() const
Return true if the phase is compressible otherwise false.
Class to represent a system of phases and model interfacial transfers between them.
Generic GeometricField class.
const dimensionedScalar & kappa() const
const dimensionedScalar & residualAlpha() const
Return the residual phase-fraction for given phase.
virtual tmp< volVectorField > DUDt() const =0
Return the substantive acceleration.