Go to the documentation of this file.
39 #ifndef immersedBoundaryPolyPatch_H
40 #define immersedBoundaryPolyPatch_H
bool movingIb_
Moving immersed boundary.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
void makeTriSurfSearch() const
Make triSurface search algorithm.
const triSurfaceSearch & triSurfSearch() const
Return triSurface search object.
virtual autoPtr< polyPatch > clone(const polyBoundaryMesh &bm) const
Construct and return a clone, resetting the boundary mesh.
virtual void write(Ostream &) const
Write.
IOoject and searching on triSurface.
triSurfaceMesh ibMesh_
Triangular surface representing immersed boundary.
Helper class to search on triSurface.
Switch internalFlow_
Internal or external flow calculation.
bool internalFlow() const
Return true if solving for flow inside the immersed boundary.
immersedBoundaryPolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm)
Construct from components.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
A patch is a list of labels that address the faces in the global face list.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual ~immersedBoundaryPolyPatch()
Destructor.
triSurfaceSearch * triSurfSearchPtr_
Triangular surface search algorithm.
label start() const
Return start label of this patch in the polyMesh face list.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const triSurfaceMesh & ibMesh() const
Return immersed boundary surface mesh.
virtual void initMovePoints(const pointField &)
Initialise the patches for moving points.
bool movingIb() const
Return true if immersed boundary is moving.
void clearOut()
Clear all demand-driven data.
void moveTriSurfacePoints(const pointField &p)
Correct patches after moving points.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
TypeName("immersedBoundary")
Runtime type information.
virtual void movePoints(const pointField &p)
Correct patches after moving points.
const word & name() const
Return name.
label index() const
Return the index of this patch in the boundaryMesh.