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_->alpha();
208 return thermo_->alpha(patchi);
214 return thermo_->kappa(patchi);
221 return thermo_->kappa();
227 return thermo_->alphahe();
233 return thermo_->alphahe(patchi);
243 return thermo_->kappaEff(alphat);
254 return thermo_->kappaEff(alphat, patchi);
263 return thermo_->alphaEff(alphat);
274 return thermo_->alphaEff(alphat, patchi);
280 return thermo_->Cp();
286 return thermo_->rho();
const dimensionedScalar & Cp() const
void correctInflowOutflow(surfaceScalarField &alphaPhi) const
Ensure that the flux at inflow/outflow BCs is preserved.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const PhaseCompressibleTurbulenceModel< phaseModel > & turbulence() const
Return the turbulence model.
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
Thermal diffusivity for enthalpy of mixture [kg/m/s].
virtual tmp< volScalarField > alphaEff() const =0
Effective thermal turbulent diffusivity of mixture [kg/m/s].
const word & name() const
tmp< volScalarField > d() const
phaseModel(const word &phaseName, const volScalarField &p, const volScalarField &T)
Construct from components.
GeometricField< vector, fvPatchField, volMesh > volVectorField
const surfaceScalarField & phi() const
Class which solves the volume fraction equations for two phases.
const surfaceScalarField & alphaPhi() const
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const volVectorField & U() const
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 rhoThermo & thermo() const
Return const-access to phase rhoThermo.
const phaseModel & otherPhase() const
Return the other phase in this two-phase system.
const dimensionedScalar & residualAlpha() const
Return the residual phase-fraction for given phase.
void correct()
Correct the laminar viscosity.
const dimensionedScalar & kappa() const
scalar alphaMax() const
Return the maximum phase-fraction (e.g. packing limit)
const dimensionedScalar & nu() const
Return the laminar viscosity.
Templated abstract base class for multiphase compressible turbulence models.
virtual tmp< surfaceScalarField > alphaRhoPhi() const =0
Return the mass flux of the phase.
const dimensionedScalar & rho() const
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const phaseSystem & fluid() const
Return the system to which this phase belongs.
virtual tmp< volScalarField > alphahe() const =0
Thermal diffusivity for energy of mixture [kg/m/s].
virtual tmp< volScalarField > kappaEff() const =0
Effective thermal turbulent diffusivity for temperature.
Basic thermodynamic properties based on density.
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...