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

staticPressure Class Reference

Converts kinematic pressure to static pressure, from the name of the pressure field, and density, i.e. More...

Collaboration diagram for staticPressure:

List of all members.


Public Member Functions

 TypeName ("staticPressure")
 Runtime type information.
 staticPressure (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false)
 Construct for given objectRegistry and dictionary.
virtual ~staticPressure ()
virtual const word & name () const
 Return name of the set of staticPressure.
virtual void read (const dictionary &)
 Read the staticPressure data.
virtual void execute ()
 Execute, currently does nothing.
virtual void end ()
 Execute at the final time-loop, currently does nothing.
virtual void write ()
 Calculate the staticPressure and write.
virtual void updateMesh (const mapPolyMesh &)
 Update for changes of mesh.
virtual void movePoints (const pointField &)
 Update for changes of mesh.

Detailed Description

Converts kinematic pressure to static pressure, from the name of the pressure field, and density, i.e.

p_static = density*p_kinematic

Source files

Definition at line 53 of file staticPressure.H.


Constructor & Destructor Documentation

staticPressure ( const word &  name,
const objectRegistry &  obr,
const dictionary &  dict,
const bool  loadFromFiles = false 
)

Construct for given objectRegistry and dictionary.

Allow the possibility to load fields from files

Definition at line 42 of file staticPressure.C.

~staticPressure (  )  [virtual]

Definition at line 87 of file staticPressure.C.


Member Function Documentation

TypeName ( "staticPressure"   ) 

Runtime type information.

virtual const word& name (  )  const [inline, virtual]

Return name of the set of staticPressure.

Definition at line 113 of file staticPressure.H.

void read ( const dictionary &  dict  )  [virtual]

Read the staticPressure data.

Definition at line 93 of file staticPressure.C.

void execute (  )  [virtual]

Execute, currently does nothing.

Definition at line 103 of file staticPressure.C.

References dictionary::lookup(), and dictionary::readIfPresent().

Here is the call graph for this function:

void end (  )  [virtual]

Execute at the final time-loop, currently does nothing.

Definition at line 109 of file staticPressure.C.

void write (  )  [virtual]

Calculate the staticPressure and write.

Definition at line 115 of file staticPressure.C.

virtual void updateMesh ( const mapPolyMesh &   )  [inline, virtual]

Update for changes of mesh.

Definition at line 131 of file staticPressure.H.

virtual void movePoints ( const pointField &   )  [inline, virtual]

Update for changes of mesh.

Definition at line 135 of file staticPressure.H.


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