Calculates particle non-inertial reference frame force. Variable names as from Landau and Lifshitz, Mechanics, 3rd Ed, p126-129. More...
Public Member Functions | |
TypeName ("nonInertialFrame") | |
Runtime type information. More... | |
NonInertialFrameForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict) | |
Construct from mesh. More... | |
NonInertialFrameForce (const NonInertialFrameForce &niff) | |
Construct copy. More... | |
virtual autoPtr< ParticleForce< CloudType > > | clone () const |
Construct and return a clone. More... | |
virtual | ~NonInertialFrameForce () |
Destructor. More... | |
const vector & | W () const |
Return the linear acceleration of the reference frame. More... | |
const vector & | omega () const |
Return the angular velocity of the reference frame. More... | |
const vector & | omegaDot () const |
Return the angular acceleration of the reference frame. More... | |
const vector & | centreOfRotation () const |
Return the centre of rotation of the reference frame. More... | |
virtual void | cacheFields (const bool store) |
Cache fields. More... | |
virtual forceSuSp | calcNonCoupled (const typename CloudType::parcelType &p, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const |
Calculate the non-coupled force. More... | |
![]() | |
TypeName ("particleForce") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, ParticleForce, dictionary,(CloudType &owner, const fvMesh &mesh, const dictionary &dict),(owner, mesh, dict)) | |
Declare runtime constructor selection table. More... | |
ParticleForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType, const bool readCoeffs) | |
Construct from mesh. More... | |
ParticleForce (const ParticleForce &pf) | |
Construct copy. More... | |
virtual | ~ParticleForce () |
Destructor. More... | |
const CloudType & | owner () const |
Return const access to the cloud owner. More... | |
CloudType & | owner () |
Return refernce to the cloud owner. More... | |
const fvMesh & | mesh () const |
Return the mesh database. More... | |
const dictionary & | coeffs () const |
Return the force coefficients dictionary. More... | |
virtual forceSuSp | calcCoupled (const typename CloudType::parcelType &p, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const |
Calculate the coupled force. More... | |
virtual scalar | massAdd (const typename CloudType::parcelType &p, const scalar mass) const |
Return the added mass. More... | |
Private Attributes | |
word | WName_ |
Name of the linear acceleration field. More... | |
vector | W_ |
The linear acceleration of the reference frame. More... | |
word | omegaName_ |
Name of the angular velocity field. More... | |
vector | omega_ |
The angular velocity of the reference frame. More... | |
word | omegaDotName_ |
Name of the angular acceleration field. More... | |
vector | omegaDot_ |
The angular acceleration of the reference frame. More... | |
word | centreOfRotationName_ |
Name of the centre of rotation field. More... | |
vector | centreOfRotation_ |
The centre of rotation of the reference frame. More... | |
Additional Inherited Members | |
![]() | |
typedef VectorSpace< Vector< vector >, vector, 2 > | returnType |
Convenience typedef for return type. More... | |
![]() | |
static autoPtr< ParticleForce< CloudType > > | New (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType) |
Selector. More... | |
Calculates particle non-inertial reference frame force. Variable names as from Landau and Lifshitz, Mechanics, 3rd Ed, p126-129.
Definition at line 52 of file NonInertialFrameForce.H.
NonInertialFrameForce | ( | CloudType & | owner, |
const fvMesh & | mesh, | ||
const dictionary & | dict | ||
) |
Construct from mesh.
Definition at line 33 of file NonInertialFrameForce.C.
NonInertialFrameForce | ( | const NonInertialFrameForce< CloudType > & | niff | ) |
Construct copy.
Definition at line 81 of file NonInertialFrameForce.C.
|
virtual |
Destructor.
Definition at line 100 of file NonInertialFrameForce.C.
TypeName | ( | "nonInertialFrame" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from ParticleForce< CloudType >.
Definition at line 103 of file NonInertialFrameForce.H.
|
inline |
Return the linear acceleration of the reference frame.
Definition at line 29 of file NonInertialFrameForceI.H.
|
inline |
Return the angular velocity of the reference frame.
Definition at line 36 of file NonInertialFrameForceI.H.
|
inline |
Return the angular acceleration of the reference frame.
Definition at line 44 of file NonInertialFrameForceI.H.
|
inline |
Return the centre of rotation of the reference frame.
Definition at line 52 of file NonInertialFrameForceI.H.
|
virtual |
Cache fields.
Reimplemented from ParticleForce< CloudType >.
Definition at line 107 of file NonInertialFrameForce.C.
References mesh, and dimensioned::value().
|
virtual |
Calculate the non-coupled force.
Reimplemented from ParticleForce< CloudType >.
Definition at line 181 of file NonInertialFrameForce.C.
References p, and forceSuSp::Su().
|
private |
Name of the linear acceleration field.
Definition at line 59 of file NonInertialFrameForce.H.
|
private |
The linear acceleration of the reference frame.
Definition at line 62 of file NonInertialFrameForce.H.
|
private |
Name of the angular velocity field.
Definition at line 65 of file NonInertialFrameForce.H.
|
private |
The angular velocity of the reference frame.
Definition at line 68 of file NonInertialFrameForce.H.
|
private |
Name of the angular acceleration field.
Definition at line 71 of file NonInertialFrameForce.H.
|
private |
The angular acceleration of the reference frame.
Definition at line 74 of file NonInertialFrameForce.H.
|
private |
Name of the centre of rotation field.
Definition at line 77 of file NonInertialFrameForce.H.
|
private |
The centre of rotation of the reference frame.
Definition at line 80 of file NonInertialFrameForce.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.