apply_skew#

Maxwell2d.apply_skew(skew_type='Continuous', skew_part='Rotor', skew_angle='1', skew_angle_unit='deg', number_of_slices=2, custom_slices_skew_angles=None)[source]#

Apply skew to 2D model.

Parameters:
skew_typestr, optional

Skew type. Possible choices are Continuous, Step, V-Shape, User Defined. The default value is Continuous.

skew_partstr, optional

Part to skew. Possible choices are Rotor or Stator. The default value is Rotor.

skew_anglestr, optional

Skew angle. The default value is 1.

skew_angle_unitstr, optional

Skew angle unit. Possible choices are deg, rad, degsec, degmin. The default value is deg.

number_of_slicesstr, optional

Number of slices to split the selected part into. The default value is 2.

custom_slices_skew_angleslist, optional

List of custom angles to apply to slices. Only available if skew_type is User Defined. The length of this list must be equal to number_of_slices. The default value is None.

Returns
——-
bool

True when successful, False when failed.