Forces between particles and walls, interacting with a spring, slider, damper model. More...
Public Member Functions | |
TypeName ("wallSpringSliderDashpot") | |
Runtime type information. More... | |
WallSpringSliderDashpot (const dictionary &dict, CloudType &cloud) | |
Construct from dictionary. More... | |
virtual | ~WallSpringSliderDashpot () |
Destructor. More... | |
scalar | volumeFactor () const |
Return the volumeFactor. More... | |
virtual scalar | pREff (const typename CloudType::parcelType &p) const |
Return the effective radius for a particle for the model. More... | |
virtual bool | controlsTimestep () const |
Whether the WallModel has a timestep limit that will. More... | |
virtual label | nSubCycles () const |
For WallModels that control the timestep, calculate the. More... | |
virtual void | evaluateWall (typename CloudType::parcelType &p, const List< point > &flatSitePoints, const List< WallSiteData< vector >> &flatSiteData, const List< point > &sharpSitePoints, const List< WallSiteData< vector >> &sharpSiteData) const |
Calculate the wall interaction for a parcel. More... | |
Public Member Functions inherited from WallModel< CloudType > | |
TypeName ("wallModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, WallModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
Declare runtime constructor selection table. More... | |
WallModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from components. More... | |
virtual | ~WallModel () |
Destructor. More... | |
const CloudType & | owner () const |
Return the owner cloud object. More... | |
CloudType & | owner () |
Return non-const access to 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 WallModel< CloudType > | |
static autoPtr< WallModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
Forces between particles and walls, interacting with a spring, slider, damper model.
Definition at line 46 of file WallSpringSliderDashpot.H.
WallSpringSliderDashpot | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
Construct from dictionary.
Definition at line 159 of file WallSpringSliderDashpot.C.
References lookup(), Foam::mag(), nu, readScalar, and Foam::sqr().
|
virtual |
Destructor.
Definition at line 209 of file WallSpringSliderDashpot.C.
References WallSpringSliderDashpot< CloudType >::pREff().
TypeName | ( | "wallSpringSliderDashpot" | ) |
Runtime type information.
|
inline |
Return the volumeFactor.
Definition at line 142 of file WallSpringSliderDashpot.H.
References WallSpringSliderDashpot< CloudType >::controlsTimestep(), WallSpringSliderDashpot< CloudType >::nSubCycles(), and WallSpringSliderDashpot< CloudType >::pREff().
|
virtual |
Return the effective radius for a particle for the model.
Implements WallModel< CloudType >.
Definition at line 217 of file WallSpringSliderDashpot.C.
References Foam::cbrt().
Referenced by WallSpringSliderDashpot< CloudType >::volumeFactor(), and WallSpringSliderDashpot< CloudType >::~WallSpringSliderDashpot().
|
virtual |
Whether the WallModel has a timestep limit that will.
require subCycling
Implements WallModel< CloudType >.
Definition at line 233 of file WallSpringSliderDashpot.C.
Referenced by WallSpringSliderDashpot< CloudType >::volumeFactor().
|
virtual |
For WallModels that control the timestep, calculate the.
number of subCycles needed to satisfy the minimum allowable timestep
Implements WallModel< CloudType >.
Definition at line 240 of file WallSpringSliderDashpot.C.
References Foam::pow(), and Foam::sqrt().
Referenced by WallSpringSliderDashpot< CloudType >::volumeFactor().
|
virtual |
Calculate the wall interaction for a parcel.
Implements WallModel< CloudType >.
Definition at line 266 of file WallSpringSliderDashpot.C.
References forAll, and Foam::sqrt().