Rotary engine called also Wankel engine, has two main components, a housing (Stator) and a rotating element (Rotor).The rotor has the shape of Reuleaux triangle (google it) and rotates eccentrically with respect to the axis of rotation. (See figure)
MEE212 Computer Application In IME Assignment-Lebanese American University
Mixture of air and fuel enters the housing of the engine through an inlet port, it will be compressed, burned, then released through an exhaust port (see the blue area in the figure).
As we can see the amount of this area changes according to the angular position of the rotor.
The goal of this project is to determine the area when the rotor side (1-2) is horizontal as mentioned in the following figure.
Create a script called name-surname.m asking the user to give the distance d mentioned in the figure and other parameter if needed (pay attention the user should understand what are the parameters to introduce).
MEE212 Computer Application In IME Assignment-Lebanese American University
The code has to calculate the area of the blue surface. (Geometrical research and calculation should be carried out to find the area).
In Figure 1, plot the curve of the housing. Make sure that your plot is in black with title “Housing”. The x-label should be “x” and the y-label should be “y”.On the same figure, plot the curve of the rotor in green and highlight the point of intersection with the housing using red circles.
Shade the surface between the two curves in blue as mentioned the figure above.The value of the area calculated by the code should be mentioned in the figure next to the shaded surface.
Finally, the code should ask the user if he/she likes to generate a pdf report:
MEE212 Computer Application In IME Assignment-Lebanese American University
If the user taps NO the program will stop
If the user taps YES the program will create a pdf report presenting the brief description and a photo of a Wankel engine, the parameters and the dimensions of the engine introduced by the user, the figure 1 generated in MATLAB and the value of the area.