Calculates particle virtual mass force. More...
Public Member Functions | |
TypeName ("virtualMass") | |
Runtime type information. More... | |
VirtualMassForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType=typeName) | |
Construct from mesh. More... | |
VirtualMassForce (const VirtualMassForce &pgf) | |
Construct copy. More... | |
virtual autoPtr< ParticleForce< CloudType > > | clone () const |
Construct and return a clone. More... | |
virtual | ~VirtualMassForce () |
Destructor. 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... | |
virtual scalar | massAdd (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const |
Return the added mass. More... | |
Public Member Functions inherited from PressureGradientForce< CloudType > | |
TypeName ("pressureGradient") | |
Runtime type information. More... | |
PressureGradientForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType=typeName) | |
Construct from mesh. More... | |
PressureGradientForce (const PressureGradientForce &pgf) | |
Construct copy. More... | |
virtual | ~PressureGradientForce () |
Destructor. More... | |
const interpolation< vector > & | DUcDtInterp () const |
Return the rate of change of carrier phase velocity interpolator. 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... | |
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... | |
Protected Attributes inherited from PressureGradientForce< CloudType > | |
const word | UName_ |
Name of velocity field. More... | |
autoPtr< interpolation< vector > > | DUcDtInterpPtr_ |
Rate of change of carrier phase velocity interpolator. More... | |
Calculates particle virtual mass force.
Definition at line 49 of file VirtualMassForce.H.
VirtualMassForce | ( | CloudType & | owner, |
const fvMesh & | mesh, | ||
const dictionary & | dict, | ||
const word & | forceType = typeName |
||
) |
Construct from mesh.
Definition at line 31 of file VirtualMassForce.C.
VirtualMassForce | ( | const VirtualMassForce< CloudType > & | pgf | ) |
Construct copy.
Definition at line 45 of file VirtualMassForce.C.
|
virtual |
Destructor.
Definition at line 58 of file VirtualMassForce.C.
TypeName | ( | "virtualMass" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from PressureGradientForce< CloudType >.
Definition at line 80 of file VirtualMassForce.H.
|
virtual |
Cache fields.
Reimplemented from PressureGradientForce< CloudType >.
Definition at line 65 of file VirtualMassForce.C.
References PressureGradientForce< CloudType >::cacheFields().
|
virtual |
Calculate the non-coupled force.
Reimplemented from PressureGradientForce< CloudType >.
Definition at line 72 of file VirtualMassForce.C.
References PressureGradientForce< CloudType >::calcCoupled(), p, Foam::Re(), and forceSuSp::Su().
|
virtual |
Return the added mass.
Reimplemented from PressureGradientForce< CloudType >.
Definition at line 92 of file VirtualMassForce.C.
References p.