Wall interaction setting microscopic velocity to a random one drawn from a Maxwellian distribution corresponding to a specified temperature. More...
Public Member Functions | |
TypeName ("MaxwellianThermal") | |
Runtime type information. More... | |
MaxwellianThermal (const dictionary &dict, CloudType &cloud) | |
Construct from dictionary. More... | |
virtual | ~MaxwellianThermal () |
Destructor. More... | |
virtual void | correct (typename CloudType::parcelType &p) |
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.
Definition at line 47 of file MaxwellianThermal.H.
MaxwellianThermal | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
Construct from dictionary.
Definition at line 35 of file MaxwellianThermal.C.
|
virtual |
Destructor.
Definition at line 47 of file MaxwellianThermal.C.
References MaxwellianThermal< CloudType >::correct().
TypeName | ( | "MaxwellianThermal< CloudType >" | ) |
Runtime type information.
|
virtual |
Apply wall correction.
Implements WallInteractionModel< CloudType >.
Definition at line 55 of file MaxwellianThermal.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), polyPatch::boundaryMesh(), DSMCCloud< ParcelType >::boundaryT(), DSMCCloud< ParcelType >::boundaryU(), DSMCCloud< ParcelType >::constProps(), DSMCCloud< ParcelType >::equipartitionInternalEnergy(), Foam::constant::physicoChemical::k, Foam::log(), Foam::mag(), Foam::max(), nw, rndGen(), DSMCCloud< ParcelType >::rndGen(), Foam::sqrt(), Foam::T(), U, polyPatch::whichFace(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
Referenced by MaxwellianThermal< CloudType >::~MaxwellianThermal().