How to set-up axial trapezoidal ventilation ducts?

In MANATEE, to define axial trapezoidal ventilation ducts, the first thing to do is to select the corresponding type : Input.Thermics.type_axial_ductr=1;

Then one need to set several parameters : Number (Navd), center position (Havd), Height (Davd), Small basis (W1avd), Large basis (W2avd). As the ventilation can be added both on the rotor and on the stator, a letter is added at these names to distinguish them (’s’ for stator and ’r’ for rotor) Axial trapezoidal ventilation ducts schematics

This configuration is generated with MANATEE by using the following set of variables for the rotor ventilation ducts :

Input.Thermics.Navdr = ;
Input.Thermics.Davdr = [30e-3];
Input.Thermics.W1avdr = [10e-3];
Input.Thermics.W2avdr = [20e-3];
Input.Thermics.Havdr = [80e-3];

One can see that the parameters Navd, Davdr, W1avd, W2avd and Havdr are vectors. This allow to define several set of ventilation ducts. The following code define 3 set of ventilation ducts :

Input.Thermics.type_axial_ductr=1;

Input.Thermics.Navdr = [4,8,16];
Input.Thermics.Davdr = [5e-3,10e-3,15e-3];
Input.Thermics.W1avdr = [5e-3,10e-3,20e-3];
Input.Thermics.W2avdr = [10e-3,20e-3,30e-3];
Input.Thermics.Havdr = [60e-3, 70e-3, 85e-3];

Navdr, Davdr, W1avd, W2avd and Havdr must have the same length. Every set share the same index in each vector (set 1 is 4 ducts with Davd= 5e-3, Havd=60e-3...) Machine with several set of axial trapezoidal ventilation ducts