36 #ifndef PhaseCompressibleMomentumTransportModel_H 37 #define PhaseCompressibleMomentumTransportModel_H 51 template<
class TransportModel>
58 compressibleMomentumTransportModel,
76 const alphaField&
alpha,
90 const alphaField&
alpha,
95 const transportModel& transportModel
153 return mut(patchi) +
mu(patchi);
Templated abstract base class for multiphase compressible turbulence models.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
const transportModel & transport() const
Access function to incompressible transport model.
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 Boundary & boundaryField() const
Return const-reference to the boundary field.
const transportModel & transport_
static autoPtr< PhaseCompressibleMomentumTransportModel > New(const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transportModel)
Return a reference to the selected turbulence model.
const volScalarField & rho() const
Return the density field.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
TransportModel transportModel
A class for handling words, derived from string.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
const alphaField & alpha() const
Access function to phase fraction.
PhaseCompressibleMomentumTransportModel(const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
Construct.
virtual ~PhaseCompressibleMomentumTransportModel()
Destructor.
virtual tmp< volScalarField > nut() const =0
Return the turbulence viscosity.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
volScalarField alphaField
const volVectorField & U() const
Access function to velocity field.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const volScalarField & rho_
A class for managing temporary objects.
Templated abstract base class for turbulence models.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
virtual tmp< volScalarField > mut() const
Return the turbulence dynamic viscosity.