fedoo.mesh.grid_mesh_cylindric
- grid_mesh_cylindric(nr=11, nt=11, r_min=0, r_max=1, theta_min=0, theta_max=1, elm_type='quad4', init_rep_loc=0, ndim=None, name='')
Create a mesh as a regular grid in cylindrical coordinate
- Parameters:
nr (int) – Numbers of nodes in the r and theta axes (default = 11).
nt (int) – Numbers of nodes in the r and theta axes (default = 11).
x_min (int,float) – The boundary of the square (default : 0, 1, 0, 1).
x_max (int,float) – The boundary of the square (default : 0, 1, 0, 1).
y_min (int,float) – The boundary of the square (default : 0, 1, 0, 1).
y_max (int,float) – The boundary of the square (default : 0, 1, 0, 1).
elm_type ({'tri3', 'quad4', 'quad8', 'quad9'}) – The type of the element generated (default=’quad4’) * ‘tri3’ – 3 node linear triangular mesh * ‘quad4’ – 4 node quadrangular mesh * ‘quad8’ – 8 node quadrangular mesh (à tester) * ‘quad9’ – 9 node quadrangular mesh
init_rep_loc ({0, 1}) – if init_rep_loc is set to 1, the local basis is initialized with the global basis.
- 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
box_mesh
Volume mesh of a box
line_mesh_cylindric
Line mesh in cylindrical coordinate