Go to the documentation of this file.
40 namespace laminarModels
45 template<
class BasicMomentumTransportModel>
54 const word& propertiesName
82 this->runTime_.timeName(),
87 viscosityModel_->nu(this->nu(), strainRate())
94 template<
class BasicMomentumTransportModel>
104 template<
class BasicMomentumTransportModel>
107 viscosityModel_->read(this->coeffDict_);
113 template<
class BasicMomentumTransportModel>
126 template<
class BasicMomentumTransportModel>
137 template<
class BasicMomentumTransportModel>
149 template<
class BasicMomentumTransportModel>
156 return nu_.boundaryField()[patchi];
160 template<
class BasicMomentumTransportModel>
173 template<
class BasicMomentumTransportModel>
186 template<
class BasicMomentumTransportModel>
199 template<
class BasicMomentumTransportModel>
202 nu_ = viscosityModel_->nu(this->
nu(), strainRate());
Defines the attributes of an object for which implicit objectRegistry management is supported,...
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity,.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate,.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for handling words, derived from Foam::string.
dimensioned< symmTensor > dimensionedSymmTensor
Dimensioned tensor obtained from generic dimensioned type.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
Calculate the divergence of the given field.
BasicMomentumTransportModel::rhoField rhoField
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return tmp field from name, mesh, dimensions and patch type.
virtual bool read()
Read turbulence (momentumTransport) dictionary.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Linear viscous stress turbulence model base class.
Calculate the matrix for the laplacian of the field.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
BasicMomentumTransportModel::alphaField alphaField
const dimensionSet dimViscosity
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.
virtual void correct()
Correct the laminar transport.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
generalizedNewtonian(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct from components.
dimensionedScalar sqrt(const dimensionedScalar &ds)
Calculate the gradient of the given field.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static tmp< T > New(Args &&... args)
Construct tmp of T with forwarding arguments.
static autoPtr< generalizedNewtonianViscosityModel > New(const dictionary &dict)
Select a viscosity model.
virtual void correct()
Correct the generalizedNewtonian viscosity.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
BasicMomentumTransportModel::transportModel transportModel
virtual tmp< volScalarField > strainRate() const