54class 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
142 return residualAlpha_;
180 return thermo_->nu();
186 return thermo_->nu(patchi);
192 return thermo_->mu();
198 return thermo_->mu(patchi);
204 return thermo_->kappa(patchi);
210 return thermo_->kappa();
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();
Templated abstract base class for multiphase compressible turbulence models.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const rhoThermo & thermo() const
Return the thermophysical model.
const volVectorField & U() const
Return the velocity.
tmp< scalarField > alpha(const label patchi) const
Return the laminar thermal diffusivity for enthalpy on a patch.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
const phaseSystem & fluid() const
Return the system to which this phase belongs.
const PhaseCompressibleTurbulenceModel< phaseModel > & turbulence() const
Return the turbulence model.
const volScalarField & rho() const
Return the density.
surfaceScalarField & alphaRhoPhi()
Return non-const access to the mass flux of the phase.
tmp< scalarField > kappaEff(const scalarField &alphat, const label patchi) const
Return the laminar thermal conductivity on a patch.
tmp< volScalarField > Cp() const
Return the specific heat capacity.
const surfaceScalarField & alphaRhoPhi() const
Return the mass flux of the phase.
const dimensionedScalar & residualAlpha() const
Return the residual phase-fraction for given phase.
tmp< volScalarField > kappa() const
Return the thermal conductivity.
tmp< scalarField > mu(const label patchi) const
Return the laminar dynamic viscosity for patch.
tmp< scalarField > alphahe(const label patchi) const
Thermal diffusivity for energy of mixture for patch [kg/m/s].
tmp< volScalarField > d() const
Return the Sauter-mean diameter.
virtual tmp< surfaceScalarField > alphaRhoPhi() const =0
Return the mass flux of the phase.
void correct()
Correct the phase properties.
virtual ~phaseModel()
Destructor.
phaseModel(const word &phaseName, const dictionary &phaseDict, const fvMesh &mesh)
const surfaceScalarField & phi() const
Return the volumetric flux.
virtual tmp< volScalarField > alphahe() const =0
Thermal diffusivity for energy of mixture [kg/m/s].
const word & name() const
Return the name of this phase.
tmp< volScalarField > kappaEff(const volScalarField &alphat) const
Return the laminar thermal conductivity.
surfaceScalarField & phi()
Return non-const access to the volumetric flux.
scalar alphaMax() const
Return the maximum phase-fraction (e.g. packing limit)
const dimensionedScalar & rho() const
const phaseModel & otherPhase() const
Return the other phase in this two-phase system.
tmp< scalarField > kappa(const label patchi) const
Return the thermal conductivity on a patch.
virtual tmp< volScalarField > alpha() const =0
Thermal diffusivity for enthalpy of mixture [kg/m/s].
tmp< scalarField > nu(const label patchi) const
Return the laminar viscosity for patch.
const dimensionedScalar & nu() const
Return the laminar viscosity.
tmp< volScalarField > d() const
tmp< volScalarField > nu() const
Return the laminar viscosity.
tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Return the effective thermal diffusivity for enthalpy.
const surfaceScalarField & alphaPhi() const
Return the volumetric flux of the phase.
tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
const dimensionedScalar & Cp() const
tmp< scalarField > alphaEff(const scalarField &alphat, const label patchi) const
Return the effective thermal diffusivity for enthalpy on a patch.
surfaceScalarField & alphaPhi()
Return non-const access to the volumetric flux of the phase.
virtual tmp< volScalarField > kappaEff() const =0
Effective thermal turbulent diffusivity for temperature.
virtual bool read()
Dummy Read for transportModel.
tmp< volScalarField > alpha() const
Return the laminar thermal diffusivity for enthalpy.
void correctInflowOutflow(surfaceScalarField &alphaPhi) const
Ensure that the flux at inflow/outflow BCs is preserved.
tmp< volScalarField > alphahe() const
Thermal diffusivity for energy of mixture [kg/m/s].
virtual ~phaseModel()
Destructor.
const word & name() const
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
virtual tmp< volScalarField > alphaEff() const =0
Effective thermal turbulent diffusivity of mixture [kg/m/s].
virtual tmp< volScalarField > mu() const =0
Return the laminar dynamic viscosity.
const twoPhaseSystem & fluid() const
Return the twoPhaseSystem to which this phase belongs.
virtual bool read()
Read phase properties dictionary.
const dimensionedScalar & kappa() const
Helper class to manage multi-specie phase properties.
Basic thermodynamic properties based on density.
A class for managing temporary objects.
Class which solves the volume fraction equations for two phases.
A class for handling words, derived from Foam::string.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField