Public Member Functions | List of all members
ParticleForceList< CloudType > Class Template Reference

List of particle forces. More...

Inheritance diagram for ParticleForceList< CloudType >:
Inheritance graph
[legend]
Collaboration diagram for ParticleForceList< CloudType >:
Collaboration graph
[legend]

Public Member Functions

 ParticleForceList (CloudType &owner, const fvMesh &mesh)
 
 ParticleForceList (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const bool readFields)
 
 ParticleForceList (const ParticleForceList &pfl)
 
virtual ~ParticleForceList ()
 
const CloudTypeowner () const
 
CloudTypeowner ()
 
const fvMeshmesh () const
 
const dictionarydict () const
 
void setCalcCoupled (bool flag)
 
void setCalcNonCoupled (bool flag)
 
virtual void cacheFields (const bool store)
 
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
 
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
 
virtual scalar massEff (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
 
- Public Member Functions inherited from PtrList< ParticleForce< CloudType > >
constexpr PtrList () noexcept
 
 PtrList (const label len)
 
 PtrList (const PtrList< T > &list)
 
 PtrList (PtrList< T > &&list)
 
 PtrList (UList< T * > &list)
 
 PtrList (const PtrList< T > &list, const CloneArg &cloneArgs)
 
 PtrList (PtrList< T > &list, bool reuse)
 
 PtrList (const SLPtrList< T > &list)
 
 PtrList (Istream &is, const INew &inew)
 
 PtrList (Istream &is)
 
 PtrList (PtrList< T > &list, bool reuse)
 
 PtrList (const SLPtrList< T > &list)
 
constexpr PtrList () noexcept
 
 PtrList (const label len)
 
 PtrList (const PtrList< T > &list)
 
 PtrList (PtrList< T > &&list)
 
 PtrList (UList< T * > &list)
 
 PtrList (Istream &is)
 
 ~PtrList ()
 
PtrList< Tclone (Args &&... args) const
 
Foam::PtrList< Tclone (Args &&... args) const
 
const Tset (const label i) const
 
autoPtr< Tset (const label i, T *ptr)
 
autoPtr< Tset (const label i, autoPtr< T > &ptr)
 
autoPtr< Tset (const label i, autoPtr< T > &&ptr)
 
autoPtr< Tset (const label i, std::unique_ptr< T > &&ptr)
 
autoPtr< Tset (const label i, const refPtr< T > &ptr)
 
autoPtr< Tset (const label i, const tmp< T > &ptr)
 
void clear ()
 
void resize (const label newLen)
 
void setSize (const label newLen)
 
void emplace_append (Args &&... args)
 
void append (T *ptr)
 
void append (autoPtr< T > &ptr)
 
void append (autoPtr< T > &&ptr)
 
void append (std::unique_ptr< T > &&ptr)
 
void append (const refPtr< T > &ptr)
 
void append (const tmp< T > &ptr)
 
autoPtr< Templace (const label i, Args &&... args)
 
Foam::autoPtr< Templace (const label i, Args &&... args)
 
autoPtr< Trelease (const label i)
 
void transfer (PtrList< T > &list)
 
void operator= (const PtrList< T > &list)
 
void operator= (PtrList< T > &&list)
 

Additional Inherited Members

- Protected Member Functions inherited from PtrList< ParticleForce< CloudType > >
void readIstream (Istream &is, const INew &inew)
 
void free ()
 

Detailed Description

template<class CloudType>
class Foam::ParticleForceList< CloudType >

List of particle forces.

Source files

Definition at line 49 of file ParticleForceList.H.

Constructor & Destructor Documentation

◆ ParticleForceList() [1/3]

ParticleForceList ( CloudType owner,
const fvMesh mesh 
)

Definition at line 29 of file ParticleForceList.C.

◆ ParticleForceList() [2/3]

ParticleForceList ( CloudType owner,
const fvMesh mesh,
const dictionary dict,
const bool  readFields 
)

Definition at line 45 of file ParticleForceList.C.

◆ ParticleForceList() [3/3]

Definition at line 110 of file ParticleForceList.C.

◆ ~ParticleForceList()

Definition at line 124 of file ParticleForceList.C.

Member Function Documentation

◆ owner() [1/2]

CloudType & owner
inline

Definition at line 24 of file ParticleForceListI.H.

◆ owner() [2/2]

CloudType& owner ( )
inline

◆ mesh()

const Foam::fvMesh & mesh
inline

Definition at line 38 of file ParticleForceListI.H.

◆ dict()

const Foam::dictionary & dict
inline

Definition at line 45 of file ParticleForceListI.H.

◆ setCalcCoupled()

void setCalcCoupled ( bool  flag)
inline

Definition at line 52 of file ParticleForceListI.H.

◆ setCalcNonCoupled()

void setCalcNonCoupled ( bool  flag)
inline

Definition at line 59 of file ParticleForceListI.H.

◆ cacheFields()

void cacheFields ( const bool  store)
virtual

Definition at line 131 of file ParticleForceList.C.

◆ calcCoupled()

Foam::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
virtual

Definition at line 142 of file ParticleForceList.C.

◆ calcNonCoupled()

Foam::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
virtual

Definition at line 167 of file ParticleForceList.C.

◆ massEff()

Foam::scalar massEff ( const typename CloudType::parcelType p,
const typename CloudType::parcelType::trackingData &  td,
const scalar  mass 
) const
virtual

Definition at line 193 of file ParticleForceList.C.


The documentation for this class was generated from the following files: