Commit a3ae26c4 authored by Andrew Heather's avatar Andrew Heather
Browse files

STYLE: added definition of strain rate to viscosity model header

parent 068e6779
...@@ -32,7 +32,12 @@ Class ...@@ -32,7 +32,12 @@ Class
Foam::viscosityModel Foam::viscosityModel
Description Description
An abstract base class for incompressible viscosityModels An abstract base class for incompressible viscosityModels.
The strain rate is defined by:
mag(symm(grad(U)))
SourceFiles SourceFiles
viscosityModel.C viscosityModel.C
...@@ -131,10 +136,9 @@ public: ...@@ -131,10 +136,9 @@ public:
); );
// Destructor //- Destructor
virtual ~viscosityModel()
virtual ~viscosityModel() {}
{}
// Member Functions // Member Functions
...@@ -145,7 +149,7 @@ public: ...@@ -145,7 +149,7 @@ public:
return viscosityProperties_; return viscosityProperties_;
} }
//- Return the strain rate mag(grad(U)) //- Return the strain rate
tmp<volScalarField> strainRate() const; tmp<volScalarField> strainRate() const;
//- Return the laminar viscosity //- Return the laminar viscosity
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment