Correction limiting method based on the absolute particle velocity. More...

Inheritance diagram for absolute:
[legend]
Collaboration diagram for absolute:
[legend]

Public Member Functions

 TypeName ("absolute")
 Runtime type information. More...
 
 absolute (const dictionary &dict)
 Construct from components. More...
 
 absolute (const absolute &cl)
 Construct as copy. More...
 
virtual autoPtr< CorrectionLimitingMethodclone () const
 Construct and return a clone. More...
 
virtual ~absolute ()
 Destructor. More...
 
virtual vector limitedVelocity (const vector uP, const vector dU, const vector uMean) const
 Return the limited velocity. More...
 
- Public Member Functions inherited from CorrectionLimitingMethod
 TypeName ("correctionLimitingMethod")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, CorrectionLimitingMethod, dictionary,(const dictionary &dict),(dict))
 Declare runtime constructor selection table. More...
 
 CorrectionLimitingMethod (const dictionary &dict)
 Construct from components. More...
 
 CorrectionLimitingMethod (const CorrectionLimitingMethod &cl)
 Construct as copy. More...
 
virtual autoPtr< CorrectionLimitingMethodclone () const =0
 Construct and return a clone. More...
 
virtual ~CorrectionLimitingMethod ()
 Destructor. More...
 
virtual vector limitedVelocity (const vector uP, const vector dU, const vector uMean) const =0
 Return the limited velocity. More...
 

Protected Attributes

scalar e_
 Coefficient of restitution. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CorrectionLimitingMethod
static autoPtr< CorrectionLimitingMethodNew (const dictionary &dict)
 Selector. More...
 

Detailed Description

Correction limiting method based on the absolute particle velocity.

This method that limits the velocity correction to that of a rebound with a coefficient of restitution \(e\). The absolute velocity of the particle is used when calculating the magnitude of the limited correction. The direction is calculated using the relative velocity.

Source files

Definition at line 60 of file absolute.H.

Constructor & Destructor Documentation

◆ absolute() [1/2]

absolute ( const dictionary dict)

Construct from components.

Definition at line 48 of file absolute.C.

◆ absolute() [2/2]

absolute ( const absolute cl)

Construct as copy.

Definition at line 55 of file absolute.C.

◆ ~absolute()

~absolute ( )
virtual

Destructor.

Definition at line 64 of file absolute.C.

Member Function Documentation

◆ TypeName()

TypeName ( "absolute"  )

Runtime type information.

◆ clone()

virtual autoPtr< CorrectionLimitingMethod > clone ( ) const
inlinevirtual

Construct and return a clone.

Implements CorrectionLimitingMethod.

Definition at line 87 of file absolute.H.

◆ limitedVelocity()

Foam::vector limitedVelocity ( const vector  uP,
const vector  dU,
const vector  uMean 
) const
virtual

Return the limited velocity.

Implements CorrectionLimitingMethod.

Definition at line 70 of file absolute.C.

References Foam::mag(), Foam::max(), and Foam::minMod().

Here is the call graph for this function:

Member Data Documentation

◆ e_

scalar e_
protected

Coefficient of restitution.

Definition at line 69 of file absolute.H.


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