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


Public Types | |
| enum | projectMode { NEAREST , POINTNORMAL , FIXEDNORMAL } |
Public Member Functions | |
| TypeName ("surfaceDisplacement") | |
| Runtime type information. 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 fieldMapper &) | |
| Construct by mapping given patchField<vector> onto a new patch. More... | |
| surfaceDisplacementPointPatchVectorField (const surfaceDisplacementPointPatchVectorField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| surfaceDisplacementPointPatchVectorField (const surfaceDisplacementPointPatchVectorField &, const DimensionedField< vector, pointMesh > &) | |
| Copy constructor 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 searchableSurfaceList & | 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... | |
| void | operator= (const surfaceDisplacementPointPatchVectorField &)=delete |
| Disallow default bitwise assignment. More... | |
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:
Definition at line 73 of file surfaceDisplacementPointPatchVectorField.H.
| enum projectMode |
| Enumerator | |
|---|---|
| NEAREST | |
| POINTNORMAL | |
| FIXEDNORMAL | |
Definition at line 81 of file surfaceDisplacementPointPatchVectorField.H.
| surfaceDisplacementPointPatchVectorField | ( | const pointPatch & | p, |
| const DimensionedField< vector, pointMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 302 of file surfaceDisplacementPointPatchVectorField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().

| surfaceDisplacementPointPatchVectorField | ( | const surfaceDisplacementPointPatchVectorField & | ppf, |
| const pointPatch & | p, | ||
| const DimensionedField< vector, pointMesh > & | iF, | ||
| const fieldMapper & | mapper | ||
| ) |
Construct by mapping given patchField<vector> onto a new patch.
Definition at line 329 of file surfaceDisplacementPointPatchVectorField.C.
|
delete |
Disallow copy without setting internal field reference.
| surfaceDisplacementPointPatchVectorField | ( | const surfaceDisplacementPointPatchVectorField & | ppf, |
| const DimensionedField< vector, pointMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 348 of file surfaceDisplacementPointPatchVectorField.C.
| TypeName | ( | "surfaceDisplacement" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 162 of file surfaceDisplacementPointPatchVectorField.H.
| const searchableSurfaceList & surfaces | ( | ) | const |
Surface to follow. Demand loads surfaceNames.
Definition at line 368 of file surfaceDisplacementPointPatchVectorField.C.
References searchableSurface::geometryDir(), IOobject::MUST_READ, and IOobject::NO_WRITE.

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 394 of file surfaceDisplacementPointPatchVectorField.C.
References polyMesh::boundaryMesh(), TimeState::deltaTValue(), forAll, Foam::max(), polyBoundaryMesh::mesh(), mesh, Foam::min(), VectorSpace< Form, Cmpt, Ncmpts >::nComponents, Foam::offset(), Foam::operator==(), and fvMesh::time().

|
virtual |
Write.
Definition at line 440 of file surfaceDisplacementPointPatchVectorField.C.
References word::null, Foam::vtkWriteOps::write(), and Foam::writeEntry().

|
delete |
Disallow default bitwise assignment.