reboundVelocityLagrangianPatchVectorField Class Reference

A rebound velocity boundary condition. Particles that hit a patch with this condition will rebound back into the volume of the mesh. The change in velocity is characterised by a coefficient of restitution and a fractional tangential momentum loss. More...

Inheritance diagram for reboundVelocityLagrangianPatchVectorField:
Collaboration diagram for reboundVelocityLagrangianPatchVectorField:

Public Member Functions

 TypeName ("reboundVelocity")
 Runtime type information. More...
 
 reboundVelocityLagrangianPatchVectorField (const LagrangianPatch &, const regIOobject &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 reboundVelocityLagrangianPatchVectorField (const reboundVelocityLagrangianPatchVectorField &)
 Construct as copy. More...
 
 reboundVelocityLagrangianPatchVectorField (const reboundVelocityLagrangianPatchVectorField &, const regIOobject &)
 Construct as copy setting the internal field reference. More...
 
virtual autoPtr< LagrangianPatchVectorField > clone () const
 Construct and return a clone. More...
 
virtual autoPtr< LagrangianPatchVectorField > clone (const regIOobject &iIo) const
 Construct and return a clone setting the internal field reference. More...
 
virtual void evaluate (PstreamBuffers &, const LagrangianScalarInternalDynamicField &fraction)
 Evaluate the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 
virtual LagrangianState state () const
 Return the state after interaction with this patch. More...
 
- Public Member Functions inherited from cloudVelocityLagrangianPatchVectorField
 TypeName ("cloudVelocity")
 Runtime type information. More...
 

Detailed Description

A rebound velocity boundary condition. Particles that hit a patch with this condition will rebound back into the volume of the mesh. The change in velocity is characterised by a coefficient of restitution and a fractional tangential momentum loss.

Usage
Property Description Required? Default
e Coefficient of restitution yes
mu Fractional tangential momentum loss yes

Example specification:

    <LagrangianPatchName>
    {
        type            reboundVelocity;
        e               0.8;
        mu              10 [%];
    }
Source files

Definition at line 83 of file reboundVelocityLagrangianPatchVectorField.H.

Constructor & Destructor Documentation

◆ reboundVelocityLagrangianPatchVectorField() [1/3]

reboundVelocityLagrangianPatchVectorField ( const LagrangianPatch p,
const regIOobject iIo,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 31 of file reboundVelocityLagrangianPatchVectorField.C.

Referenced by reboundVelocityLagrangianPatchVectorField::clone().

Here is the caller graph for this function:

◆ reboundVelocityLagrangianPatchVectorField() [2/3]

◆ reboundVelocityLagrangianPatchVectorField() [3/3]

Construct as copy setting the internal field reference.

Definition at line 57 of file reboundVelocityLagrangianPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "reboundVelocity"  )

Runtime type information.

◆ clone() [1/2]

virtual autoPtr<LagrangianPatchVectorField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 126 of file reboundVelocityLagrangianPatchVectorField.H.

References reboundVelocityLagrangianPatchVectorField::reboundVelocityLagrangianPatchVectorField().

Here is the call graph for this function:

◆ clone() [2/2]

virtual autoPtr<LagrangianPatchVectorField> clone ( const regIOobject iIo) const
inlinevirtual

Construct and return a clone setting the internal field reference.

Definition at line 135 of file reboundVelocityLagrangianPatchVectorField.H.

◆ evaluate()

void evaluate ( PstreamBuffers pBufs,
const LagrangianScalarInternalDynamicField fraction 
)
virtual

Evaluate the patch field.

Definition at line 72 of file reboundVelocityLagrangianPatchVectorField.C.

References Foam::evaluate(), mesh, and U.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 96 of file reboundVelocityLagrangianPatchVectorField.C.

References Foam::vtkWriteOps::write(), and Foam::writeEntry().

Here is the call graph for this function:

◆ state()

Foam::LagrangianState state ( ) const
virtual

Return the state after interaction with this patch.

Implements cloudVelocityLagrangianPatchVectorField.

Definition at line 106 of file reboundVelocityLagrangianPatchVectorField.C.

References Foam::inCell.


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