NonInertialFrameForce< CloudType > Class Template Reference

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

Inheritance diagram for NonInertialFrameForce< CloudType >:
Collaboration diagram for NonInertialFrameForce< CloudType >:

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 vectorW () const noexcept
 Return the linear acceleration of the reference frame. More...
 
const vectoromega () const noexcept
 Return the angular velocity of the reference frame. More...
 
const vectoromegaDot () const noexcept
 Return the angular acceleration of the reference frame. More...
 
const vectorcentreOfRotation () const noexcept
 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 typename CloudType::parcelType::trackingData &td, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const
 Calculate the non-coupled force. More...
 
- Public Member Functions inherited from ParticleForce< CloudType >
 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 CloudTypeowner () const noexcept
 Return const access to the cloud owner. More...
 
CloudTypeowner () noexcept
 Return reference to the cloud owner. More...
 
const fvMeshmesh () const noexcept
 Return the mesh database. More...
 
const dictionarycoeffs () const noexcept
 Return the force coefficients dictionary. More...
 
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. More...
 
virtual scalar massAdd (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
 Return the added mass. More...
 

Additional Inherited Members

- Public Types inherited from ParticleForce< CloudType >
typedef VectorSpace< Vector< vector >, vector, 2 > returnType
 Convenience typedef for return type. More...
 
- 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. More...
 

Detailed Description

template<class CloudType>
class Foam::NonInertialFrameForce< CloudType >

Calculates particle non-inertial reference frame force. Variable names as from Landau and Lifshitz, Mechanics, 3rd Ed, p126-129.

Source files

Definition at line 51 of file NonInertialFrameForce.H.

Constructor & Destructor Documentation

◆ NonInertialFrameForce() [1/2]

NonInertialFrameForce ( CloudType owner,
const fvMesh mesh,
const dictionary dict 
)

Construct from mesh.

Definition at line 29 of file NonInertialFrameForce.C.

◆ NonInertialFrameForce() [2/2]

Construct copy.

Definition at line 77 of file NonInertialFrameForce.C.

◆ ~NonInertialFrameForce()

~NonInertialFrameForce ( )
virtual

Destructor.

Definition at line 96 of file NonInertialFrameForce.C.

Member Function Documentation

◆ TypeName()

TypeName ( "nonInertialFrame"  )

Runtime type information.

◆ clone()

virtual autoPtr<ParticleForce<CloudType> > clone ( ) const
inlinevirtual

Construct and return a clone.

Reimplemented from ParticleForce< CloudType >.

Definition at line 126 of file NonInertialFrameForce.H.

◆ W()

const vector& W ( ) const
inlinenoexcept

Return the linear acceleration of the reference frame.

Definition at line 148 of file NonInertialFrameForce.H.

◆ omega()

const vector& omega ( ) const
inlinenoexcept

Return the angular velocity of the reference frame.

Definition at line 153 of file NonInertialFrameForce.H.

◆ omegaDot()

const vector& omegaDot ( ) const
inlinenoexcept

Return the angular acceleration of the reference frame.

Definition at line 158 of file NonInertialFrameForce.H.

◆ centreOfRotation()

const vector& centreOfRotation ( ) const
inlinenoexcept

Return the centre of rotation of the reference frame.

Definition at line 163 of file NonInertialFrameForce.H.

◆ cacheFields()

void cacheFields ( const bool  store)
virtual

Cache fields.

Reimplemented from ParticleForce< CloudType >.

Definition at line 103 of file NonInertialFrameForce.C.

References mesh, dimensioned< Type >::value(), and Foam::Zero.

Here is the call graph for this function:

◆ calcNonCoupled()

Foam::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
virtual

Calculate the non-coupled force.

Reimplemented from ParticleForce< CloudType >.

Definition at line 178 of file NonInertialFrameForce.C.

References p, forceSuSp::Su(), and Foam::Zero.

Here is the call graph for this function:

The documentation for this class was generated from the following files: