37 namespace laminarModels
42 template<
class BasicMomentumTransportModel>
77 this->runTime_.timeName(),
82 viscosityModel_->nu(this->nu(), strainRate())
89 template<
class BasicMomentumTransportModel>
99 template<
class BasicMomentumTransportModel>
102 viscosityModel_->read(this->coeffDict_);
108 template<
class BasicMomentumTransportModel>
121 template<
class BasicMomentumTransportModel>
135 template<
class BasicMomentumTransportModel>
147 template<
class BasicMomentumTransportModel>
154 return nu_.boundaryField()[
patchi];
158 template<
class BasicMomentumTransportModel>
171 template<
class BasicMomentumTransportModel>
184 template<
class BasicMomentumTransportModel>
197 template<
class BasicMomentumTransportModel>
200 nu_ = viscosityModel_->nu(this->nu(), strainRate());
static autoPtr< generalizedNewtonianViscosityModel > New(const dictionary &viscosityProperties)
Return a reference to the selected viscosity model.
BasicMomentumTransportModel::transportModel transportModel
BasicMomentumTransportModel::alphaField alphaField
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 void correct()
Correct the generalizedNewtonian viscosity.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
const dimensionSet dimViscosity
dimensionedScalar sqrt(const dimensionedScalar &ds)
Calculate the matrix for the laplacian of the field.
Linear viscous stress turbulence model base class.
generalizedNewtonian(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
Construct from components.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate,.
BasicMomentumTransportModel::rhoField rhoField
Calculate the gradient of the given field.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static word groupName(Name name, const word &group)
virtual bool read()
Read momentumTransport dictionary.
Calculate the divergence of the given field.
virtual tmp< volScalarField > strainRate() const
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity,.
virtual tmp< volSymmTensorField > sigma() const
Return the stress tensor [m^2/s^2].
dimensioned< symmTensor > dimensionedSymmTensor
Dimensioned tensor obtained from generic dimensioned type.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
virtual void correct()
Correct the laminar transport.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensioned< scalar > mag(const dimensioned< Type > &)
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...