IFEM  90A354
Public Member Functions | Protected Attributes | List of all members
Hole2D Class Reference

Class representing the perforated plate benchmark. More...

#include <IBGeometries.h>

Inheritance diagram for Hole2D:
Inheritance graph
[legend]
Collaboration diagram for Hole2D:
Collaboration graph
[legend]

Public Member Functions

 Hole2D (double r=1.0, double x=0.0, double y=0.0)
 Default constructor initializing the radius and center of the hole.
 
virtual double Alpha (double X, double Y, double=0.0) const
 Performs the inside-outside test for the perforated plate object. More...
 
virtual ElementBlocktesselate () const
 Creates a finite element model of the geometry for visualization.
 
- Public Member Functions inherited from Immersed::Geometry
virtual ~Geometry ()
 Empty destructor.
 
virtual double Alpha (const Vec3 &X) const
 Performs the inside-outside test for the geometric object.
 

Protected Attributes

double R
 Hole radius.
 
double Xc
 X-coordinate of hole center.
 
double Yc
 Y-coordinate of hole center.
 

Additional Inherited Members

- Protected Member Functions inherited from Immersed::Geometry
 Geometry ()
 The default constructor is protected to allow sub-classes only.
 

Detailed Description

Class representing the perforated plate benchmark.

See the example Fig. 38 in the recent immersed boundary paper coming out of Tom's group).

The following global information is needed: (a) The center of the hole; (b) the radius of the hole denoted by variable R. The function Alpha receives the global coordinates X and Y of the point under consideration. (may be a vertex of an integration element during the set up of the adaptive integration structure, or an intergration point during the integration of the stiffness matrix).

Member Function Documentation

◆ Alpha()

double Hole2D::Alpha ( double  X,
double  Y,
double  = 0.0 
) const
virtual

Performs the inside-outside test for the perforated plate object.

Alpha is used as an indicator here: Alpha = 0.0 if the point is lying outside the physical domain Alpha = 0.0 if the point is lying directly on the boundary Alpha = 1.0 if the point is lying inside the physical domain

Reimplemented from Immersed::Geometry.

Reimplemented in Oval2D.

References R, Xc, and Yc.


The documentation for this class was generated from the following files: