52 class PhaseCompressibleTurbulenceModel;
67 const twoPhaseSystem& fluid_;
72 dictionary phaseDict_;
82 autoPtr<rhoThermo> thermo_;
94 autoPtr<surfaceScalarField> phiPtr_;
97 autoPtr<diameterModel> dPtr_;
100 autoPtr<PhaseCompressibleTurbulenceModel<phaseModel>> turbulence_;
109 const twoPhaseSystem&
fluid,
110 const dictionary& phaseProperties,
111 const word& phaseName
140 return residualAlpha_;
178 return thermo_->nu();
184 return thermo_->nu(patchi);
190 return thermo_->mu();
196 return thermo_->mu(patchi);
202 return thermo_->kappa(patchi);
208 return thermo_->kappa();
217 return thermo_->kappaEff(alphat);
227 return thermo_->kappaEff(alphat, patchi);
233 return thermo_->alpha();
239 return thermo_->alpha(patchi);
248 return thermo_->alphaEff(alphat);
258 return thermo_->alphaEff(alphat, patchi);
264 return thermo_->Cp();
270 return thermo_->rho();
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Helper class to manage multi-specie phase properties.
virtual tmp< volScalarField > alpha() const =0
Return the laminar thermal diffusivity for enthalpy.
virtual tmp< volScalarField > kappaEff(const volScalarField &alphat) const =0
Return the effective thermal conductivity.
phaseModel(const word &phaseName, const volScalarField &p, const volScalarField &T)
Construct from components.
GeometricField< vector, fvPatchField, volMesh > volVectorField
const dimensionedScalar & residualAlpha() const
Return the residual phase-fraction for given phase.
Class which solves the volume fraction equations for two phases.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual const phaseCompressibleTurbulenceModel & turbulence() const =0
Return the turbulence model.
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const =0
Return the effective thermal diffusivity for enthalpy.
virtual ~phaseModel()
Destructor.
virtual tmp< volScalarField > mu() const =0
Return the laminar dynamic viscosity.
virtual bool read()
Read phase properties dictionary.
A class for handling words, derived from string.
const dimensionedScalar & rho() const
const phaseModel & otherPhase() const
Return the other phase in this two-phase system.
const dimensionedScalar & nu() const
Return the laminar viscosity.
void correct()
Correct the laminar viscosity.
const volVectorField & U() const
Templated abstract base class for multiphase compressible turbulence models.
tmp< volScalarField > d() const
virtual tmp< surfaceScalarField > alphaRhoPhi() const =0
Constant access the mass flux of the phase.
const word & name() const
const rhoThermo & thermo() const
Return const-access to phase rhoThermo.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionedScalar & Cp() const
Basic thermodynamic properties based on density.
const surfaceScalarField & alphaPhi() const
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const phaseSystem & fluid() const
Return the system to which this phase belongs.
const surfaceScalarField & phi() const
const dimensionedScalar & kappa() const
scalar alphaMax() const
Return the maximum phase-fraction (e.g. packing limit)