45 namespace laminarModels
52 template<
class BasicMomentumTransportModel>
60 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
61 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
73 const alphaField&
alpha,
87 const alphaField&
alpha,
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity, i.e. the Stokes viscosity.
Stokes(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
virtual bool read()
Read momentumTransport dictionary.
Linear viscous stress turbulence model base class.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
BasicMomentumTransportModel::rhoField rhoField
TypeName("Stokes")
Runtime type information.
virtual ~Stokes()
Destructor.
Abstract base class for all fluid physical properties.
BasicMomentumTransportModel::alphaField alphaField
static autoPtr< Stokes > New(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Return a reference to the selected turbulence model.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Momentum transport model for Stokes flow.
virtual void correct()
Correct the Stokes viscosity.
A class for managing temporary objects.