36 #ifndef ParticleForceList_H 37 #define ParticleForceList_H 51 template<
class CloudType>
54 public PtrList<ParticleForce<CloudType>>
virtual void cacheFields(const bool store)
Cache fields.
const CloudType & owner() const
Return const access to the cloud owner.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual forceSuSp calcCoupled(const typename CloudType::parcelType &p, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const
Calculate the coupled force.
const fvMesh & mesh() const
Return the mesh database.
void setCalcNonCoupled(bool flag)
Set the calcNonCoupled flag.
virtual scalar massEff(const typename CloudType::parcelType &p, const scalar mass) const
Return the effective mass.
ParticleForceList(CloudType &owner, const fvMesh &mesh)
Null constructor.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the specified type.
Helper container for force Su and Sp terms.
virtual forceSuSp calcNonCoupled(const typename CloudType::parcelType &p, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const
Calculate the non-coupled force.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
void setCalcCoupled(bool flag)
Set the calcCoupled flag.
const dictionary & dict() const
Return the forces dictionary.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Mesh data needed to do the Finite Volume discretisation.
virtual ~ParticleForceList()
Destructor.
Templated base class for dsmc cloud.
scalarField Re(const UList< complex > &cf)