Dear students,

For Project 1, I have received some questions about how to add a contour in the whole air gap in order to plot, e.g., the air-gap flux density. It can be done in several ways but this is how I implemented it in Matlab:

%Clear all selected contours (if any)
mo_clearcontour;
%Define a contour in the middle of the air gap
mo_addcontour(0,-RotorRad-AirGapHeight/2);
mo_addcontour(0,RotorRad+AirGapHeight/2);
mo_bendcontour(180,5);
mo_addcontour(0,RotorRad+AirGapHeight/2);
mo_addcontour(0,-RotorRad-AirGapHeight/2);
mo_bendcontour(180,5);

Best,

Oskar