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") | |
surfaceDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &) | |
surfaceDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &, const dictionary &) | |
surfaceDisplacementPointPatchVectorField (const surfaceDisplacementPointPatchVectorField &, const pointPatch &, const DimensionedField< vector, pointMesh > &, const pointPatchFieldMapper &) | |
surfaceDisplacementPointPatchVectorField (const surfaceDisplacementPointPatchVectorField &) | |
virtual autoPtr< pointPatchVectorField > | clone () const |
surfaceDisplacementPointPatchVectorField (const surfaceDisplacementPointPatchVectorField &, const DimensionedField< vector, pointMesh > &) | |
virtual autoPtr< pointPatchVectorField > | clone (const DimensionedField< vector, pointMesh > &iF) const |
const searchableSurfaces & | surfaces () const |
virtual void | updateCoeffs () |
virtual void | write (Ostream &) const |
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 | ||
) |
Definition at line 293 of file surfaceDisplacementPointPatchVectorField.C.
surfaceDisplacementPointPatchVectorField | ( | const pointPatch & | p, |
const DimensionedField< vector, pointMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 308 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 | ||
) |
Definition at line 335 of file surfaceDisplacementPointPatchVectorField.C.
Definition at line 354 of file surfaceDisplacementPointPatchVectorField.C.
surfaceDisplacementPointPatchVectorField | ( | const surfaceDisplacementPointPatchVectorField & | ppf, |
const DimensionedField< vector, pointMesh > & | iF | ||
) |
Definition at line 370 of file surfaceDisplacementPointPatchVectorField.C.
TypeName | ( | "surfaceDisplacement" | ) |
|
inlinevirtual |
Definition at line 168 of file surfaceDisplacementPointPatchVectorField.H.
|
inlinevirtual |
Definition at line 188 of file surfaceDisplacementPointPatchVectorField.H.
const Foam::searchableSurfaces & surfaces | ( | ) | const |
Definition at line 388 of file surfaceDisplacementPointPatchVectorField.C.
References IOobject::MUST_READ, and IOobject::NO_WRITE.
|
virtual |
Definition at line 415 of file surfaceDisplacementPointPatchVectorField.C.
References TimeState::deltaTValue(), forAll, Foam::max(), mesh, Foam::min(), VectorSpace< Vector< scalar >, scalar, 3 >::nComponents, Foam::operator==(), Foam::foamVersion::patch, and fvMesh::time().
|
virtual |
Definition at line 461 of file surfaceDisplacementPointPatchVectorField.C.
References word::null, os(), Foam::vtk::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.