32 template<
class TransportModel>
38 const geometricOneField&
rho,
42 const TransportModel& transportModel,
43 const word& propertiesName
50 incompressibleTurbulenceModel,
67 template<
class TransportModel>
75 const TransportModel& transportModel,
76 const word& propertiesName
79 return autoPtr<DPMIncompressibleTurbulenceModel>
81 static_cast<DPMIncompressibleTurbulenceModel*
>(
86 incompressibleTurbulenceModel,
104 template<
class TransportModel>
112 IOobject::groupName(
"pPrime", this->alphaRhoPhi_.group()),
113 this->runTime_.timeName(),
124 template<
class TransportModel>
132 IOobject::groupName(
"pPrimef", this->alphaRhoPhi_.group()),
133 this->runTime_.timeName(),
144 template<
class TransportModel>
152 template<
class TransportModel>
159 return devRhoReff(
U);
163 template<
class TransportModel>
170 return divDevRhoReff(
U);
174 template<
class TransportModel>
184 template<
class TransportModel>
197 template<
class TransportModel>
206 return divDevReff(
U);
virtual tmp< fvVectorMatrix > divDevReff(volVectorField &U) const
Return the source term for the momentum equation.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
const dimensionSet dimPressure
virtual tmp< volSymmTensorField > devReff() const
Return the effective stress tensor.
DPMIncompressibleTurbulenceModel(const word &type, const alphaField &alpha, const geometricOneField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const TransportModel &transportModel, const word &propertiesName)
Construct.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
static autoPtr< DPMIncompressibleTurbulenceModel > New(const alphaField &alpha, 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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
static constexpr const zero Zero
Global zero (0)