51 namespace laminarModels
58 template<
class BasicTurbulenceModel>
66 typedef typename BasicTurbulenceModel::alphaField
alphaField;
67 typedef typename BasicTurbulenceModel::rhoField
rhoField;
68 typedef typename BasicTurbulenceModel::transportModel
transportModel;
virtual ~Stokes()=default
Destructor.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity, i.e. the Stokes viscosity.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool read()
Read turbulenceProperties dictionary.
Linear viscous stress turbulence model base class.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
BasicTurbulenceModel::transportModel transportModel
BasicTurbulenceModel::rhoField rhoField
BasicTurbulenceModel::alphaField alphaField
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
TypeName("Stokes")
Runtime type information.
Stokes(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 autoPtr< Stokes > New(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
BasicTurbulenceModel::rhoField rhoField
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Turbulence model for Stokes flow.
virtual void correct()
Correct the Stokes viscosity.
BasicTurbulenceModel::alphaField alphaField
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity, i.e. 0 for Stokes flow.
BasicTurbulenceModel::transportModel transportModel