Source code for pyleecan.Methods.Slot.Slot.comp_surface_opening
[docs]def comp_surface_opening(self, Ndisc=200):
"""Compute the Slot opening surface (by numerical computation).
Caution, the bottom of the Slot is an Arc
Parameters
----------
self : Slot
A Slot object
Ndisc : int
Number of point to discretize the lines
Returns
-------
S: float
Slot opening surface [m**2]
"""
surf_list = self.get_surface_opening()
S = 0
for surf in surf_list:
S += surf.comp_surface(Ndisc=Ndisc)
return S