36 #ifndef NonInertialFrameForce_H
37 #define NonInertialFrameForce_H
52 template<
class CloudType>
78 word centreOfRotationName_;
122 inline const vector&
W()
const;
143 const typename CloudType::parcelType::trackingData& td,
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Calculates particle non-inertial reference frame force. Variable names as from Landau and Lifshitz,...
const vector & W() const
Return the linear acceleration of the reference frame.
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.
virtual ~NonInertialFrameForce()
Destructor.
const vector & centreOfRotation() const
Return the centre of rotation of the reference frame.
const vector & omega() const
Return the angular velocity of the reference frame.
virtual void cacheFields(const bool store)
Cache fields.
TypeName("nonInertialFrame")
Runtime type information.
const vector & omegaDot() const
Return the angular acceleration of the reference frame.
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
NonInertialFrameForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
Abstract base class for particle forces.
const CloudType & owner() const
Return const access to the cloud owner.
const fvMesh & mesh() const
Return the mesh database.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Helper container for force Su and Sp terms.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from string.
scalarField Re(const UList< complex > &cf)