37 namespace laminarModels
42 template<
class BasicTurbulenceModel>
51 const word& propertiesName
79 this->runTime_.timeName(),
84 viscosityModel_->nu(this->nu(), strainRate())
91 template<
class BasicTurbulenceModel>
101 template<
class BasicTurbulenceModel>
104 viscosityModel_->read(this->coeffDict_);
110 template<
class BasicTurbulenceModel>
123 template<
class BasicTurbulenceModel>
137 template<
class BasicTurbulenceModel>
149 template<
class BasicTurbulenceModel>
156 return nu_.boundaryField()[
patchi];
160 template<
class BasicTurbulenceModel>
173 template<
class BasicTurbulenceModel>
186 template<
class BasicTurbulenceModel>
199 template<
class BasicTurbulenceModel>
202 nu_ = viscosityModel_->nu(this->
nu(), strainRate());
static autoPtr< generalizedNewtonianViscosityModel > New(const dictionary &viscosityProperties)
Return a reference to the selected viscosity model.
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.
BasicTurbulenceModel::rhoField rhoField
virtual void correct()
Correct the generalizedNewtonian viscosity.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimViscosity
dimensionedScalar sqrt(const dimensionedScalar &ds)
Calculate the matrix for the laplacian of the field.
Linear viscous stress turbulence model base class.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
generalizedNewtonian(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
Construct from components.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Mesh &, const dimensionSet &, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return a temporary field constructed from name, mesh, dimensionSet.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate,.
Calculate the gradient of the given field.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static word groupName(Name name, const word &group)
virtual bool read()
Read turbulenceProperties dictionary.
Calculate the divergence of the given field.
virtual tmp< volScalarField > strainRate() const
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity,.
dimensioned< symmTensor > dimensionedSymmTensor
Dimensioned tensor obtained from generic dimensioned type.
BasicTurbulenceModel::alphaField alphaField
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)
BasicTurbulenceModel::transportModel transportModel
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.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...