Templated pair interaction class. More...
#include <PairModel.H>

Public Member Functions | |
| TypeName ("pairModel") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, PairModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
| Declare runtime constructor selection table. | |
| PairModel (CloudType &owner) | |
| Construct null from cloud owner. | |
| PairModel (const dictionary &dict, CloudType &owner, const word &type) | |
| Construct from components. | |
| virtual | ~PairModel () |
| Destructor. | |
| const CloudType & | owner () const |
| Return the owner cloud object. | |
| const dictionary & | dict () const |
| Return the dictionary. | |
| const dictionary & | coeffDict () const |
| Return the coefficients dictionary. | |
| virtual bool | controlsTimestep () const =0 |
| Whether the PairModel has a timestep limit that will. | |
| virtual label | nSubCycles () const =0 |
| For PairModels that control the timestep, calculate the. | |
| virtual void | evaluatePair (typename CloudType::parcelType &pA, typename CloudType::parcelType &pB) const =0 |
| Calculate the pair interaction between parcels. | |
Static Public Member Functions | |
| static autoPtr< PairModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
| Selector. | |
Protected Member Functions | |
| scalar | forceCoeff (typename CloudType::parcelType &pA, typename CloudType::parcelType &pB) const |
| Return the force coefficient based on the forceRampTime_. | |
Templated pair interaction class.
Definition at line 51 of file PairModel.H.
Construct null from cloud owner.
Definition at line 27 of file PairModel.C.
References owner().
Referenced by declareRunTimeSelectionTable(), NoPair< CloudType >::NoPair(), and PairSpringSliderDashpot< CloudType >::PairSpringSliderDashpot().


| PairModel | ( | const dictionary & | dict, |
| CloudType & | owner, | ||
| const word & | type ) |
Construct from components.
Definition at line 40 of file PairModel.C.
References coeffDict(), dict(), and owner().

Destructor.
Definition at line 60 of file PairModel.C.
|
protected |
Return the force coefficient based on the forceRampTime_.
Definition at line 89 of file PairModel.C.
References Foam::min().
Referenced by PairSpringSliderDashpot< CloudType >::evaluatePair().


| TypeName | ( | "pairModel" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| PairModel< CloudType > | , | ||
| dictionary | , | ||
| (const dictionary &dict, CloudType &owner) | , | ||
| (dict, owner) | ) |
Declare runtime constructor selection table.
References dict(), owner(), and PairModel().

|
static |
Selector.
Definition at line 28 of file PairModelNew.C.
References dict(), Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, and owner().

Return the owner cloud object.
Definition at line 68 of file PairModel.C.
Referenced by declareRunTimeSelectionTable(), PairSpringSliderDashpot< CloudType >::evaluatePair(), New(), PairSpringSliderDashpot< CloudType >::nSubCycles(), PairModel(), PairModel(), and PairSpringSliderDashpot< CloudType >::PairSpringSliderDashpot().

| const Foam::dictionary & dict | ( | ) | const |
Return the dictionary.
Definition at line 75 of file PairModel.C.
Referenced by declareRunTimeSelectionTable(), New(), NoPair< CloudType >::NoPair(), PairModel(), PairSpringSliderDashpot< CloudType >::PairSpringSliderDashpot(), NoPair< CloudType >::TypeName(), and PairSpringSliderDashpot< CloudType >::TypeName().

| const Foam::dictionary & coeffDict | ( | ) | const |
Return the coefficients dictionary.
Definition at line 82 of file PairModel.C.
Referenced by PairModel(), and PairSpringSliderDashpot< CloudType >::PairSpringSliderDashpot().

|
pure virtual |
Whether the PairModel has a timestep limit that will.
require subCycling
Implemented in NoPair< CloudType >, and PairSpringSliderDashpot< CloudType >.
|
pure virtual |
For PairModels that control the timestep, calculate the.
number of subCycles needed to satisfy the minimum allowable timestep
Implemented in NoPair< CloudType >, and PairSpringSliderDashpot< CloudType >.
|
pure virtual |
Calculate the pair interaction between parcels.
Implemented in NoPair< CloudType >, and PairSpringSliderDashpot< CloudType >.