Calculates particle paramagnetic (magnetic field) force. More...
Public Member Functions | |
TypeName ("paramagnetic") | |
Runtime type information. More... | |
ParamagneticForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict) | |
Construct from mesh. More... | |
ParamagneticForce (const ParamagneticForce &gf) | |
Construct copy. More... | |
virtual autoPtr< ParticleForce< CloudType > > | clone () const |
Construct and return a clone. More... | |
virtual | ~ParamagneticForce () |
Destructor. More... | |
const word & | HdotGradHName () const |
Return the name of paramagnetic field strength field. More... | |
scalar | magneticSusceptibility () const |
Return the magnetic susceptibility of particle. More... | |
virtual void | cacheFields (const bool store) |
Cache fields. 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... | |
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 | 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... | |
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 paramagnetic (magnetic field) force.
Definition at line 53 of file ParamagneticForce.H.
ParamagneticForce | ( | CloudType & | owner, |
const fvMesh & | mesh, | ||
const dictionary & | dict | ||
) |
Construct from mesh.
Definition at line 34 of file ParamagneticForce.C.
ParamagneticForce | ( | const ParamagneticForce< CloudType > & | gf | ) |
Construct copy.
Definition at line 55 of file ParamagneticForce.C.
|
virtual |
Destructor.
Definition at line 69 of file ParamagneticForce.C.
Referenced by ParamagneticForce< CloudType >::clone().
TypeName | ( | "paramagnetic" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from ParticleForce< CloudType >.
Definition at line 89 of file ParamagneticForce.H.
References ParamagneticForce< CloudType >::cacheFields(), ParamagneticForce< CloudType >::calcNonCoupled(), ParamagneticForce< CloudType >::HdotGradHName(), ParamagneticForce< CloudType >::magneticSusceptibility(), muc(), p, Foam::Re(), and ParamagneticForce< CloudType >::~ParamagneticForce().
|
inline |
Return the name of paramagnetic field strength field.
Definition at line 30 of file ParamagneticForceI.H.
Referenced by ParamagneticForce< CloudType >::clone().
|
inline |
Return the magnetic susceptibility of particle.
Definition at line 38 of file ParamagneticForceI.H.
Referenced by ParamagneticForce< CloudType >::clone().
|
virtual |
Cache fields.
Reimplemented from ParticleForce< CloudType >.
Definition at line 76 of file ParamagneticForce.C.
References ParamagneticForce< CloudType >::calcNonCoupled(), Foam::deleteDemandDrivenData(), mesh, and Foam::compressible::New().
Referenced by ParamagneticForce< CloudType >::clone().
|
virtual |
Calculate the non-coupled force.
Reimplemented from ParticleForce< CloudType >.
Definition at line 98 of file ParamagneticForce.C.
References interpolation< Type >::interpolate(), Foam::constant::electromagnetic::mu0, forceSuSp::Su(), dimensioned< Type >::value(), and Foam::Zero.
Referenced by ParamagneticForce< CloudType >::cacheFields(), and ParamagneticForce< CloudType >::clone().