OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

flowType.C File Reference

Calculates and writes the flowType of velocity field U. More...

Go to the source code of this file.


Detailed Description

Calculates and writes the flowType of velocity field U.

Original source file flowType.C

The -noWrite option has no meaning.

The flow type parameter is obtained according to the following equation:

             |D| - |Omega|
    lambda = -------------
             |D| + |Omega|

    -1 = rotational flow
     0 = simple shear flow
     1 = planar extensional flow

Definition in file flowType.C.

Copyright © 2000-2009 OpenCFD Ltd