Loading...
Searching...
No Matches
MixedDiffuseSpecular< CloudType > Class Template Reference

Wall interaction setting microscopic velocity to a random one drawn from a Maxwellian distribution corresponding to a specified temperature for a specified fraction of collisions, and reversing the wall-normal component of the particle velocity for the remainder. More...

#include <MixedDiffuseSpecular.H>

Inheritance diagram for MixedDiffuseSpecular< CloudType >:
Collaboration diagram for MixedDiffuseSpecular< CloudType >:

Public Member Functions

 TypeName ("MixedDiffuseSpecular")
 Runtime type information.
 MixedDiffuseSpecular (const dictionary &dict, CloudType &cloud)
 Construct from dictionary.
virtual ~MixedDiffuseSpecular ()
 Destructor.
virtual void correct (typename CloudType::parcelType &p)
 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 (CloudType &owner)
 Construct null from owner.
 WallInteractionModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from components.
virtual ~WallInteractionModel ()
 Destructor.
const CloudTypeowner () const
 Return the owner cloud object.
CloudTypeowner ()
 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.

Detailed Description

template<class CloudType>
class Foam::MixedDiffuseSpecular< CloudType >

Wall interaction setting microscopic velocity to a random one drawn from a Maxwellian distribution corresponding to a specified temperature for a specified fraction of collisions, and reversing the wall-normal component of the particle velocity for the remainder.

Definition at line 45 of file MixedDiffuseSpecular.H.

Constructor & Destructor Documentation

◆ MixedDiffuseSpecular()

template<class CloudType>
MixedDiffuseSpecular ( const dictionary & dict,
CloudType & cloud )

◆ ~MixedDiffuseSpecular()

template<class CloudType>
~MixedDiffuseSpecular ( )
virtual

Destructor.

Definition at line 40 of file MixedDiffuseSpecular.C.

Member Function Documentation

◆ TypeName()

template<class CloudType>
TypeName ( "MixedDiffuseSpecular< CloudType >" )

Runtime type information.

References WallInteractionModel< CloudType >::dict(), and p.

Here is the call graph for this function:

◆ correct()

template<class CloudType>
void correct ( typename CloudType::parcelType & p)
virtual

Apply wall correction.

Implements WallInteractionModel< CloudType >.

Definition at line 47 of file MixedDiffuseSpecular.C.

References Foam::log(), Foam::mag(), Foam::max(), WallInteractionModel< CloudType >::owner(), p, rndGen, Foam::sqrt(), Foam::T(), U, and polyPatch::whichFace().

Here is the call graph for this function:

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