Go to the documentation of this file.
35 #ifndef VirtualMassForce_H
36 #define VirtualMassForce_H
49 template<
class CloudType>
74 const word& forceType = typeName
const CloudType & owner() const
Return const access to the cloud owner.
A class for handling words, derived from string.
scalarField Re(const UList< complex > &cf)
virtual void cacheFields(const bool store)
Cache fields.
Calculates particle pressure gradient force.
VirtualMassForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType=typeName)
Construct from mesh.
virtual scalar massAdd(const typename CloudType::parcelType &p, const scalar mass) const
Return the added mass.
scalar Cvm_
Virtual mass coefficient - typically 0.5.
virtual ~VirtualMassForce()
Destructor.
Helper container for force Su and Sp terms.
Calculates particle virtual mass force.
Templated base class for dsmc cloud.
virtual forceSuSp calcCoupled(const typename CloudType::parcelType &p, 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....
Mesh data needed to do the Finite Volume discretisation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
TypeName("virtualMass")
Runtime type information.
const fvMesh & mesh() const
Return the mesh database.