Templated wall interaction model class. More...
Public Member Functions | |
TypeName ("WallInteractionModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, WallInteractionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
Declare runtime constructor selection table. More... | |
WallInteractionModel (CloudType &owner) | |
Construct null from owner. More... | |
WallInteractionModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from components. More... | |
virtual | ~WallInteractionModel () |
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 void | correct (typename CloudType::parcelType &p, const wallPolyPatch &wpp)=0 |
Apply wall correction. More... | |
Static Public Member Functions | |
static autoPtr< WallInteractionModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
Templated wall interaction model class.
Definition at line 58 of file DSMCCloud.H.
WallInteractionModel | ( | CloudType & | owner | ) |
Construct null from owner.
Definition at line 31 of file WallInteractionModel.C.
WallInteractionModel | ( | const dictionary & | dict, |
CloudType & | owner, | ||
const word & | type | ||
) |
Construct from components.
Definition at line 41 of file WallInteractionModel.C.
|
virtual |
Destructor.
Definition at line 56 of file WallInteractionModel.C.
TypeName | ( | "WallInteractionModel< CloudType >" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
WallInteractionModel< CloudType > | , | ||
dictionary | , | ||
(const dictionary &dict, CloudType &owner) | , | ||
(dict, owner) | |||
) |
Declare runtime constructor selection table.
|
static |
Selector.
Definition at line 33 of file WallInteractionModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), and Foam::nl.
const CloudType & owner | ( | ) | const |
Return the owner cloud object.
Definition at line 63 of file WallInteractionModel.C.
CloudType & owner | ( | ) |
Return non-const access to the owner cloud object.
Definition at line 70 of file WallInteractionModel.C.
const Foam::dictionary & dict | ( | ) | const |
Return the dictionary.
Definition at line 77 of file WallInteractionModel.C.
const Foam::dictionary & coeffDict | ( | ) | const |
Return the coefficients dictionary.
Definition at line 85 of file WallInteractionModel.C.
|
pure virtual |
Apply wall correction.
Implemented in MixedDiffuseSpecular< CloudType >, MaxwellianThermal< CloudType >, and SpecularReflection< CloudType >.