WallLocalSpringSliderDashpot< CloudType > Class Template Reference

Forces between particles and walls, interacting with a spring, slider, damper model. More...

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

Public Member Functions

 TypeName ("wallLocalSpringSliderDashpot")
 Runtime type information. More...
 
 WallLocalSpringSliderDashpot (const dictionary &dict, CloudType &cloud)
 Construct from dictionary. More...
 
virtual ~WallLocalSpringSliderDashpot ()=default
 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 CloudTypeowner () const
 Return the owner cloud object. More...
 
CloudTypeowner ()
 Return non-const access to the owner cloud object. More...
 
const dictionarydict () const
 Return the dictionary. More...
 
const dictionarycoeffDict () const
 Return the coefficients dictionary. More...
 
virtual scalar pREff (const typename CloudType::parcelType &p) const =0
 Return the effective radius for a particle for the model. 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...
 
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 =0
 Calculate the wall interaction for a parcel. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from WallModel< CloudType >
static autoPtr< WallModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
 

Detailed Description

template<class CloudType>
class Foam::WallLocalSpringSliderDashpot< CloudType >

Forces between particles and walls, interacting 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 58 of file WallLocalSpringSliderDashpot.H.

Constructor & Destructor Documentation

◆ WallLocalSpringSliderDashpot()

WallLocalSpringSliderDashpot ( const dictionary dict,
CloudType cloud 
)

Construct from dictionary.

Definition at line 175 of file WallLocalSpringSliderDashpot.C.

References DynamicList< T, SizeMin >::append(), polyMesh::boundaryMesh(), WallModel< CloudType >::coeffDict(), DSMCCloud< ParcelType >::constProps(), forAll, dictionary::get(), Foam::mag(), mesh, Foam::name(), nu, WallModel< CloudType >::owner(), dictionary::readEntry(), List< T >::setSize(), UList< T >::size(), and Foam::sqr().

Here is the call graph for this function:

◆ ~WallLocalSpringSliderDashpot()

virtual ~WallLocalSpringSliderDashpot ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "wallLocalSpringSliderDashpot"  )

Runtime type information.

◆ volumeFactor()

scalar volumeFactor ( ) const
inline

Return the volumeFactor.

Definition at line 159 of file WallLocalSpringSliderDashpot.H.

◆ pREff()

Foam::scalar pREff ( const typename CloudType::parcelType p) const
virtual

Return the effective radius for a particle for the model.

Implements WallModel< CloudType >.

Definition at line 276 of file WallLocalSpringSliderDashpot.C.

References Foam::cbrt(), and p.

Here is the call graph for this function:

◆ controlsTimestep()

bool controlsTimestep
virtual

Whether the WallModel has a timestep limit that will.

require subCycling

Implements WallModel< CloudType >.

Definition at line 291 of file WallLocalSpringSliderDashpot.C.

◆ nSubCycles()

Foam::label nSubCycles
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 298 of file WallLocalSpringSliderDashpot.C.

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

Here is the call graph for this function:

◆ evaluateWall()

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
virtual

Calculate the wall interaction for a parcel.

Implements WallModel< CloudType >.

Definition at line 323 of file WallLocalSpringSliderDashpot.C.

References forAll, and p.


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