Converts kinematic pressure to static pressure, from the name of the pressure field, and density, i.e. More...
#include <utilityFunctionObjects/staticPressure.H>
Converts kinematic pressure to static pressure, from the name of the pressure field, and density, i.e.
p_static = density*p_kinematic
Definition at line 58 of file staticPressure.H.
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. | |
| 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.
|
virtual |
Definition at line 95 of file staticPressure.C.
| TypeName | ( | "staticPressure" | ) |
Runtime type information.
|
inlinevirtual |
Return name of the set of staticPressure.
Definition at line 116 of file staticPressure.H.
|
virtual |
Read the staticPressure data.
Definition at line 101 of file staticPressure.C.
References dictionary::lookup(), and dictionary::readIfPresent().
|
virtual |
Execute, currently does nothing.
Definition at line 111 of file staticPressure.C.
|
virtual |
Execute at the final time-loop, currently does nothing.
Definition at line 117 of file staticPressure.C.
|
virtual |
Calculate the staticPressure and write.
Definition at line 123 of file staticPressure.C.
References Foam::dimDensity, IOobject::NO_READ, p, and regIOobject::write().
|
inlinevirtual |
Update for changes of mesh.
Definition at line 134 of file staticPressure.H.
|
inlinevirtual |
Update for changes of mesh.
Definition at line 138 of file staticPressure.H.