34template<
class CloudType>
50template<
class CloudType>
68 Info<<
"Constructing particle forces" <<
endl;
75 const word& modelName = dEntry.keyword();
115template<
class CloudType>
130template<
class CloudType>
137template<
class CloudType>
142 this->operator[](i).cacheFields(store);
147template<
class CloudType>
164 value += this->operator[](i).calcCoupled(
p, td, dt, mass,
Re, muc);
172template<
class CloudType>
190 this->operator[](i).calcNonCoupled(
p, td, dt, mass,
Re, muc);
198template<
class CloudType>
206 scalar massEff = mass;
209 massEff += this->operator[](i).massAdd(
p, td, mass);
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
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.
virtual scalar massEff(const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
Return the effective mass.
virtual void cacheFields(const bool store)
Cache fields.
const dictionary & dict() const
Return the forces dictionary.
const CloudType & owner() const
Return const access to the cloud owner.
virtual ~ParticleForceList()
Destructor.
const fvMesh & mesh() const
Return the mesh database.
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 coupled force.
Abstract base class for particle forces.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const ParticleForce< CloudType > * set(const label i) const
void resize(const label newLen)
Adjust size of PtrList.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A keyword and a list of tokens is an 'entry'.
Class used to pass data into container.
Helper container for force Su and Sp terms.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from Foam::string.
scalarField Re(const UList< complex > &cf)
Extract real component.
messageStream Info
Information stream (stdout output on master, null elsewhere)
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static constexpr const zero Zero
Global zero (0)
#define forAll(list, i)
Loop across all elements in list.