Public Types | Public Member Functions | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for surfaceDisplacementPointPatchVectorField:
Collaboration graph
[legend]

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 surfaceDisplacementPointPatchVectorField &, const pointPatch &, const DimensionedField< vector, pointMesh > &, const pointPatchFieldMapper &)
 Construct by mapping given patchField<vector> onto a new patch. More...
 
 surfaceDisplacementPointPatchVectorField (const surfaceDisplacementPointPatchVectorField &)
 Construct as copy. More...
 
virtual autoPtr< pointPatchVectorField > clone () const
 Construct and return a clone. More...
 
 surfaceDisplacementPointPatchVectorField (const surfaceDisplacementPointPatchVectorField &, const DimensionedField< vector, pointMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual autoPtr< pointPatchVectorField > clone (const DimensionedField< vector, pointMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
const searchableSurfaces & surfaces () 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...
 

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

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

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

Needs:

Source files

Definition at line 73 of file surfaceDisplacementPointPatchVectorField.H.

Member Enumeration Documentation

Enumerator
NEAREST 
POINTNORMAL 
FIXEDNORMAL 

Definition at line 82 of file surfaceDisplacementPointPatchVectorField.H.

Constructor & Destructor Documentation

Construct by mapping given patchField<vector> onto a new patch.

Definition at line 347 of file surfaceDisplacementPointPatchVectorField.C.

References surfaceDisplacementPointPatchVectorField::surfaceDisplacementPointPatchVectorField().

Here is the call graph for this function:

Construct as copy.

Definition at line 366 of file surfaceDisplacementPointPatchVectorField.C.

References surfaceDisplacementPointPatchVectorField::surfaceDisplacementPointPatchVectorField().

Here is the call graph for this function:

Construct as copy setting internal field reference.

Definition at line 382 of file surfaceDisplacementPointPatchVectorField.C.

Member Function Documentation

TypeName ( "surfaceDisplacement"  )

Runtime type information.

virtual autoPtr<pointPatchVectorField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 166 of file surfaceDisplacementPointPatchVectorField.H.

References surfaceDisplacementPointPatchVectorField::surfaceDisplacementPointPatchVectorField().

Here is the call graph for this function:

virtual autoPtr<pointPatchVectorField> clone ( const DimensionedField< vector, pointMesh > &  iF) const
inlinevirtual
const searchableSurfaces & surfaces ( ) const

Surface to follow. Demand loads surfaceNames.

Definition at line 400 of file surfaceDisplacementPointPatchVectorField.C.

References IOobject::MUST_READ, and IOobject::NO_WRITE.

Referenced by surfaceDisplacementPointPatchVectorField::clone(), and NamedEnum< Enum, nEnum >::names().

Here is the caller graph for this function:

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 426 of file surfaceDisplacementPointPatchVectorField.C.

References TimeState::deltaTValue(), forAll, Foam::max(), mesh, Foam::min(), VectorSpace< Vector< scalar >, scalar, 3 >::nComponents, Foam::operator==(), and objectRegistry::time().

Referenced by surfaceDisplacementPointPatchVectorField::clone().

Here is the call graph for this function:

Here is the caller graph for this function:

void write ( Ostream &  os) const
virtual

Write.

Definition at line 472 of file surfaceDisplacementPointPatchVectorField.C.

References token::END_STATEMENT, Foam::makePointPatchTypeField(), Foam::nl, word::null, write(), and Ostream::writeKeyword().

Referenced by surfaceDisplacementPointPatchVectorField::clone().

Here is the call graph for this function:

Here is the caller graph for this function:


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