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...
Public Member Functions | |
TypeName ("MixedDiffuseSpecular") | |
Runtime type information. More... | |
MixedDiffuseSpecular (const dictionary &dict, CloudType &cloud) | |
Construct from dictionary. More... | |
virtual | ~MixedDiffuseSpecular () |
Destructor. More... | |
virtual void | correct (typename CloudType::parcelType &p, const wallPolyPatch &wpp) |
Apply wall correction. More... | |
Public Member Functions inherited from WallInteractionModel< CloudType > | |
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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from WallInteractionModel< CloudType > | |
static autoPtr< WallInteractionModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. More... | |
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 49 of file MixedDiffuseSpecular.H.
MixedDiffuseSpecular | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
Construct from dictionary.
Definition at line 32 of file MixedDiffuseSpecular.C.
|
virtual |
Destructor.
Definition at line 45 of file MixedDiffuseSpecular.C.
References MixedDiffuseSpecular< CloudType >::correct().
TypeName | ( | "MixedDiffuseSpecular< CloudType >" | ) |
Runtime type information.
|
virtual |
Apply wall correction.
Implements WallInteractionModel< CloudType >.
Definition at line 53 of file MixedDiffuseSpecular.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), DSMCCloud< ParcelType >::boundaryT(), DSMCCloud< ParcelType >::boundaryU(), DSMCCloud< ParcelType >::constProps(), DSMCCloud< ParcelType >::equipartitionInternalEnergy(), patchIdentifier::index(), k, Foam::log(), Foam::mag(), Foam::max(), nw, rndGen(), DSMCCloud< ParcelType >::rndGen(), Foam::sqrt(), T, U, polyPatch::whichFace(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
Referenced by MixedDiffuseSpecular< CloudType >::~MixedDiffuseSpecular().