Base class for particle lift force models. More...
Public Member Functions | |
LiftForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType) | |
Construct from mesh. More... | |
LiftForce (const LiftForce &lf) | |
Construct copy. More... | |
virtual autoPtr< ParticleForce< CloudType > > | clone () const |
Construct and return a clone. More... | |
virtual | ~LiftForce () |
Destructor. More... | |
const interpolation< vector > & | curlUcInterp () const |
Return the curl of the carrier phase velocity interpolator. More... | |
virtual void | cacheFields (const bool store) |
Cache fields. More... | |
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 non-coupled force. More... | |
Public Member Functions inherited from ParticleForce< CloudType > | |
TypeName ("particleForce") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, ParticleForce, dictionary,(CloudType &owner, const fvMesh &mesh, const dictionary &dict),(owner, mesh, dict)) | |
Declare runtime constructor selection table. More... | |
ParticleForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType, const bool readCoeffs) | |
Construct from mesh. More... | |
ParticleForce (const ParticleForce &pf) | |
Construct copy. More... | |
virtual | ~ParticleForce () |
Destructor. More... | |
const CloudType & | owner () const |
Return const access to the cloud owner. More... | |
CloudType & | owner () |
Return references to the cloud owner. More... | |
const fvMesh & | mesh () const |
Return the mesh database. More... | |
const dictionary & | coeffs () const |
Return the force coefficients dictionary. More... | |
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. More... | |
virtual scalar | massAdd (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const |
Return the added mass. More... | |
Protected Member Functions | |
virtual scalar | Cl (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const vector &curlUc, const scalar Re, const scalar muc) const |
Calculate the lift coefficient. More... | |
Protected Attributes | |
const word | UName_ |
Name of velocity field. More... | |
autoPtr< interpolation< vector > > | curlUcInterpPtr_ |
Curk of carrier phase velocity interpolator. More... | |
Additional Inherited Members | |
Public Types inherited from ParticleForce< CloudType > | |
typedef VectorSpace< Vector< vector >, vector, 2 > | returnType |
Convenience typedef for return type. More... | |
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. More... | |
Base class for particle lift force models.
Definition at line 52 of file LiftForce.H.
LiftForce | ( | CloudType & | owner, |
const fvMesh & | mesh, | ||
const dictionary & | dict, | ||
const word & | forceType | ||
) |
Construct from mesh.
Definition at line 50 of file LiftForce.C.
Construct copy.
Definition at line 64 of file LiftForce.C.
|
virtual |
Destructor.
Definition at line 75 of file LiftForce.C.
Referenced by LiftForce< CloudType >::clone().
|
protectedvirtual |
Calculate the lift coefficient.
Reimplemented in TomiyamaLiftForce< CloudType >, and SaffmanMeiLiftForce< CloudType >.
Referenced by LiftForce< CloudType >::calcCoupled().
|
inlinevirtual |
Construct and return a clone.
Reimplemented from ParticleForce< CloudType >.
Reimplemented in TomiyamaLiftForce< CloudType >, and SaffmanMeiLiftForce< CloudType >.
Definition at line 97 of file LiftForce.H.
References LiftForce< CloudType >::cacheFields(), LiftForce< CloudType >::calcCoupled(), LiftForce< CloudType >::curlUcInterp(), muc(), p, Foam::Re(), and LiftForce< CloudType >::~LiftForce().
|
inline |
Return the curl of the carrier phase velocity interpolator.
Definition at line 30 of file LiftForceI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by LiftForce< CloudType >::calcCoupled(), and LiftForce< CloudType >::clone().
|
virtual |
Cache fields.
Reimplemented from ParticleForce< CloudType >.
Definition at line 82 of file LiftForce.C.
References LiftForce< CloudType >::calcCoupled(), Foam::fvc::curl(), LiftForce< CloudType >::curlUcInterpPtr_, ParticleForce< CloudType >::mesh(), ParticleForce< CloudType >::owner(), and LiftForce< CloudType >::UName_.
Referenced by LiftForce< CloudType >::clone().
|
virtual |
Calculate the non-coupled force.
Reimplemented from ParticleForce< CloudType >.
Definition at line 130 of file LiftForce.C.
References LiftForce< CloudType >::Cl(), LiftForce< CloudType >::curlUcInterp(), forceSuSp::Su(), and Foam::Zero.
Referenced by LiftForce< CloudType >::cacheFields(), and LiftForce< CloudType >::clone().
|
protected |
Name of velocity field.
Definition at line 61 of file LiftForce.H.
Referenced by LiftForce< CloudType >::cacheFields().
|
protected |
Curk of carrier phase velocity interpolator.
Definition at line 64 of file LiftForce.H.
Referenced by LiftForce< CloudType >::cacheFields().