User:Eml4500.f08.echo.mott/HW5matlab

Matlab Solutions



 * Use matlab to plot the underformed shape (dotted lines) and deformed shape (solid lines) with a magnifying factor.


 * 1-Plane view down the x axis




 * 2-Plane view down the y axis




 * 3-Plane view down the z axis




 * 4-Perspective view from an observer point




 * Run the 6-bar truss matlab code, and plot the underformed (dotted lines) and deformed (solid lines) shapes of the truss. Put the global node numbers and element numbers on the deformed shape in the figure.


 * Next, modify the 6-bar truss code for the case where the Young's modulus E is not the same for all elements (but the cross sectional area remains the same for all elements); use the following values:

$$E ^{(1)} = 150 GPa$$

$$E ^{(2)} = 180 GPa$$

$$E ^{(3)} = 200 GPa$$

$$E ^{(4)} = 200 GPa$$

$$E ^{(5)} = 220 GPa$$

$$E ^{(6)} = 250 GPa$$




 * In another figure, plot the deformed shape of the truss for both cases:


 * Case 1. Original 6-bar truss example:


 * $$E ^{(i)} = 200 GPa $$ for all i = 1, ..., 6


 * $$A ^{(i)} = 0.001 m^2 $$ for all i = 1, ..., 6


 * Case 2. As shown above:


 * $$E ^{(1)} = 150 GPa$$


 * $$E ^{(2)} = 180 GPa$$


 * $$E ^{(3)} = 200 GPa$$


 * $$E ^{(4)} = 200 GPa$$


 * $$ E ^{(5)} = 220 GPa$$


 * $$E ^{(6)} = 250 GPa$$


 * $$A ^{(i)} = 0.001 m^2$$ for all i = 1, ..., 6


 * Using the same magnification factor, with different line styles; plot also the underformed shape in dotted line, but do not put the global node numbers and element numbers to avoid cluttering up this figure; this information was given already in the previous figure.