37 namespace laminarModels
42 template<
class BasicMomentumTransportModel>
79 template<
class BasicMomentumTransportModel>
82 viscosityModel_->read(this->typeDict());
88 template<
class BasicMomentumTransportModel>
94 this->groupName(
"nuEff"),
100 template<
class BasicMomentumTransportModel>
107 return viscosityModel_->nu(
patchi);
111 template<
class BasicMomentumTransportModel>
114 viscosityModel_->correct();
Generic GeometricField class.
static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, 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, const word &type=typeName)
Construct from components.
virtual bool read()
Read momentumTransport dictionary.
BasicMomentumTransportModel::rhoField rhoField
Linear viscous stress momentum transport model base class.
A class for managing temporary objects.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
Abstract base class for all fluid physical properties.
A class for handling words, derived from string.
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, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.