FreeFOAM The Cross-Platform CFD Toolkit
SpecularReflection< CloudType > Class Template Reference

Reversing the wall-normal component of the particle velocity. More...

#include <dsmc/SpecularReflection.H>


Detailed Description

template<class CloudType>
class Foam::SpecularReflection< CloudType >

Reversing the wall-normal component of the particle velocity.

Definition at line 46 of file SpecularReflection.H.

+ Inheritance diagram for SpecularReflection< CloudType >:
+ Collaboration diagram for SpecularReflection< CloudType >:

List of all members.

Public Member Functions

 TypeName ("SpecularReflection")
 Runtime type information.
 SpecularReflection (const dictionary &dict, CloudType &cloud)
 Construct from dictionary.
virtual ~SpecularReflection ()
virtual void correct (const wallPolyPatch &wpp, const label faceId, vector &U, scalar &Ei, label typeId)
 Apply wall correction.
- Public Member Functions inherited from WallInteractionModel< CloudType >
 TypeName ("WallInteractionModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, WallInteractionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table.
 WallInteractionModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from components.
virtual ~WallInteractionModel ()
const CloudType & owner () const
 Return the owner cloud object.
CloudType & owner ()
 Return non-const access to the owner cloud object.
const dictionarydict () const
 Return the dictionary.
const dictionarycoeffDict () const
 Return the coefficients dictionary.

Additional Inherited Members

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

Constructor & Destructor Documentation

SpecularReflection ( const dictionary dict,
CloudType &  cloud 
)

Construct from dictionary.

Definition at line 34 of file SpecularReflection.C.

~SpecularReflection ( )
virtual

Definition at line 46 of file SpecularReflection.C.


Member Function Documentation

TypeName ( "SpecularReflection< CloudType >"  )

Runtime type information.

void correct ( const wallPolyPatch wpp,
const label  faceId,
vector U,
scalar &  Ei,
label  typeId 
)
virtual

Apply wall correction.

Implements WallInteractionModel< CloudType >.

Definition at line 54 of file SpecularReflection.C.

References polyPatch::faceAreas(), Foam::mag(), and polyPatch::whichFace().


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