Forces between particles and walls, interacting with a spring, slider, damper model. More...
Public Member Functions | |
TypeName ("wallLocalSpringSliderDashpot") | |
Runtime type information. More... | |
WallLocalSpringSliderDashpot (const dictionary &dict, CloudType &cloud) | |
Construct from dictionary. More... | |
virtual | ~WallLocalSpringSliderDashpot () |
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... | |
![]() | |
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... | |
virtual bool | controlsTimestep () const=0 |
Whether the WallModel has a timestep limit that will. More... | |
virtual label | nSubCycles () const=0 |
For WallModels that control the timestep, calculate the. More... | |
Private Member Functions | |
void | findMinMaxProperties (scalar &rMin, scalar &rhoMax, scalar &vMagMax) const |
Find the appropriate properties for determining the minimum. More... | |
void | evaluateWall (typename CloudType::parcelType &p, const point &site, const WallSiteData< vector > &data, scalar pREff, bool cohesion) const |
Calculate the wall interaction for a parcel at a given site. More... | |
Private Attributes | |
scalarList | Estar_ |
Effective Young's modulus value. More... | |
scalarList | Gstar_ |
Effective shear modulus value. More... | |
scalarList | alpha_ |
alpha-coefficient, related to coefficient of restitution More... | |
scalarList | b_ |
Spring power (b = 1 for linear, b = 3/2 for Hertzian) More... | |
scalarList | mu_ |
Coefficient of friction in for tangential sliding. More... | |
scalarList | cohesionEnergyDensity_ |
Cohesion energy density [J/m^3]. More... | |
boolList | cohesion_ |
Switch cohesion on and off. More... | |
labelList | patchMap_ |
Mapping the patch index to the model data. More... | |
label | maxEstarIndex_ |
Index of the maximum value of Estar_. More... | |
scalar | collisionResolutionSteps_ |
The number of steps over which to resolve the minimum. More... | |
scalar | volumeFactor_ |
Volume factor for determining the equivalent size of a. More... | |
bool | useEquivalentSize_ |
Switch to control use of equivalent size particles. Used. More... | |
Additional Inherited Members | |
![]() | |
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 WallLocalSpringSliderDashpot.H.
WallLocalSpringSliderDashpot | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
Construct from dictionary.
Definition at line 175 of file WallLocalSpringSliderDashpot.C.
References DynamicList::append(), forAll, lookup(), dictionary::lookup(), Foam::mag(), mesh, Foam::name(), nu, readScalar, DynamicList::setSize(), and Foam::sqr().
|
virtual |
Destructor.
Definition at line 280 of file WallLocalSpringSliderDashpot.C.
|
private |
Find the appropriate properties for determining the minimum.
allowable timestep
Definition at line 32 of file WallLocalSpringSliderDashpot.C.
References Foam::cbrt(), forAllConstIter(), Foam::mag(), Foam::max(), Foam::min(), p, and rhoMax().
|
private |
Calculate the wall interaction for a parcel at a given site.
Definition at line 75 of file WallLocalSpringSliderDashpot.C.
References Foam::constant::atomic::alpha, Foam::constant::physicoChemical::b, Foam::mag(), Foam::max(), Foam::constant::physicoChemical::mu, p, Foam::constant::mathematical::pi(), Foam::pow(), Foam::pow025(), Foam::sqr(), and Foam::sqrt().
TypeName | ( | "wallLocalSpringSliderDashpot" | ) |
Runtime type information.
|
inline |
Return the volumeFactor.
Definition at line 147 of file WallLocalSpringSliderDashpot.H.
References WallLocalSpringSliderDashpot< CloudType >::volumeFactor_.
|
virtual |
Return the effective radius for a particle for the model.
Implements WallModel< CloudType >.
Definition at line 288 of file WallLocalSpringSliderDashpot.C.
References Foam::cbrt(), and p.
|
virtual |
Whether the WallModel has a timestep limit that will.
require subCycling
Definition at line 304 of file WallLocalSpringSliderDashpot.C.
|
virtual |
For WallModels that control the timestep, calculate the.
number of subCycles needed to satisfy the minimum allowable timestep
Definition at line 311 of file WallLocalSpringSliderDashpot.C.
References Foam::pow(), rhoMax(), and Foam::sqrt().
|
virtual |
Calculate the wall interaction for a parcel.
Implements WallModel< CloudType >.
Definition at line 337 of file WallLocalSpringSliderDashpot.C.
|
private |
Effective Young's modulus value.
Definition at line 53 of file WallLocalSpringSliderDashpot.H.
|
private |
Effective shear modulus value.
Definition at line 56 of file WallLocalSpringSliderDashpot.H.
|
private |
alpha-coefficient, related to coefficient of restitution
Definition at line 59 of file WallLocalSpringSliderDashpot.H.
|
private |
Spring power (b = 1 for linear, b = 3/2 for Hertzian)
Definition at line 62 of file WallLocalSpringSliderDashpot.H.
|
private |
Coefficient of friction in for tangential sliding.
Definition at line 65 of file WallLocalSpringSliderDashpot.H.
|
private |
Cohesion energy density [J/m^3].
Definition at line 68 of file WallLocalSpringSliderDashpot.H.
|
private |
Switch cohesion on and off.
Definition at line 71 of file WallLocalSpringSliderDashpot.H.
|
private |
Mapping the patch index to the model data.
Definition at line 74 of file WallLocalSpringSliderDashpot.H.
|
private |
Index of the maximum value of Estar_.
Definition at line 77 of file WallLocalSpringSliderDashpot.H.
|
private |
The number of steps over which to resolve the minimum.
harmonic approximation of the collision period
Definition at line 81 of file WallLocalSpringSliderDashpot.H.
|
private |
Volume factor for determining the equivalent size of a.
parcel where nParticles is not 1. The equivalent size of the parcel is parcelEquivVolume = volumeFactor*nParticles*p.volume() so parcelEquivD = cbrt(volumeFactor*nParticles)*p.d() + When volumeFactor = 1, the particles are compressed together so that the equivalent volume of the parcel is the sum of the constituent particles + When volumeFactor = 3*sqrt(2)/pi, the particles are close packed, but uncompressed. + When volumeFactor > 3*sqrt(2)/pi, the particles loosely grouped. 3*sqrt(2)/pi = 1.350474 is the volume factor for close packing, i.e pi/(3*sqrt(2)) is the maximum close packing factor
Definition at line 99 of file WallLocalSpringSliderDashpot.H.
Referenced by WallLocalSpringSliderDashpot< CloudType >::volumeFactor().
|
private |
Switch to control use of equivalent size particles. Used.
because the calculation can be very expensive.
Definition at line 103 of file WallLocalSpringSliderDashpot.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.