Pair forces between particles colliding with a spring, slider, damper model. More...
Public Member Functions | |
TypeName ("pairSpringSliderDashpot") | |
Runtime type information. More... | |
PairSpringSliderDashpot (const dictionary &dict, CloudType &cloud) | |
Construct from dictionary. More... | |
virtual | ~PairSpringSliderDashpot () |
Destructor. More... | |
scalar | volumeFactor () const |
Return the volumeFactor. More... | |
scalar | overlapArea (scalar rA, scalar rB, scalar rAB) const |
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 (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from components. More... | |
virtual | ~PairModel () |
Destructor. More... | |
const CloudType & | owner () const |
Return the owner cloud object. More... | |
const dictionary & | dict () const |
Return the dictionary. More... | |
const dictionary & | coeffDict () const |
Return the coefficients dictionary. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from PairModel< CloudType > | |
static autoPtr< PairModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
Pair forces between particles colliding with a spring, slider, damper model.
Definition at line 47 of file PairSpringSliderDashpot.H.
PairSpringSliderDashpot | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
Construct from dictionary.
Definition at line 84 of file PairSpringSliderDashpot.C.
References Foam::constant::universal::G, Foam::mag(), and Foam::sqr().
|
virtual |
Destructor.
Definition at line 130 of file PairSpringSliderDashpot.C.
TypeName | ( | "pairSpringSliderDashpot" | ) |
Runtime type information.
|
inline |
Return the volumeFactor.
Definition at line 133 of file PairSpringSliderDashpot.H.
|
inline |
Definition at line 140 of file PairSpringSliderDashpot.H.
References PairSpringSliderDashpot< CloudType >::controlsTimestep(), PairSpringSliderDashpot< CloudType >::evaluatePair(), PairSpringSliderDashpot< CloudType >::nSubCycles(), Foam::constant::mathematical::pi(), and Foam::sqr().
|
virtual |
Whether the PairModel has a timestep limit that will.
require subCycling
Implements PairModel< CloudType >.
Definition at line 137 of file PairSpringSliderDashpot.C.
Referenced by PairSpringSliderDashpot< CloudType >::overlapArea().
|
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 144 of file PairSpringSliderDashpot.C.
References PairSpringSliderDashpot< CloudType >::evaluatePair(), Foam::pow(), and Foam::sqrt().
Referenced by PairSpringSliderDashpot< CloudType >::overlapArea().
|
virtual |
Calculate the pair interaction between parcels.
Implements PairModel< CloudType >.
Definition at line 170 of file PairSpringSliderDashpot.C.
References Foam::cbrt(), M, Foam::mag(), Foam::pow(), Foam::pow025(), R, Foam::sqrt(), and Foam::Zero.
Referenced by PairSpringSliderDashpot< CloudType >::nSubCycles(), and PairSpringSliderDashpot< CloudType >::overlapArea().