39 #ifndef PhaseCompressibleTurbulenceModel_H 40 #define PhaseCompressibleTurbulenceModel_H 54 template<
class TransportModel>
55 class PhaseCompressibleTurbulenceModel
57 public TurbulenceModel
61 compressibleTurbulenceModel,
143 return mut(patchi) +
mu(patchi);
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
PhaseCompressibleTurbulenceModel(const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct.
const volVectorField & U() const
Access function to velocity field.
TransportModel transportModel
volScalarField alphaField
virtual ~PhaseCompressibleTurbulenceModel()=default
Destructor.
const transportModel & transport() const
Access function to incompressible transport model.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
static autoPtr< PhaseCompressibleTurbulenceModel > New(const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transportModel, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
const alphaField & alpha() const
Access function to phase fraction.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
const volScalarField & rho_
const volScalarField & rho() const
Return the density field.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
virtual tmp< volScalarField > mut() const
Return the turbulence dynamic viscosity.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
TransportModel transportModel
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
virtual tmp< volScalarField > nut() const =0
Return the turbulence viscosity.
A class for managing temporary objects.
const transportModel & transport_
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.