GfsSourceViscosity

From Gerris

(Difference between revisions)
Jump to: navigation, search
Revision as of 05:02, 5 October 2008
Popinet (Talk | contribs)

← Previous diff
Revision as of 21:58, 21 April 2009
Popinet (Talk | contribs)
(The viscosity is the dynamic viscosity not kinematic)
Next diff →
Line 6: Line 6:
[ [[GfsSourceVelocity]] ] [ [[GfsDiffusion]] ] [ [[GfsSourceVelocity]] ] [ [[GfsDiffusion]] ]
 +
 +where <code>[[GfsDiffusion]]</code> defines the dynamic viscosity of the fluid.
<examples/> <examples/>

Revision as of 21:58, 21 April 2009

GfsSourceViscosity solves the diffusion equation for the velocity (a vector quantity obviously) while GfsSourceDiffusion solves the diffusion equation for a scalar quantity. In the case of a spatially uniform viscosity the two are strictly equivalent since — in the case of an incompressible fluid — the vector diffusion equation for the velocity can be split in independent scalar diffusion equations for each of the Cartesian components of the velocities.

To sum up, using GfsSourceViscosity is safe in all cases, regardless of whether the viscosity is uniform.

The syntax in parameter files is:

[ GfsSourceVelocity ] [ GfsDiffusion ]

where GfsDiffusion defines the dynamic viscosity of the fluid.

Examples

Personal tools
communication