54 class PhaseCompressibleTurbulenceModel;
69 const twoPhaseSystem& fluid_;
74 dictionary phaseDict_;
84 autoPtr<rhoThermo> thermo_;
96 autoPtr<surfaceScalarField> phiPtr_;
99 autoPtr<diameterModel> dPtr_;
102 autoPtr<PhaseCompressibleTurbulenceModel<phaseModel>> turbulence_;
111 const twoPhaseSystem&
fluid,
112 const dictionary& phaseProperties,
113 const word& phaseName
124 const word&
name()
const 130 const twoPhaseSystem&
fluid()
const 142 return residualAlpha_;
180 return thermo_->nu();
186 return thermo_->nu(patchi);
190 tmp<volScalarField>
mu()
const 192 return thermo_->mu();
196 tmp<scalarField>
mu(
const label patchi)
const 198 return thermo_->mu(patchi);
202 tmp<scalarField>
kappa(
const label patchi)
const 204 return thermo_->kappa(patchi);
210 return thermo_->kappa();
214 tmp<volScalarField>
alphahe()
const 216 return thermo_->alphahe();
222 return thermo_->alphahe(patchi);
231 return thermo_->kappaEff(alphat);
241 return thermo_->kappaEff(alphat, patchi);
247 return thermo_->alpha();
253 return thermo_->alpha(patchi);
262 return thermo_->alphaEff(alphat);
272 return thermo_->alphaEff(alphat, patchi);
278 return thermo_->Cp();
284 return thermo_->rho();
const dimensionedScalar & Cp() const
void correctInflowOutflow(surfaceScalarField &alphaPhi) const
Ensure that the flux at inflow/outflow BCs is preserved.
const phaseModel & otherPhase() const
Return the other phase in this two-phase system.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const phaseSystem & fluid() const
Return the system to which this phase belongs.
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 PhaseCompressibleTurbulenceModel< phaseModel > & turbulence() const
Return the turbulence model.
GeometricField< vector, fvPatchField, volMesh > volVectorField
const surfaceScalarField & phi() const
const surfaceScalarField & alphaPhi() const
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const volVectorField & U() const
virtual tmp< volScalarField > mu() const =0
Return the laminar dynamic viscosity.
scalar alphaMax() const
Return the maximum phase-fraction (e.g. packing limit)
void correct()
Correct the phase properties.
const dimensionedScalar & kappa() const
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
phaseModel(const word &phaseName, const dictionary &phaseDict, const fvMesh &mesh)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
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.
const dimensionedScalar & residualAlpha() const
Return the residual phase-fraction for given phase.
const word & name() const
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
virtual bool read()
Read phase properties dictionary.
tmp< volScalarField > d() const
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
virtual ~phaseModel()
Destructor.