40 #ifndef VirtualMassForce_H 41 #define VirtualMassForce_H 54 template<
class CloudType>
79 const word& forceType = typeName
110 const typename CloudType::parcelType::trackingData& td,
121 const typename CloudType::parcelType::trackingData& td,
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
const fvMesh & mesh() const
Return the mesh database.
virtual ~VirtualMassForce()
Destructor.
const CloudType & owner() const
Return const access to the cloud owner.
VirtualMassForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType=typeName)
Construct from mesh.
Helper container for force Su and Sp terms.
Calculates particle virtual mass force.
virtual void cacheFields(const bool store)
Cache fields.
Calculates particle pressure gradient force.
A class for handling words, derived from Foam::string.
scalarField Re(const UList< complex > &cf)
Extract real component.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
TypeName("virtualMass")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
virtual scalar massAdd(const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
Return the added mass.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Templated base class for dsmc cloud.
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.