FreeFOAM The Cross-Platform CFD Toolkit
staticPressure Class Reference

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

#include <utilityFunctionObjects/staticPressure.H>


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 58 of file staticPressure.H.

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 wordname () 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.

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 50 of file staticPressure.C.

References Foam::endl(), Foam::nl, and WarningIn.

~staticPressure ( )
virtual

Definition at line 95 of file staticPressure.C.


Member Function Documentation

TypeName ( "staticPressure"  )

Runtime type information.

virtual const word& name ( ) const
inlinevirtual

Return name of the set of staticPressure.

Definition at line 116 of file staticPressure.H.

void read ( const dictionary dict)
virtual

Read the staticPressure data.

Definition at line 101 of file staticPressure.C.

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

void execute ( )
virtual

Execute, currently does nothing.

Definition at line 111 of file staticPressure.C.

void end ( )
virtual

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

Definition at line 117 of file staticPressure.C.

void write ( )
virtual

Calculate the staticPressure and write.

Definition at line 123 of file staticPressure.C.

References Foam::dimDensity, IOobject::NO_READ, p, and regIOobject::write().

virtual void updateMesh ( const mapPolyMesh )
inlinevirtual

Update for changes of mesh.

Definition at line 134 of file staticPressure.H.

virtual void movePoints ( const pointField )
inlinevirtual

Update for changes of mesh.

Definition at line 138 of file staticPressure.H.


The documentation for this class was generated from the following files: