36 #ifndef CompressibleMomentumTransportModel_H 37 #define CompressibleMomentumTransportModel_H 51 template<
class TransportModel>
58 compressibleMomentumTransportModel,
93 const transportModel& transportModel
151 return mut(patchi) +
mu(patchi);
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.
Templated abstract base class for single-phase compressible turbulence models.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
static autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const transportModel &transportModel)
Return a reference to the selected turbulence model.
const transportModel & transport_
const volScalarField & rho() const
Return the density field.
virtual ~CompressibleMomentumTransportModel()
Destructor.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
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.
geometricOneField alphaField
virtual tmp< volScalarField > nut() const =0
Return the turbulence viscosity.
const volVectorField & U() const
Access function to velocity field.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
virtual tmp< volScalarField > mut() const
Return the turbulence dynamic viscosity.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
CompressibleMomentumTransportModel(const word &type, const geometricOneField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
Construct.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
const volScalarField & rho_
A class for managing temporary objects.
Templated abstract base class for turbulence models.
TransportModel transportModel