Go to the documentation of this file.
64 dictionary phaseDict_;
88 autoPtr<surfaceScalarField> phiPtr_;
91 autoPtr<diameterModel> dPtr_;
100 const word& phaseName,
101 const dictionary& phaseDict,
106 autoPtr<phaseModel>
clone()
const;
A keyword and a list of tokens is a 'dictionaryEntry'.
A class for handling words, derived from Foam::string.
const keyType & keyword() const
Return keyword.
virtual tmp< volScalarField > rho() const =0
Return the density field.
tmp< volScalarField > d() const
Return the Sauter-mean diameter.
const surfaceScalarField & alphaPhi() const
const word & keyword() const
Return the name of the phase for use as the keyword in PtrDictionary.
virtual void correct()
Correct the phase properties.
const dimensionedScalar & Cp() const
const dimensionedScalar & nu() const
virtual ~phaseModel()
Destructor.
static const dictionary null
An empty dictionary, which is also the parent for all dictionaries.
virtual tmp< volScalarField > kappa() const =0
Thermal diffusivity for temperature of mixture [J/m/s/K].
virtual tmp< volScalarField > nu() const =0
Return the laminar kinematic viscosity.
tmp< volScalarField > Cp() const
Return phase Cp.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
autoPtr< phaseModel > operator()(Istream &is) const
const volVectorField & DDtU() const
surfaceScalarField & phi()
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const word & name() const
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
const dimensionedScalar & rho() const
const surfaceScalarField & phi() const
virtual tmp< surfaceScalarField > phi() const =0
Return the volumetric flux.
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual tmp< surfaceScalarField > alphaPhi() const =0
Return the volumetric flux of the phase.
const word & name() const
Return the name of this phase.
const volVectorField & U() const
void correctInflowOutflow(surfaceScalarField &alphaPhi) const
Ensure that the flux at inflow/outflow BCs is preserved.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const word & keyword() const
virtual bool read()
Read phase properties dictionary.
virtual tmp< volVectorField > U() const =0
Return the velocity.
iNew(const phaseSystem &fluid)
surfaceScalarField & alphaPhi()
autoPtr< phaseModel > clone() const
Return clone.
const dimensionedScalar & kappa() const
phaseModel(const phaseSystem &fluid, const word &phaseName, const label index)