37 namespace laminarModels
42 template<
class BasicMomentumTransportModel>
78 template<
class BasicMomentumTransportModel>
81 viscosityModel_->read(this->coeffDict_);
87 template<
class BasicMomentumTransportModel>
93 this->groupName(
"nuEff"),
99 template<
class BasicMomentumTransportModel>
106 return viscosityModel_->nu(
patchi);
110 template<
class BasicMomentumTransportModel>
113 viscosityModel_->correct();
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
Templated abstract base class for laminar transport models.
virtual void predict()
Predict the laminar viscosity.
An abstract base class for generalised Newtonian viscosity models.
BasicMomentumTransportModel::alphaField alphaField
virtual void predict()
Predict the generalisedNewtonian viscosity.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.
generalisedNewtonian(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct from components.
virtual bool read()
Read momentumTransport dictionary.
BasicMomentumTransportModel::rhoField rhoField
Linear viscous stress turbulence model base class.
A class for managing temporary objects.
Abstract base class for all fluid physical properties.
Calculate the divergence of the given field.
Calculate the gradient of the given field.
Calculate the matrix for the laplacian of the field.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)