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>
163 nu_ = viscosityModel_->nu(this->
nu(), strainRate());
BasicMomentumTransportModel::transportModel transportModel
BasicMomentumTransportModel::alphaField alphaField
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
virtual void correct()
Correct the generalizedNewtonian viscosity.
const dimensionSet dimViscosity
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 matrix for the laplacian of the field.
Linear viscous stress turbulence model base class.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
BasicMomentumTransportModel::rhoField rhoField
Calculate the gradient of the given field.
A class for handling words, derived from Foam::string.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
static autoPtr< generalizedNewtonianViscosityModel > New(const dictionary &dict)
Select a viscosity model.
virtual bool read()
Read turbulence (momentumTransport) dictionary.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
Calculate the divergence of the given field.
virtual tmp< volScalarField > strainRate() const
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity,.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
virtual void correct()
Correct the laminar transport.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Automatically write from objectRegistry::writeObject()
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Defines the attributes of an object for which implicit objectRegistry management is supported...
static constexpr const zero Zero
Global zero (0)