stickVelocityLagrangianPatchVectorField Class Reference

A stick velocity boundary condition. Particles that hit a patch with this condition will stick to it and remain at the patch's velocity (stationary if the mesh is not moving) from then on. More...

Inheritance diagram for stickVelocityLagrangianPatchVectorField:
Collaboration diagram for stickVelocityLagrangianPatchVectorField:

Public Member Functions

 TypeName ("stickVelocity")
 Runtime type information. 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 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 stick velocity boundary condition. Particles that hit a patch with this condition will stick to it and remain at the patch's velocity (stationary if the mesh is not moving) from then on.

Usage
Example specification:
<LagrangianPatchName>
{
    type            stickVelocity;
}
Source files

Definition at line 59 of file stickVelocityLagrangianPatchVectorField.H.

Member Function Documentation

◆ TypeName()

TypeName ( "stickVelocity"  )

Runtime type information.

◆ clone() [1/2]

virtual autoPtr<LagrangianPatchVectorField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 77 of file stickVelocityLagrangianPatchVectorField.H.

◆ 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 86 of file stickVelocityLagrangianPatchVectorField.H.

◆ evaluate()

void evaluate ( PstreamBuffers pBufs,
const LagrangianScalarInternalDynamicField fraction 
)
virtual

Evaluate the patch field.

Definition at line 31 of file stickVelocityLagrangianPatchVectorField.C.

References Foam::evaluate().

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 47 of file stickVelocityLagrangianPatchVectorField.C.

References Foam::onPatchZero.


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