pyleecan.Functions.MeshSolution.get_area module

get_area(meshsolution, group_names=None, indices=None)[source]

Get the surface area of the specified groups of a MeshSolution

Parameters:
  • meshsolution (MeshSolution) – a MeshSolution object

  • group_names (list of str) – list of the groups names or string of a single group

  • indices (list) – list of indices, if not given all indices are considered

Returns:

area – surface area of the specified groups and indices

Return type:

float