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

Vector force apply to particles to avoid the crossing of particles from one phase to the other. The magnitude is calculated as C*mass*grad(alpha) More...

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

Public Member Functions

 TypeName ("interface")
 
 InterfaceForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict)
 
 InterfaceForce (const InterfaceForce &gf)
 
virtual autoPtr< ParticleForce< CloudType > > clone () const
 
virtual ~InterfaceForce ()
 
virtual void cacheFields (const bool store)
 
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
 
- Public Member Functions inherited from ParticleForce< CloudType >
 TypeName ("particleForce")
 
 declareRunTimeSelectionTable (autoPtr, ParticleForce, dictionary,(CloudType &owner, const fvMesh &mesh, const dictionary &dict),(owner, mesh, dict))
 
 ParticleForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType, const bool readCoeffs)
 
 ParticleForce (const ParticleForce &pf)
 
virtual ~ParticleForce ()
 
const CloudTypeowner () const
 
CloudTypeowner ()
 
const fvMeshmesh () const
 
const dictionarycoeffs () const
 
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 scalar massAdd (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
 

Additional Inherited Members

- Public Types inherited from ParticleForce< CloudType >
typedef VectorSpace< Vector< vector >, vector, 2 > returnType
 
- Static Public Member Functions inherited from ParticleForce< CloudType >
static autoPtr< ParticleForce< CloudType > > New (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType)
 

Detailed Description

template<class CloudType>
class Foam::InterfaceForce< CloudType >

Vector force apply to particles to avoid the crossing of particles from one phase to the other. The magnitude is calculated as C*mass*grad(alpha)

Source files

Definition at line 51 of file InterfaceForce.H.

Constructor & Destructor Documentation

◆ InterfaceForce() [1/2]

InterfaceForce ( CloudType owner,
const fvMesh mesh,
const dictionary dict 
)

Definition at line 28 of file InterfaceForce.C.

◆ InterfaceForce() [2/2]

Definition at line 42 of file InterfaceForce.C.

◆ ~InterfaceForce()

~InterfaceForce
virtual

Definition at line 54 of file InterfaceForce.C.

Member Function Documentation

◆ TypeName()

TypeName ( "interface"  )

◆ clone()

virtual autoPtr<ParticleForce<CloudType> > clone ( ) const
inlinevirtual

Reimplemented from ParticleForce< CloudType >.

Definition at line 87 of file InterfaceForce.H.

◆ cacheFields()

void cacheFields ( const bool  store)
virtual

Reimplemented from ParticleForce< CloudType >.

Definition at line 61 of file InterfaceForce.C.

References Foam::constant::atomic::alpha, Foam::fvc::grad(), and mesh.

Here is the call graph for this function:

◆ 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

Reimplemented from ParticleForce< CloudType >.

Definition at line 110 of file InterfaceForce.C.

References interpolation::interpolate(), p, forceSuSp::Su(), and Foam::Zero.

Here is the call graph for this function:

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