fedoo.mesh.hole_plate_mesh
- hole_plate_mesh(nr=11, nt=11, length=100, height=100, radius=20, elm_type='quad4', sym=False, include_node_sets=True, ndim=None, name='')
Create a mesh of a 2D plate with a hole
- Parameters:
nr (int) – Numbers of nodes in the radial and tangent direction from the hole (default = 11). nt is the number of nodes of the half of an exterior edge
nt (int) – Numbers of nodes in the radial and tangent direction from the hole (default = 11). nt is the number of nodes of the half of an exterior edge
length (int,float) – The length and height of the plate (default : 100).
height (int,float) – The length and height of the plate (default : 100).
radius (int, float, tuple) – The radius of the hole (default : 20). If tuple = (a,b), a and b are the ellipse radius along x and y axis.
elm_type ({'quad4', 'quad9', 'tri3', 'tri6', 'quad8'}) – The type of the element generated (default=’quad4’)
Sym (bool) – Sym = True, if only the returned mesh assume symetric condition and only the quarter of the plate is returned (default=False)
include_node_sets (bool) – if True (default), the boundary nodes are included in the mesh node_sets dict.
ndim (int, optional) – dimension of the generated mesh. By default, the returned mesh will be in 2d.
name (str, optional) – Name of the returned mesh.
- Returns:
The generated geometry in Mesh format. See the Mesh class for more details.
- Return type:
See also
line_mesh
1D mesh of a line
rectangle_mesh
Surface mesh of a rectangle