fedoo.mesh.circle_mesh
- circle_mesh(n=12, r=1, elm_type='lin2', init_local_frame=0, ndim=2, name='')
Create the mesh of a cicle.
- Parameters:
n (int, default=12) – Number of nodes along the angular coordinate.
r (float, default=1.) – Radius of the circle.
elm_type ({'lin2', 'lin3', 'lin4'}, default='lin2') – Type of line elements used in the mesh: * ‘lin2’ – 2-node line * ‘lin3’ – 3-node line * ‘lin4’ – 4-node line
init_local_frame (bool, default=False) – If True, initializes the local frame using a cylindrical basis
ndim (int, default=2) – Dimension of the mesh.
name (str, optional) – Name of the mesh.
- Returns:
The generated geometry in Mesh format. See the Mesh class for more details.
- Return type:
See also
line_meshMesh of a line whith choosen dimension
rectangle_meshSurface mesh of a rectangle
box_meshVolume mesh of a box
grid_mesh_cylindricSurface mesh of a grid in cylindrical coodrinate
line_mesh_cylindricLine mesh in cylindrical coordinate