41#ifndef nonlinearEddyViscosity_H
42#define nonlinearEddyViscosity_H
55template<
class BasicTurbulenceModel>
77 typedef typename BasicTurbulenceModel::alphaField
alphaField;
78 typedef typename BasicTurbulenceModel::rhoField
rhoField;
79 typedef typename BasicTurbulenceModel::transportModel
transportModel;
87 const word& modelName,
94 const word& propertiesName
eddyViscosity(const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct from components.
BasicTurbulenceModel::alphaField alphaField
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
nonlinearEddyViscosity(const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct from components.
BasicTurbulenceModel::rhoField rhoField
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
virtual ~nonlinearEddyViscosity()=default
Destructor.
volSymmTensorField nonlinearStress_
BasicTurbulenceModel::transportModel transportModel
virtual void correctNonlinearStress(const volTensorField &gradU)=0
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
GeometricField< tensor, fvPatchField, volMesh > volTensorField
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField