Expanding & extending MATLAB capabilities in mechanical analysis

undergraduate dissertation



MATLAB Ver6 and higher contain a finite element toolbox with special features like jiggle mesh, refine mesh & ... . But problems must be defined by PDE equation factors which needs calculation; indeed, most time it is time consuming with the risk of errors in calculations. in this study a GUI is designed which gets the problem geometries by using lines, rectangles, circles and ellipses, which it is possible to edit boundaries and then mechanical properties of the part are defined by user, the code converts data in a format usable for toolbox and automatically runs the toolbox and solves the problem.

Created GUI menus

Drawing GUI:

In below GUI, Geometry is defined. There are features like: Edit (to edit drawn geometries), Zoom All, Zoom Window.

Condition GUI:

 Forces, direction and location of them, restrains, and material properties are defined in this step.

Clicking on any border leads to appearance of the following window.

To show "Force" dialogue box user can click on "Force" in the above window.

Material specifications would be defined after all restrains and forces are defined, by clicking on ">".

Consequently, MATLAB PDE Toolbox is automatically appears showing result of numerical stress analysis on the given geometry.