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>
147template<
class CloudType>
151 const typename CloudType::parcelType::trackingData&
td,
172template<
class CloudType>
176 const typename CloudType::parcelType::trackingData&
td,
198template<
class CloudType>
202 const typename CloudType::parcelType::trackingData&
td,
206 scalar massEff = mass;
209 massEff += this->operator[](i).massAdd(
p,
td, mass);
label size() const noexcept
The number of elements in list.
ParticleForceList(CloudType &owner, const fvMesh &mesh)
Null constructor.
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.
static autoPtr< ParticleForce< CloudType > > New(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType)
Selector.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const ParticleForce< CloudType > * set(const label i) const
constexpr PtrList() noexcept
void resize(const label newLen)
const ParticleForce< CloudType > & operator[](const label i) const
label count() const noexcept
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'.
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.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
DSMCCloud< dsmcParcel > CloudType
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
static constexpr const zero Zero
Global zero (0).
scalarField Re(const UList< complex > &cmplx)
Extract real component.
#define forAll(list, i)
Loop across all elements in list.