fedoo.mesh.disk_mesh

disk_mesh(radius=1.0, nr=11, nt=11, elm_type='quad4', ndim=None, name='')

Create a surface mesh of a disk or an ellipse

Parameters:
  • radius (float, tuple) – The radius of the disk (default : 1). If tuple = (a,b), a and b are the ellipse radius along x and y axis.

  • nr (int, default = 11.) – number of nodes in the radial (nr) and tangential (nt) directions used to build the mesh. nr and nt are not the total nodes in each direction.

  • nt (int, default = 11.) – number of nodes in the radial (nr) and tangential (nt) directions used to build the mesh. nr and nt are not the total nodes in each direction.

  • elm_type ({'quad4', 'quad9', 'tri3', 'tri6', 'quad8'}) – The type of the element generated (default=’quad4’)

  • 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:

Mesh

See also

hole_plate_mesh

Mesh of a plate with a hole

hollow_disk_mesh

Mesh of a hollow disk