45 namespace laminarModels
52 template<
class BasicTurbulenceModel>
60 typedef typename BasicTurbulenceModel::alphaField
alphaField;
61 typedef typename BasicTurbulenceModel::rhoField
rhoField;
62 typedef typename BasicTurbulenceModel::transportModel
transportModel;
74 const alphaField&
alpha,
79 const transportModel& transport,
89 const alphaField&
alpha,
94 const transportModel& transport,
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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 any number of values (e...
virtual bool read()
Read turbulenceProperties dictionary.
Linear viscous stress turbulence model base class.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate,.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
TypeName("Stokes")
Runtime type information.
virtual ~Stokes()
Destructor.
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.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor, i.e. 0 for Stokes flow.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy, i.e. 0 for Stokes flow.
BasicTurbulenceModel::rhoField rhoField
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
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