PairSpringSliderDashpot< CloudType > Class Template Reference

Pair forces between particles colliding with a spring, slider, damper model. More...

Inheritance diagram for PairSpringSliderDashpot< CloudType >:
[legend]
Collaboration diagram for PairSpringSliderDashpot< CloudType >:
[legend]

Public Member Functions

 TypeName ("pairSpringSliderDashpot")
 Runtime type information. More...
 
 PairSpringSliderDashpot (const dictionary &dict, CloudType &cloud)
 Construct from dictionary. More...
 
virtual ~PairSpringSliderDashpot ()=default
 Destructor. More...
 
scalar volumeFactor () const
 Return the volumeFactor. More...
 
scalar overlapArea (scalar rA, scalar rB, scalar rAB) const
 Return the area of overlap between two spheres of radii rA and rB,. More...
 
virtual bool controlsTimestep () const
 Whether the PairModel has a timestep limit that will. More...
 
virtual label nSubCycles () const
 For PairModels that control the timestep, calculate the. More...
 
virtual void evaluatePair (typename CloudType::parcelType &pA, typename CloudType::parcelType &pB) const
 Calculate the pair interaction between parcels. More...
 
- Public Member Functions inherited from PairModel< CloudType >
 TypeName ("pairModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, PairModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table. More...
 
 PairModel (CloudType &owner)
 Construct null from cloud owner. More...
 
 PairModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from components. More...
 
virtual ~PairModel ()
 Destructor. More...
 
const CloudTypeowner () const
 Return the owner cloud object. More...
 
const dictionarydict () const
 Return the dictionary. More...
 
const dictionarycoeffDict () const
 Return the coefficients dictionary. More...
 
virtual bool controlsTimestep () const =0
 Whether the PairModel has a timestep limit that will. More...
 
virtual label nSubCycles () const =0
 For PairModels that control the timestep, calculate the. More...
 
virtual void evaluatePair (typename CloudType::parcelType &pA, typename CloudType::parcelType &pB) const =0
 Calculate the pair interaction between parcels. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from PairModel< CloudType >
static autoPtr< PairModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
 
- Protected Member Functions inherited from PairModel< CloudType >
scalar forceCoeff (typename CloudType::parcelType &pA, typename CloudType::parcelType &pB) const
 Return the force coefficient based on the forceRampTime_. More...
 

Detailed Description

template<class CloudType>
class Foam::PairSpringSliderDashpot< CloudType >

Pair forces between particles colliding with a spring, slider, damper model.

Reference:

    "Lagrangian numerical simulation of plug flow of cohesionless
     particles in a horizontal pipe"
    Tsuji, Y., Tanaka, T., Ishida, T.,
    Powder Technology
    Volume 73, Issue 3, September 1992, pp. 239-250

Definition at line 59 of file PairSpringSliderDashpot.H.

Constructor & Destructor Documentation

◆ PairSpringSliderDashpot()

PairSpringSliderDashpot ( const dictionary dict,
CloudType cloud 
)

Construct from dictionary.

Definition at line 84 of file PairSpringSliderDashpot.C.

References PairModel< CloudType >::coeffDict(), DSMCCloud< ParcelType >::constProps(), Foam::mag(), nu, PairModel< CloudType >::owner(), dictionary::readEntry(), and Foam::sqr().

Here is the call graph for this function:

◆ ~PairSpringSliderDashpot()

virtual ~PairSpringSliderDashpot ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "pairSpringSliderDashpot"  )

Runtime type information.

◆ volumeFactor()

scalar volumeFactor ( ) const
inline

Return the volumeFactor.

Definition at line 145 of file PairSpringSliderDashpot.H.

◆ overlapArea()

scalar overlapArea ( scalar  rA,
scalar  rB,
scalar  rAB 
) const
inline

Return the area of overlap between two spheres of radii rA and rB,.

centres separated by a distance rAB. Assumes rAB < (rA + rB).

Definition at line 152 of file PairSpringSliderDashpot.H.

◆ controlsTimestep()

bool controlsTimestep
virtual

Whether the PairModel has a timestep limit that will.

require subCycling

Implements PairModel< CloudType >.

Definition at line 130 of file PairSpringSliderDashpot.C.

◆ nSubCycles()

Foam::label nSubCycles
virtual

For PairModels that control the timestep, calculate the.

number of subCycles needed to satisfy the minimum allowable timestep

Implements PairModel< CloudType >.

Definition at line 137 of file PairSpringSliderDashpot.C.

References Foam::pow(), rhoMax, and Foam::sqrt().

Here is the call graph for this function:

◆ evaluatePair()

void evaluatePair ( typename CloudType::parcelType pA,
typename CloudType::parcelType pB 
) const
virtual

Calculate the pair interaction between parcels.

Implements PairModel< CloudType >.

Definition at line 162 of file PairSpringSliderDashpot.C.

References Foam::cbrt(), M, Foam::mag(), Foam::pow(), Foam::pow025(), R, Foam::sqrt(), and Foam::Zero.

Here is the call graph for this function:

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