Calculates particle Brownian motion force. More...
Public Member Functions | |
TypeName ("BrownianMotion") | |
Runtime type information. More... | |
BrownianMotionForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict) | |
Construct from mesh. More... | |
BrownianMotionForce (const BrownianMotionForce &bmf) | |
Construct copy. More... | |
virtual autoPtr< ParticleForce< CloudType > > | clone () const |
Construct and return a clone. More... | |
virtual | ~BrownianMotionForce () |
Destructor. More... | |
scalar | lambda () const |
Return const access to the molecular free path length [m]. More... | |
bool | turbulence () const |
Return const access to the turbulence flag. 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 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... | |
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... | |
Calculates particle Brownian motion force.
Reference:
Li, A., & Ahmadi, G. (1992). Dispersion and deposition of spherical particles from point sources in a turbulent channel flow. Aerosol science and technology, 16(4), 209-226.
Definition at line 60 of file BrownianMotionForce.H.
BrownianMotionForce | ( | CloudType & | owner, |
const fvMesh & | mesh, | ||
const dictionary & | dict | ||
) |
Construct from mesh.
Definition at line 65 of file BrownianMotionForce.C.
BrownianMotionForce | ( | const BrownianMotionForce< CloudType > & | bmf | ) |
Construct copy.
Definition at line 81 of file BrownianMotionForce.C.
|
virtual |
Destructor.
Definition at line 97 of file BrownianMotionForce.C.
TypeName | ( | "BrownianMotion" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from ParticleForce< CloudType >.
Definition at line 105 of file BrownianMotionForce.H.
|
inline |
Return const access to the molecular free path length [m].
Definition at line 29 of file BrownianMotionForceI.H.
|
inline |
Return const access to the turbulence flag.
Definition at line 36 of file BrownianMotionForceI.H.
|
virtual |
Cache fields.
Reimplemented from ParticleForce< CloudType >.
Definition at line 104 of file BrownianMotionForce.C.
References Foam::deleteDemandDrivenData(), tmp< T >::isTmp(), and tmp< T >::ptr().
|
virtual |
Calculate the coupled force.
Reimplemented from ParticleForce< CloudType >.
Definition at line 135 of file BrownianMotionForce.C.
References alpha(), Foam::cos(), Foam::exp(), f(), k, Foam::mag(), p, Foam::constant::mathematical::pi(), Foam::pow5(), rndGen(), standardNormal::sample(), randomGenerator::scalar01(), Foam::sin(), Foam::sqr(), Foam::sqrt(), forceSuSp::Su(), Foam::constant::mathematical::twoPi(), and Foam::Zero.