41 #ifndef NonInertialFrameForce_H 42 #define NonInertialFrameForce_H 57 template<
class CloudType>
83 word centreOfRotationName_;
127 inline const vector&
W()
const;
148 const typename CloudType::parcelType::trackingData& td,
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void cacheFields(const bool store)
Cache fields.
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
const vector & omegaDot() const
Return the angular acceleration of the reference frame.
const fvMesh & mesh() const
Return the mesh database.
Abstract base class for particle forces.
const CloudType & owner() const
Return const access to the cloud owner.
virtual ~NonInertialFrameForce()
Destructor.
const vector & W() const
Return the linear acceleration of the reference frame.
Helper container for force Su and Sp terms.
TypeName("nonInertialFrame")
Runtime type information.
A class for handling words, derived from Foam::string.
Calculates particle non-inertial reference frame force. Variable names as from Landau and Lifshitz...
NonInertialFrameForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
scalarField Re(const UList< complex > &cmplx)
Extract real component.
const vector & omega() const
Return the angular velocity of the reference frame.
const vector & centreOfRotation() const
Return the centre of rotation 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.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Templated base class for dsmc cloud.