MshCreator.add_cylinder

MshCreator.add_cylinder(x=0, y=0, z=0, L=5, R=1)[source]

add a x-oriented cylinder to mesh entities

Parameters:
  • x (float) – x position of the x-min face center

  • y (float) – y position of the x-min face center

  • z (float) – z position of the x-min face center

  • L (float) – Cylinder length along x

  • R (float) – Cylinder radius

Returns:

cyl – id of the added object

Return type:

int