30 template<
class CloudType>
40 Cvm_(this->coeffs().template lookup<scalar>(
"Cvm"))
44 template<
class CloudType>
57 template<
class CloudType>
64 template<
class CloudType>
71 template<
class CloudType>
75 const typename CloudType::parcelType::trackingData& td,
91 template<
class CloudType>
95 const typename CloudType::parcelType::trackingData& td,
99 return mass*td.rhoc()/
p.rho()*Cvm_;
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Calculates particle pressure gradient force.
virtual void cacheFields(const bool store)
Cache fields.
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 non-coupled force.
Calculates particle virtual mass force.
virtual ~VirtualMassForce()
Destructor.
VirtualMassForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType=typeName)
Construct from mesh.
virtual void cacheFields(const bool store)
Cache fields.
virtual scalar massAdd(const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
Return the added mass.
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 non-coupled force.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Helper container for force Su and Sp terms.
const vector & Su() const
Return const access to the explicit contribution [kg m/s^2].
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from string.
scalarField Re(const UList< complex > &cf)