OpenLB 1.7
|
#include <buoyancyForce3D.h>
Public Member Functions | |
BuoyancyForce3D (UnitConverter< T, DESCRIPTOR > const &converter, std::vector< T > direction, T g=9.81) | |
~BuoyancyForce3D () override | |
void | applyForce (typename std::deque< PARTICLETYPE< T > >::iterator p, int pInt, ParticleSystem3D< T, PARTICLETYPE > &psSys) override |
Public Member Functions inherited from olb::Force3D< T, PARTICLETYPE > | |
Force3D () | |
Force3D (Force3D< T, PARTICLETYPE > &) | |
Force3D (const Force3D< T, PARTICLETYPE > &) | |
virtual | ~Force3D () |
Additional Inherited Members | |
Protected Attributes inherited from olb::Force3D< T, PARTICLETYPE > | |
OstreamManager | clout |
Definition at line 39 of file buoyancyForce3D.h.
olb::BuoyancyForce3D< T, PARTICLETYPE, DESCRIPTOR >::BuoyancyForce3D | ( | UnitConverter< T, DESCRIPTOR > const & | converter, |
std::vector< T > | direction, | ||
T | g = 9.81 ) |
Definition at line 37 of file buoyancyForce3D.hh.
References olb::util::pow(), and olb::util::sqrt().
|
inlineoverride |
Definition at line 44 of file buoyancyForce3D.h.
|
overridevirtual |
Implements olb::Force3D< T, PARTICLETYPE >.
Definition at line 52 of file buoyancyForce3D.hh.
References M_PI, and olb::util::pow().