Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
a3ae26c4
Commit
a3ae26c4
authored
Feb 25, 2010
by
Andrew Heather
Browse files
STYLE: added definition of strain rate to viscosity model header
parent
068e6779
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/transportModels/incompressible/viscosityModels/viscosityModel/viscosityModel.H
View file @
a3ae26c4
...
...
@@ -32,7 +32,12 @@ Class
Foam::viscosityModel
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
viscosityModel.C
...
...
@@ -131,10 +136,9 @@ public:
);
// Destructor
virtual
~
viscosityModel
()
{}
//- Destructor
virtual
~
viscosityModel
()
{}
// Member Functions
...
...
@@ -145,7 +149,7 @@ public:
return
viscosityProperties_
;
}
//- Return the strain rate
mag(grad(U))
//- Return the strain rate
tmp
<
volScalarField
>
strainRate
()
const
;
//- Return the laminar viscosity
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment