Public Member Functions | Protected Attributes | List of all members
PressureGradientForce< CloudType > Class Template Reference

Calculates particle pressure gradient force. More...

Inheritance diagram for PressureGradientForce< CloudType >:
Inheritance graph
[legend]
Collaboration diagram for PressureGradientForce< CloudType >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("pressureGradient")
 
 PressureGradientForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType=typeName)
 
 PressureGradientForce (const PressureGradientForce &pgf)
 
virtual autoPtr< ParticleForce< CloudType > > clone () const
 
virtual ~PressureGradientForce ()
 
const interpolation< vector > & DUcDtInterp () const
 
virtual void cacheFields (const bool store)
 
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
 
virtual scalar massAdd (const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
 
- Public Member Functions inherited from ParticleForce< CloudType >
 TypeName ("particleForce")
 
 declareRunTimeSelectionTable (autoPtr, ParticleForce, dictionary,(CloudType &owner, const fvMesh &mesh, const dictionary &dict),(owner, mesh, dict))
 
 ParticleForce (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType, const bool readCoeffs)
 
 ParticleForce (const ParticleForce &pf)
 
virtual ~ParticleForce ()
 
const CloudTypeowner () const
 
CloudTypeowner ()
 
const fvMeshmesh () const
 
const dictionarycoeffs () const
 
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
 

Protected Attributes

const word UName_
 
autoPtr< interpolation< vector > > DUcDtInterpPtr_
 

Additional Inherited Members

- Public Types inherited from ParticleForce< CloudType >
typedef VectorSpace< Vector< vector >, vector, 2 > returnType
 
- Static Public Member Functions inherited from ParticleForce< CloudType >
static autoPtr< ParticleForce< CloudType > > New (CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType)
 

Detailed Description

template<class CloudType>
class Foam::PressureGradientForce< CloudType >

Calculates particle pressure gradient force.

Source files

Definition at line 53 of file PressureGradientForce.H.

Constructor & Destructor Documentation

◆ PressureGradientForce() [1/2]

PressureGradientForce ( CloudType owner,
const fvMesh mesh,
const dictionary dict,
const word forceType = typeName 
)

Definition at line 30 of file PressureGradientForce.C.

◆ PressureGradientForce() [2/2]

Definition at line 45 of file PressureGradientForce.C.

◆ ~PressureGradientForce()

Definition at line 58 of file PressureGradientForce.C.

Member Function Documentation

◆ TypeName()

TypeName ( "pressureGradient"  )

◆ clone()

virtual autoPtr<ParticleForce<CloudType> > clone ( ) const
inlinevirtual

Reimplemented from ParticleForce< CloudType >.

Reimplemented in VirtualMassForce< CloudType >.

Definition at line 89 of file PressureGradientForce.H.

◆ DUcDtInterp()

const Foam::interpolation< Foam::vector > & DUcDtInterp
inline

Definition at line 26 of file PressureGradientForceI.H.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ cacheFields()

void cacheFields ( const bool  store)
virtual

Reimplemented from ParticleForce< CloudType >.

Reimplemented in VirtualMassForce< CloudType >.

Definition at line 65 of file PressureGradientForce.C.

References Foam::fac::ddt(), Foam::fac::grad(), and mesh.

Here is the call graph for this function:

◆ calcCoupled()

Foam::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
virtual

Reimplemented from ParticleForce< CloudType >.

Reimplemented in VirtualMassForce< CloudType >.

Definition at line 116 of file PressureGradientForce.C.

References p, forceSuSp::Su(), and Foam::Zero.

Here is the call graph for this function:

◆ massAdd()

Foam::scalar massAdd ( const typename CloudType::parcelType p,
const typename CloudType::parcelType::trackingData &  td,
const scalar  mass 
) const
virtual

Reimplemented from ParticleForce< CloudType >.

Reimplemented in VirtualMassForce< CloudType >.

Definition at line 138 of file PressureGradientForce.C.

Member Data Documentation

◆ UName_

const word UName_
protected

Definition at line 62 of file PressureGradientForce.H.

◆ DUcDtInterpPtr_

autoPtr<interpolation<vector> > DUcDtInterpPtr_
protected

Definition at line 65 of file PressureGradientForce.H.


The documentation for this class was generated from the following files: