|
Lagrangian Particle Code for The Simulation of 2D/3D Fluid Dynamics
|
A class that implements the uniform velocity state. More...
#include <state.h>
Public Member Functions | |
| UniformVelocityState () | |
| Constructor. | |
| virtual | ~UniformVelocityState () |
| Destructor. | |
| virtual double | pressure (double x, double y, double z) |
| Specifies constant pressure as specified in construtor implementation. More... | |
| virtual double | density (double x, double y, double z) |
| Specifies a constant value as specified in constructor implementation. More... | |
| virtual void | velocity (double x, double y, double z, double &vX, double &vY, double &vZ) |
| Specifies uniform radial inward velocity with magnitude specified in constructor implementation. More... | |
Public Member Functions inherited from State | |
| virtual | ~State () |
| Destructor. | |
A class that implements the uniform velocity state.
The uniform velocity state specifies the velocity as inward uniform radial velocity, with uniform density and uniform pressure everywhere
Created on: 2014/06/07
|
virtual |
Specifies a constant value as specified in constructor implementation.
| [in] | x | The x-coordinate |
| [in] | y | The y-coordinate |
| [in] | z | The z-coordinate |
Implements State.
|
virtual |
Specifies constant pressure as specified in construtor implementation.
| [in] | x | The x-coordinate |
| [in] | y | The y-coordinate |
| [in] | z | The z-coordinate |
Implements State.
|
virtual |
Specifies uniform radial inward velocity with magnitude specified in constructor implementation.
| [in] | x | The x-coordinate |
| [in] | y | The y-coordinate |
| [in] | z | The z-coordinate |
| [out] | vX | A uniform radial inward velocity value |
| [out] | vY | A uniform radial inward velocity value |
| [out] | vZ | A uniform radial inward velocity value |
Implements State.
1.8.6