fedoo.mesh.line_mesh_cylindric

line_mesh_cylindric(nt=11, r=1, theta_min=0, theta_max=3.14, elm_type='lin2', init_rep_loc=0, ndim=None, name='')

Create the mesh of a curved line based on cylindrical coordinates

Parameters:
  • nt (int) – Numbers of nodes along the angular coordinate (default = 11).

  • theta_min (int,float) – The boundary of the line defined by the angular coordinate (default : 0, 3.14).

  • theta_max (int,float) – The boundary of the line defined by the angular coordinate (default : 0, 3.14).

  • elm_type ({'lin2', 'lin3', 'lin4'}) – The shape of the elements (default=’lin2’) * ‘lin2’ – 2 node line * ‘lin3’ – 3 node line * ‘lin4’ – 4 node line

  • init_rep_loc ({0, 1}) – if init_rep_loc is set to 1, the local frame is initialized with the cylindrical local basis.

Returns:

The generated geometry in Mesh format. See the Mesh class for more details.

Return type:

Mesh

See also

line_mesh

Mesh of a line whith choosen dimension

rectangle_mesh

Surface mesh of a rectangle

box_mesh

Volume mesh of a box

grid_mesh_cylindric

Surface mesh of a grid in cylindrical coodrinate

line_mesh_cylindric

Line mesh in cylindrical coordinate