Calculates particle non-inertial reference frame force. Variable names as from Landau and Lifshitz, Mechanics, 3rd Ed, p126-129. More...
#include <NonInertialFrameForce.H>


Public Member Functions | |
| TypeName ("nonInertialFrame") | |
| Runtime type information. | |
| NonInertialFrameForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh. | |
| NonInertialFrameForce (const NonInertialFrameForce &niff) | |
| Construct copy. | |
| virtual autoPtr< ParticleForce< CloudType > > | clone () const |
| Construct and return a clone. | |
| virtual | ~NonInertialFrameForce () |
| Destructor. | |
| const vector & | W () const noexcept |
| Return the linear acceleration of the reference frame. | |
| const vector & | omega () const noexcept |
| Return the angular velocity of the reference frame. | |
| const vector & | omegaDot () const noexcept |
| Return the angular acceleration of the reference frame. | |
| const vector & | centreOfRotation () const noexcept |
| Return the centre of rotation of the reference frame. | |
| virtual void | cacheFields (const bool store) |
| Cache fields. | |
| virtual forceSuSp | calcNonCoupled (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const |
| Calculate the non-coupled force. | |
| Public Member Functions inherited from ParticleForce< CloudType > | |
| TypeName ("particleForce") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, ParticleForce, dictionary,(CloudType &owner, const fvMesh &mesh, const dictionary &dict),(owner, mesh, dict)) | |
| Declare runtime constructor selection table. | |
| ParticleForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType, const bool readCoeffs) | |
| Construct from mesh. | |
| ParticleForce (const ParticleForce &pf) | |
| Construct copy. | |
| virtual | ~ParticleForce () |
| Destructor. | |
| const CloudType & | owner () const noexcept |
| Return const access to the cloud owner. | |
| CloudType & | owner () noexcept |
| Return reference to the cloud owner. | |
| const fvMesh & | mesh () const noexcept |
| Return the mesh database. | |
| const dictionary & | coeffs () const noexcept |
| Return the force coefficients dictionary. | |
| virtual forceSuSp | calcCoupled (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const |
| Calculate the coupled force. | |
| virtual scalar | massAdd (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const |
| Return the added mass. | |
Additional Inherited Members | |
| Public Types inherited from ParticleForce< CloudType > | |
| typedef VectorSpace< Vector< vector >, vector, 2 > | returnType |
| Convenience typedef for return type. | |
| Static Public Member Functions inherited from ParticleForce< CloudType > | |
| static autoPtr< ParticleForce< CloudType > > | New (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType) |
| Selector. | |
Calculates particle non-inertial reference frame force. Variable names as from Landau and Lifshitz, Mechanics, 3rd Ed, p126-129.
Definition at line 51 of file NonInertialFrameForce.H.
| NonInertialFrameForce | ( | CloudType & | owner, |
| const fvMesh & | mesh, | ||
| const dictionary & | dict ) |
Construct from mesh.
Definition at line 28 of file NonInertialFrameForce.C.
References ParticleForce< CloudType >::coeffs(), dict, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, ParticleForce< CloudType >::mesh(), ParticleForce< CloudType >::owner(), ParticleForce< CloudType >::ParticleForce(), and Foam::Zero.
Referenced by NonInertialFrameForce(), and TypeName().


Construct copy.
Definition at line 76 of file NonInertialFrameForce.C.
References NonInertialFrameForce(), and ParticleForce< CloudType >::ParticleForce().

|
virtual |
Destructor.
Definition at line 96 of file NonInertialFrameForce.C.
| TypeName | ( | "nonInertialFrame" | ) |
Runtime type information.
References dict, ParticleForce< CloudType >::mesh(), NonInertialFrameForce(), and ParticleForce< CloudType >::owner().

|
inlinevirtual |
Construct and return a clone.
Reimplemented from ParticleForce< CloudType >.
Definition at line 126 of file NonInertialFrameForce.H.
References ParticleForce< CloudType >::ParticleForce().

Return the linear acceleration of the reference frame.
Definition at line 148 of file NonInertialFrameForce.H.
References Foam::noexcept.
Referenced by cacheFields().

Return the angular velocity of the reference frame.
Definition at line 153 of file NonInertialFrameForce.H.
References Foam::noexcept.
Referenced by cacheFields().

Return the angular acceleration of the reference frame.
Definition at line 158 of file NonInertialFrameForce.H.
References Foam::noexcept.
Referenced by cacheFields().

Return the centre of rotation of the reference frame.
Definition at line 163 of file NonInertialFrameForce.H.
References Foam::noexcept.
Referenced by cacheFields().

|
virtual |
Cache fields.
Reimplemented from ParticleForce< CloudType >.
Definition at line 103 of file NonInertialFrameForce.C.
References centreOfRotation(), mesh, omega(), omegaDot(), W(), and Foam::Zero.

|
virtual |
Calculate the non-coupled force.
Reimplemented from ParticleForce< CloudType >.
Definition at line 177 of file NonInertialFrameForce.C.
References p, Foam::Re(), forceSuSp::Su(), td(), and Foam::Zero.
