surfaceDisplacementPointPatchVectorField Class Reference

Displacement fixed by projection onto triSurface. Use in a displacementMotionSolver as a bc on the pointDisplacement field. More...

Inheritance diagram for surfaceDisplacementPointPatchVectorField:
Collaboration diagram for surfaceDisplacementPointPatchVectorField:

Public Types

enum  projectMode { NEAREST, POINTNORMAL, FIXEDNORMAL }
 

Public Member Functions

 TypeName ("surfaceDisplacement")
 Runtime type information. More...
 
 surfaceDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &)
 Construct from patch and internal field. More...
 
 surfaceDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 surfaceDisplacementPointPatchVectorField (const this_bctype &, const pointPatch &, const DimensionedField< vector, pointMesh > &, const pointPatchFieldMapper &)
 Construct by mapping onto a new patch. More...
 
 surfaceDisplacementPointPatchVectorField (const this_bctype &, const DimensionedField< vector, pointMesh > &)
 Construct as copy setting internal field reference. More...
 
 surfaceDisplacementPointPatchVectorField (const this_bctype &)=delete
 No copy without an internal field. More...
 
virtual autoPtr< pointPatchField< vector > > clone (const DimensionedField< vector, pointMesh > &iF) const
 Clone with an internal field reference. More...
 
const searchableSurfacessurfaces () const
 Surface to follow. Demand loads surfaceNames. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 
void operator= (const surfaceDisplacementPointPatchVectorField &)=delete
 No copy assignment. More...
 

Detailed Description

Displacement fixed by projection onto triSurface. Use in a displacementMotionSolver as a bc on the pointDisplacement field.

Calculates the projection onto the surface according to the projectMode

  • NEAREST : nearest
  • POINTNORMAL : intersection with point normal
  • FIXEDNORMAL : intersection with fixed vector

This displacement is then clipped with the specified velocity * deltaT.

Optionally (intersection only) removes a component ("wedgePlane") to stay in 2D.

Needs:

  • geometry : dictionary with searchableSurfaces. (usually triSurfaceMeshes in constant/triSurface)
  • projectMode : see above
  • projectDirection : if projectMode = fixedNormal
  • wedgePlane : -1 or component to knock out of intersection normal
  • frozenPointsZone : empty or name of pointZone containing points that do not move
Source files

Definition at line 72 of file surfaceDisplacementPointPatchVectorField.H.

Member Enumeration Documentation

◆ projectMode

Enumerator
NEAREST 
POINTNORMAL 
FIXEDNORMAL 

Definition at line 83 of file surfaceDisplacementPointPatchVectorField.H.

Constructor & Destructor Documentation

◆ surfaceDisplacementPointPatchVectorField() [1/5]

Construct from patch and internal field.

◆ surfaceDisplacementPointPatchVectorField() [2/5]

Construct from patch, internal field and dictionary.

◆ surfaceDisplacementPointPatchVectorField() [3/5]

Construct by mapping onto a new patch.

◆ surfaceDisplacementPointPatchVectorField() [4/5]

Construct as copy setting internal field reference.

◆ surfaceDisplacementPointPatchVectorField() [5/5]

No copy without an internal field.

Member Function Documentation

◆ TypeName()

TypeName ( "surfaceDisplacement"  )

Runtime type information.

◆ clone()

virtual autoPtr<pointPatchField<vector> > clone ( const DimensionedField< vector, pointMesh > &  iF) const
inlinevirtual

Clone with an internal field reference.

Definition at line 200 of file surfaceDisplacementPointPatchVectorField.H.

References pointPatchField< Type >::Clone().

Here is the call graph for this function:

◆ surfaces()

const searchableSurfaces& surfaces ( ) const

Surface to follow. Demand loads surfaceNames.

◆ updateCoeffs()

virtual void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

◆ write()

virtual void write ( Ostream ) const
virtual

Write.

◆ operator=()

void operator= ( const surfaceDisplacementPointPatchVectorField )
delete

No copy assignment.


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