WallModel< CloudType > Class Template Referenceabstract

Templated wall interaction class. More...

Inheritance diagram for WallModel< CloudType >:
[legend]

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 55 of file WallModel.H.

Constructor & Destructor Documentation

◆ WallModel()

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

Construct from components.

Definition at line 33 of file WallModel.C.

◆ ~WallModel()

~WallModel
virtual

Destructor.

Definition at line 49 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 35 of file WallModelNew.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.

Here is the call graph for this function:

◆ owner() [1/2]

const CloudType & owner

Return the owner cloud object.

Definition at line 57 of file WallModel.C.

Referenced by WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), and WallSpringSliderDashpot< CloudType >::WallSpringSliderDashpot().

Here is the caller graph for this function:

◆ owner() [2/2]

CloudType & owner

Return non-const access to the owner cloud object.

Definition at line 65 of file WallModel.C.

◆ dict()

const Foam::dictionary & dict

Return the dictionary.

Definition at line 72 of file WallModel.C.

◆ coeffDict()

const Foam::dictionary & coeffDict

Return the coefficients dictionary.

Definition at line 80 of file WallModel.C.

Referenced by WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), and WallSpringSliderDashpot< CloudType >::WallSpringSliderDashpot().

Here is the caller graph for this function:

◆ 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: