Project 2ΒΆ
Write a general code to generate the elemental stiffness matrix for a single brick element for WFEM.
Write a code to generate the elemental mass matrix.
Obtain the FE matrices \(K\) in global coordinates.
Write a subroutine to assemble these elements into a global matrix.
Write a subroutine to apply specified boundary conditions (imposed displacements).
Write a subroutine to solve for the entire displacement vector.
Test your code on the following:[it2] Find the tip displacement of a vertical post to a 10nN transverse tip load for the following structures:
Pyramid: height 190nm, bottom side length 74nm, flat top side length 10nm
Height 190nm, bottom diameter 74nm, flat top diameter 10nm.
Compare your results to a beam model using your beam code, and results using your favorite commercial finite element code. Explain discrepancies.
Work in groups of two.
Be sure to write your code in a modular form to make debugging easier. Make sure to comment your code as well. Turn in the results of all of you analyses as well as the code. tar.zip (tgz), or PC zip all files and email them to me.