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...
#include <InterfaceForce.H>


Public Member Functions | |
| TypeName ("interface") | |
| Runtime type information. | |
| InterfaceForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh. | |
| InterfaceForce (const InterfaceForce &gf) | |
| Construct copy. | |
| virtual autoPtr< ParticleForce< CloudType > > | clone () const |
| Construct and return a clone. | |
| virtual | ~InterfaceForce () |
| Destructor. | |
| virtual void | cacheFields (const bool store) |
| Cache fields. | |
| 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. | |
| Public Member Functions inherited from ParticleForce< CloudType > | |
| TypeName ("particleForce") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, ParticleForce, dictionary,(CloudType &owner, const fvMesh &mesh, const dictionary &dict),(owner, mesh, dict)) | |
| Declare runtime constructor selection table. | |
| ParticleForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType, const bool readCoeffs) | |
| Construct from mesh. | |
| ParticleForce (const ParticleForce &pf) | |
| Construct copy. | |
| virtual | ~ParticleForce () |
| Destructor. | |
| const CloudType & | owner () const noexcept |
| Return const access to the cloud owner. | |
| CloudType & | owner () noexcept |
| Return reference to the cloud owner. | |
| const fvMesh & | mesh () const noexcept |
| Return the mesh database. | |
| const dictionary & | coeffs () const noexcept |
| Return the force coefficients dictionary. | |
| 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. | |
| virtual scalar | massAdd (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const |
| Return the added mass. | |
Additional Inherited Members | |
| Public Types inherited from ParticleForce< CloudType > | |
| typedef VectorSpace< Vector< vector >, vector, 2 > | returnType |
| Convenience typedef for return type. | |
| Static Public Member Functions inherited from ParticleForce< CloudType > | |
| static autoPtr< ParticleForce< CloudType > > | New (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType) |
| Selector. | |
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).
Definition at line 51 of file InterfaceForce.H.
| InterfaceForce | ( | CloudType & | owner, |
| const fvMesh & | mesh, | ||
| const dictionary & | dict ) |
Construct from mesh.
Definition at line 27 of file InterfaceForce.C.
References ParticleForce< CloudType >::coeffs(), dict, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, ParticleForce< CloudType >::mesh(), ParticleForce< CloudType >::owner(), and ParticleForce< CloudType >::ParticleForce().
Referenced by clone(), InterfaceForce(), and TypeName().


Construct copy.
Definition at line 42 of file InterfaceForce.C.
References InterfaceForce(), and ParticleForce< CloudType >::ParticleForce().

|
virtual |
Destructor.
Definition at line 54 of file InterfaceForce.C.
| TypeName | ( | "interface" | ) |
Runtime type information.
References dict, InterfaceForce(), ParticleForce< CloudType >::mesh(), and ParticleForce< CloudType >::owner().

|
inlinevirtual |
Construct and return a clone.
Reimplemented from ParticleForce< CloudType >.
Definition at line 101 of file InterfaceForce.H.
References InterfaceForce().

|
virtual |
Cache fields.
Reimplemented from ParticleForce< CloudType >.
Definition at line 61 of file InterfaceForce.C.
References alpha, regIOobject::checkOut(), Foam::fvc::grad(), mesh, interpolation< Type >::New(), ParticleForce< CloudType >::owner(), and regIOobject::store().

|
virtual |
Calculate the non-coupled force.
Reimplemented from ParticleForce< CloudType >.
Definition at line 108 of file InterfaceForce.C.
References interpolation< Type >::interpolate(), p, Foam::Re(), forceSuSp::Su(), td(), and Foam::Zero.
