Displacement follows a triSurface. Use in a displacement fvMotionSolver as a bc on the pointDisplacement field. Following is done by calculating the projection onto the surface according to the projectMode
#include <fvMotionSolvers/surfaceSlipDisplacementPointPatchVectorField.H>
Displacement follows a triSurface. Use in a displacement fvMotionSolver as a bc on the pointDisplacement field. Following is done by calculating the projection onto the surface according to the projectMode
Optionally (intersection only) removes a component ("wedgePlane") to stay in 2D.
Needs:
Definition at line 68 of file surfaceSlipDisplacementPointPatchVectorField.H.
Public Types | |
enum | projectMode { NEAREST, POINTNORMAL, FIXEDNORMAL } |
Public Member Functions | |
TypeName ("surfaceSlipDisplacement") | |
Runtime type information.
| |
surfaceSlipDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &) | |
Construct from patch and internal field.
| |
surfaceSlipDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
surfaceSlipDisplacementPointPatchVectorField (const surfaceSlipDisplacementPointPatchVectorField &, const pointPatch &, const DimensionedField< vector, pointMesh > &, const pointPatchFieldMapper &) | |
Construct by mapping given patchField<vector> onto a new patch.
| |
surfaceSlipDisplacementPointPatchVectorField (const surfaceSlipDisplacementPointPatchVectorField &) | |
Construct as copy.
| |
virtual autoPtr < pointPatchVectorField > | clone () const |
Construct and return a clone.
| |
surfaceSlipDisplacementPointPatchVectorField (const surfaceSlipDisplacementPointPatchVectorField &, const DimensionedField< vector, pointMesh > &) | |
Construct as copy setting internal field reference.
| |
virtual autoPtr < pointPatchVectorField > | clone (const DimensionedField< vector, pointMesh > &iF) const |
Construct and return a clone setting internal field reference.
| |
const searchableSurfaces & | surfaces () const |
Surface to follow. Demand loads surfaceNames.
| |
virtual void | evaluate (const Pstream::commsTypes commsType=Pstream::blocking) |
Update the patch field.
| |
virtual void | write (Ostream &) const |
Write.
|
enum projectMode |
Definition at line 77 of file surfaceSlipDisplacementPointPatchVectorField.H.
surfaceSlipDisplacementPointPatchVectorField | ( | const pointPatch & | p, |
const DimensionedField< vector, pointMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 313 of file surfaceSlipDisplacementPointPatchVectorField.C.
Referenced by surfaceSlipDisplacementPointPatchVectorField::clone().
surfaceSlipDisplacementPointPatchVectorField | ( | const pointPatch & | p, |
const DimensionedField< vector, pointMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 327 of file surfaceSlipDisplacementPointPatchVectorField.C.
surfaceSlipDisplacementPointPatchVectorField | ( | const surfaceSlipDisplacementPointPatchVectorField & | ppf, |
const pointPatch & | p, | ||
const DimensionedField< vector, pointMesh > & | iF, | ||
const pointPatchFieldMapper & | |||
) |
Construct by mapping given patchField<vector> onto a new patch.
Definition at line 344 of file surfaceSlipDisplacementPointPatchVectorField.C.
surfaceSlipDisplacementPointPatchVectorField | ( | const surfaceSlipDisplacementPointPatchVectorField & | ppf ) |
Construct as copy.
Definition at line 362 of file surfaceSlipDisplacementPointPatchVectorField.C.
surfaceSlipDisplacementPointPatchVectorField | ( | const surfaceSlipDisplacementPointPatchVectorField & | ppf, |
const DimensionedField< vector, pointMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 377 of file surfaceSlipDisplacementPointPatchVectorField.C.
TypeName | ( | "surfaceSlipDisplacement" | ) |
Runtime type information.
virtual autoPtr<pointPatchVectorField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Implements pointPatchField< Type >.
Definition at line 158 of file surfaceSlipDisplacementPointPatchVectorField.H.
References surfaceSlipDisplacementPointPatchVectorField::surfaceSlipDisplacementPointPatchVectorField().
virtual autoPtr<pointPatchVectorField> clone | ( | const DimensionedField< vector, pointMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Definition at line 178 of file surfaceSlipDisplacementPointPatchVectorField.H.
References surfaceSlipDisplacementPointPatchVectorField::surfaceSlipDisplacementPointPatchVectorField().
const searchableSurfaces & surfaces | ( | ) | const |
Surface to follow. Demand loads surfaceNames.
Definition at line 394 of file surfaceSlipDisplacementPointPatchVectorField.C.
References pointPatchField< Type >::db(), autoPtr< T >::empty(), IOobject::MUST_READ, IOobject::NO_WRITE, and autoPtr< T >::reset().
void evaluate | ( | const Pstream::commsTypes | commsType = Pstream::blocking
) |
[virtual]
|
Update the patch field.
Reimplemented from pointPatchField< Type >.
Definition at line 420 of file surfaceSlipDisplacementPointPatchVectorField.C.
References pointPatchField< vector >::evaluate().
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from pointPatchField< Type >.
Definition at line 439 of file surfaceSlipDisplacementPointPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, word::null, and Ostream::writeKeyword().