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 > &) | |
| 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 patch field onto a new patch. More... | |
| surfaceDisplacementPointPatchVectorField (const surfaceDisplacementPointPatchVectorField &) | |
| Construct as copy. More... | |
| surfaceDisplacementPointPatchVectorField (const surfaceDisplacementPointPatchVectorField &, const DimensionedField< vector, pointMesh > &) | |
| Construct as copy setting internal field reference. More... | |
| virtual autoPtr< pointPatchField< vector > > | clone () const |
| Return a clone. More... | |
| virtual autoPtr< pointPatchField< vector > > | 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... | |
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 72 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 | ||
| ) |
Construct from patch and internal field.
Definition at line 296 of file surfaceDisplacementPointPatchVectorField.C.
| surfaceDisplacementPointPatchVectorField | ( | const pointPatch & | p, |
| const DimensionedField< vector, pointMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 311 of file surfaceDisplacementPointPatchVectorField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::nl.

| surfaceDisplacementPointPatchVectorField | ( | const surfaceDisplacementPointPatchVectorField & | ppf, |
| const pointPatch & | p, | ||
| const DimensionedField< vector, pointMesh > & | iF, | ||
| const pointPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given patch field onto a new patch.
Definition at line 343 of file surfaceDisplacementPointPatchVectorField.C.
Construct as copy.
Definition at line 362 of file surfaceDisplacementPointPatchVectorField.C.
| surfaceDisplacementPointPatchVectorField | ( | const surfaceDisplacementPointPatchVectorField & | ppf, |
| const DimensionedField< vector, pointMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 378 of file surfaceDisplacementPointPatchVectorField.C.
| TypeName | ( | "surfaceDisplacement" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 209 of file surfaceDisplacementPointPatchVectorField.H.
References pointPatchField< Type >::Clone().

|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 218 of file surfaceDisplacementPointPatchVectorField.H.
References pointPatchField< Type >::Clone().

| const Foam::searchableSurfaces & surfaces | ( | ) | const |
Surface to follow. Demand loads surfaceNames.
Definition at line 396 of file surfaceDisplacementPointPatchVectorField.C.
References IOobjectOption::MUST_READ, and IOobjectOption::NO_WRITE.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 423 of file surfaceDisplacementPointPatchVectorField.C.
References TimeState::deltaTValue(), forAll, Foam::mag(), mesh, Foam::min(), Foam::operator==(), Foam::foamVersion::patch, and fvMesh::time().

|
virtual |
Write.
Definition at line 464 of file surfaceDisplacementPointPatchVectorField.C.
References word::null, os(), valuePointPatchField< Type >::write(), Ostream::writeEntry(), Ostream::writeEntryIfDifferent(), and Foam::Zero.
