37 namespace laminarModels
42 template<
class BasicMomentumTransportModel>
81 this->runTime_.timeName(),
86 viscosityModel_->nu(this->nu(), strainRate())
93 template<
class BasicMomentumTransportModel>
103 template<
class BasicMomentumTransportModel>
106 viscosityModel_->read(this->coeffDict_);
112 template<
class BasicMomentumTransportModel>
124 template<
class BasicMomentumTransportModel>
131 return nu_.boundaryField()[
patchi];
135 template<
class BasicMomentumTransportModel>
138 nu_ = viscosityModel_->nu(this->nu(), strainRate());
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual bool read()
Read momentumTransport dictionary.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
dimensionedScalar sqrt(const dimensionedScalar &ds)
Calculate the matrix for the laplacian of the field.
Linear viscous stress turbulence model base class.
BasicMomentumTransportModel::transportModel transportModel
generalisedNewtonian(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
Construct from components.
BasicMomentumTransportModel::rhoField rhoField
virtual void correct()
Correct the generalisedNewtonian viscosity.
static autoPtr< generalisedNewtonianViscosityModel > New(const dictionary &viscosityProperties)
Return a reference to the selected viscosity model.
Calculate the gradient of the given field.
static word groupName(Name name, const word &group)
BasicMomentumTransportModel::alphaField alphaField
Calculate the divergence of the given field.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
virtual void correct()
Correct the laminar transport.
virtual tmp< volScalarField > strainRate() const
dimensioned< scalar > mag(const dimensioned< Type > &)
static word modelName(Name name, const word &model)
Return the name of the object within the given model.
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...