36 #ifndef GravityForce_H 37 #define GravityForce_H 52 template<
class CloudType>
101 inline const vector&
g()
const;
110 const typename CloudType::parcelType::trackingData& td,
A list of keyword definitions, which are a keyword followed by any number of values (e...
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.
const vector & g() const
Return the acceleration due to gravity.
const fvMesh & mesh() const
Return the mesh database.
Abstract base class for particle forces.
GravityForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
const CloudType & owner() const
Return const access to the cloud owner.
virtual ~GravityForce()
Destructor.
Helper container for force Su and Sp terms.
TypeName("gravity")
Runtime type information.
Calculates particle gravity force.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Mesh data needed to do the Finite Volume discretisation.
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Templated base class for dsmc cloud.
scalarField Re(const UList< complex > &cf)