Public Member Functions | |
DenseDragForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &typeName) | |
Construct from mesh. More... | |
DenseDragForce (const DenseDragForce< CloudType > &df) | |
Construct copy. More... | |
virtual | ~DenseDragForce () |
Destructor. More... | |
const interpolation< scalar > & | alphacInterp () const |
Return the volume fraction interpolation. More... | |
virtual void | cacheFields (const bool store) |
Cache fields. 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 autoPtr< ParticleForce< CloudType > > | clone () const |
Construct and return a clone. 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 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 Attributes | |
const word | alphacName_ |
Name of the carrier volume fraction field. More... | |
autoPtr< volScalarField > | alphacPtr_ |
The carrier volume fraction field. More... | |
autoPtr< interpolation< scalar > > | alphacInterpPtr_ |
Interpolation for the carrier volume fraction field. 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... | |
Definition at line 44 of file DenseDragForce.H.
DenseDragForce | ( | CloudType & | owner, |
const fvMesh & | mesh, | ||
const dictionary & | dict, | ||
const word & | typeName | ||
) |
Construct from mesh.
Definition at line 34 of file DenseDragForce.C.
DenseDragForce | ( | const DenseDragForce< CloudType > & | df | ) |
Construct copy.
Definition at line 50 of file DenseDragForce.C.
|
virtual |
Destructor.
Definition at line 64 of file DenseDragForce.C.
const Foam::interpolation< Foam::scalar > & alphacInterp | ( | ) | const |
Return the volume fraction interpolation.
Definition at line 72 of file DenseDragForce.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Cache fields.
Reimplemented from ParticleForce< CloudType >.
Definition at line 86 of file DenseDragForce.C.
References mesh.
|
protected |
Name of the carrier volume fraction field.
Definition at line 53 of file DenseDragForce.H.
|
protected |
The carrier volume fraction field.
Definition at line 56 of file DenseDragForce.H.
|
protected |
Interpolation for the carrier volume fraction field.
Definition at line 59 of file DenseDragForce.H.