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

turbGen Class Reference

Generate a turbulent velocity field conforming to a given energy spectrum and being divergence free. More...

Collaboration diagram for turbGen:

List of all members.


Public Member Functions

 turbGen (const Kmesh &k, const scalar EA, const scalar K0)
 Construct from components.
vectorField U ()
 Generate and return a velocity field.

Detailed Description

Generate a turbulent velocity field conforming to a given energy spectrum and being divergence free.

Source files

Definition at line 49 of file turbGen.H.


Constructor & Destructor Documentation

turbGen ( const Kmesh &  k,
const scalar  EA,
const scalar  K0 
)

Construct from components.

Definition at line 33 of file turbGen.C.

References K, and k().

Here is the call graph for this function:


Member Function Documentation

vectorField U (  ) 

Generate and return a velocity field.

Definition at line 45 of file turbGen.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd