41 #ifndef Foam_GravityForce_H 42 #define Foam_GravityForce_H 58 template<
class CloudType>
116 const typename CloudType::parcelType::trackingData& td,
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
Abstract base class for particle forces.
GravityForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
virtual ~GravityForce()
Destructor.
TypeName("gravity")
Runtime type information.
const fvMesh & mesh() const noexcept
Return the mesh database.
Calculates particle gravity force.
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 CloudType & owner() const noexcept
Return const access to the cloud owner.
Mesh data needed to do the Finite Volume discretisation.
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Templated base class for dsmc cloud.
const vector & g() const noexcept
Return the acceleration due to gravity.