|
| Boundary () |
| Default constructor.
|
|
virtual | ~Boundary () |
| Default destructor.
|
|
const planeBoundary * | getPlaneX0 () const |
| Return the nodes lower than the plane X0, including ghosts.
|
|
const planeBoundary * | getPlaneY0 () const |
| Return the nodes lower than the plane Y0, including ghosts.
|
|
const planeBoundary * | getPlaneZ0 () const |
| Return the nodes lower than the plane Z0, including ghosts.
|
|
const planeBoundary * | getPlaneXn () const |
| Return the nodes lower than the plane Xn, including ghosts.
|
|
const planeBoundary * | getPlaneYn () const |
| Return the nodes lower than the plane Yn, including ghosts.
|
|
const planeBoundary * | getPlaneZn () const |
| Return the nodes lower than the plane Zn, including ghosts.
|
|
void | setNodesPlaneX0 (const vector< int > &nodes_id) |
| Configure the nodes lower than the plane X0, including ghosts.
|
|
void | setNodesPlaneY0 (const vector< int > &nodes_id) |
| Configure the nodes lower than the plane Y0, including ghosts.
|
|
void | setNodesPlaneZ0 (const vector< int > &nodes_id) |
| Configure the nodes lower than the plane Z0, including ghosts.
|
|
void | setNodesPlaneXn (const vector< int > &nodes_id) |
| Configure the nodes lower than the plane Xn, including ghosts.
|
|
void | setNodesPlaneYn (const vector< int > &nodes_id) |
| Configure the nodes lower than the plane Yn, including ghosts.
|
|
void | setNodesPlaneZn (const vector< int > &nodes_id) |
| Configure the nodes lower than the plane Zn, including ghosts.
|
|
void | setRestrictions (Boundary::BoundaryType restriction) |
| Configure the restrictions of the boundary nodes.
|
|
void | setRestrictionsFluid (Boundary::BoundaryType restriction) |
| Configure the restrictions of the boundary nodes.
|
|
void | setRestrictions (Boundary::BoundaryPlane plane, Boundary::BoundaryType restriction) |
| Configure the restrictions of the boundary nodes by plane.
|
|
void | setRestrictionsFluid (Boundary::BoundaryPlane plane, Boundary::BoundaryType restriction) |
| Configure the restrictions of the boundary nodes by plane.
|
|
Mesh boundary nodes.
This class represents the mesh boundaries for setting up the boundary conditions of the numerical problem in terms of displacement, velocity and acceleration. In a mechanical numerical model the Lagrangian boundary conditions, like external loads, are set up into the particles representing the physical domain boundary, and during the nodal integration the mesh boundary conditions should be applied on the mesh boundaries. In particular, this class is created to apply these nodal BCs.
For a regular mesh, two planes are defined in each direction: X0–Xn, Y0–Yn, Z0–Zn, where the subscript 0 represents the minimum coordinate in that direction and n the maximum.
There are several types of BCs:
- In fixed boundary condition, the node is fixed in all directions.
- In sliding boundary condition, the node is only permitted to move in the direction perpendicular to the corresponding plane.
- In free boundary condition, the node can move in all directions.
- In earthquake boundary condition, nodal accelerations and velocities can be applied over time to introduce a seismic record in the model.
Definition of the planes for setting boundary conditions
* Boundaries of the Mesh
*
* +----------+
* |\ \
* | \ Plane Zn \
* z | \ \
* | Plane Y0 ------> +----------+ <------ Plane Yn
* | | | |
* +---- y + | |
* \ \ | Plane Xn |
* \ \ | |
* x \| |
* +----------+
*
* Plane X0 : Plane whose normal points in the negative X direction
* Plane Xn : Plane whose normal points in the positive X direction
*
Note: If any boundary condition is defined in the input file, sliding boundary condition is chosen, by default, for all planes.