46 #ifndef strainRateFunction_H
47 #define strainRateFunction_H
56 namespace laminarModels
58 namespace generalisedNewtonianViscosityModels
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Run-time selected strain-rate function generalised Newtonian viscosity model.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
strainRateFunction(const dictionary &viscosityProperties, const Foam::viscosity &viscosity, const volVectorField &U)
Construct from components.
virtual ~strainRateFunction()
Destructor.
TypeName("strainRateFunction")
Runtime type information.
An abstract base class for strain-rate dependent generalised Newtonian viscosity models.
virtual tmp< volScalarField > strainRate() const
Return the strain-rate obtained from the velocity field.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
A class for managing temporary objects.
Abstract base class for all fluid physical properties.