WallModel< CloudType > Class Template Referenceabstract

Templated wall interaction class. More...

Inheritance diagram for WallModel< CloudType >:

Public Member Functions

 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...
 

Static Public Member Functions

static autoPtr< WallModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
 

Detailed Description

template<class CloudType>
class Foam::WallModel< CloudType >

Templated wall interaction class.

Source files

Definition at line 51 of file PairCollision.H.

Constructor & Destructor Documentation

◆ WallModel()

WallModel ( const dictionary dict,
CloudType owner,
const word type 
)

Construct from components.

Definition at line 32 of file WallModel.C.

◆ ~WallModel()

~WallModel ( )
virtual

Destructor.

Definition at line 47 of file WallModel.C.

Member Function Documentation

◆ TypeName()

TypeName ( "wallModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
WallModel< CloudType ,
dictionary  ,
(const dictionary &dict, CloudType &owner ,
(dict, owner  
)

Declare runtime constructor selection table.

◆ New()

Foam::autoPtr< Foam::WallModel< CloudType > > New ( const dictionary dict,
CloudType owner 
)
static

Selector.

Definition at line 33 of file WallModelNew.C.

◆ owner() [1/2]

const CloudType & owner ( ) const

Return the owner cloud object.

Definition at line 55 of file WallModel.C.

◆ owner() [2/2]

CloudType & owner ( )

Return non-const access to the owner cloud object.

Definition at line 63 of file WallModel.C.

◆ dict()

const Foam::dictionary & dict ( ) const

Return the dictionary.

Definition at line 70 of file WallModel.C.

◆ coeffDict()

const Foam::dictionary & coeffDict ( ) const

Return the coefficients dictionary.

Definition at line 78 of file WallModel.C.

◆ pREff()

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

Return the effective radius for a particle for the model.

Implemented in WallLocalSpringSliderDashpot< CloudType >, and WallSpringSliderDashpot< CloudType >.

◆ controlsTimestep()

virtual bool controlsTimestep ( ) const
pure virtual

Whether the WallModel has a timestep limit that will.

require subCycling

Implemented in WallLocalSpringSliderDashpot< CloudType >, and WallSpringSliderDashpot< CloudType >.

◆ nSubCycles()

virtual label nSubCycles ( ) const
pure virtual

For WallModels that control the timestep, calculate the.

number of subCycles needed to satisfy the minimum allowable timestep

Implemented in WallLocalSpringSliderDashpot< CloudType >, and WallSpringSliderDashpot< CloudType >.

◆ evaluateWall()

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
pure virtual

Calculate the wall interaction for a parcel.

Implemented in WallLocalSpringSliderDashpot< CloudType >, and WallSpringSliderDashpot< CloudType >.


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