# Nonlinear finite elements/Homework 5
## Problem 1: Nonlinear Beam Bending

The differential equations governing the bending of straight beams are
    ${\begin{aligned}{\cfrac {dN_{xx}}{dx}}+f(x)&=0\\{\cfrac {dV}{dx}}+q(x)&=0\\{\cfrac {dM_{xx}}{dx}}-V+N_{xx}{\cfrac {dw_{0}}{dx}}&=0\end{aligned}}$
1) Show that the weak forms of these equations can be written as
    ${\begin{aligned}\int _{x_{a}}^{x_{b}}{\cfrac {dv_{1}}{dx}}N_{xx}~dx&=\int _{x_{a}}^{x_{b}}v_{1}f~dx+\left.v_{1}N_{xx}\right|_{x_{a}}^{x_{b}}\\\int _{x_{a}}^{x_{b}}\left[{\cfrac {dv_{2}}{dx}}\left({\cfrac {dw_{0}}{dx}}N_{xx}\right)-{\cfrac {d^{2}v_{2}}{dx^{2}}}M_{xx}\right]~dx&=\int _{x_{a}}^{x_{b}}v_{2}q~dx+\left.v_{2}\left({\cfrac {dw_{0}}{dx}}N_{xx}+{\cfrac {dM_{xx}}{dx}}\right)\right|_{x_{a}}^{x_{b}}-\left.{\cfrac {dv_{2}}{dx}}M_{xx}\right|_{x_{a}}^{x_{b}}\end{aligned}}$
2) The von Karman strains are related to the displacements by
    ${\begin{aligned}\varepsilon _{xx}&=\varepsilon _{xx}^{0}+z\varepsilon _{xx}^{1}\\\varepsilon _{xx}^{0}&={\cfrac {du_{0}}{dx}}+{\frac {1}{2}}\left({\cfrac {dw_{0}}{dx}}\right)^{2}\\\varepsilon _{xx}^{1}&=-{\cfrac {d^{2}w_{0}}{dx^{2}}}\end{aligned}}$
The stress and moment resultants are defined as
    ${\begin{aligned}N_{xx}&=\int _{A}\sigma _{xx}~dA\\M_{xx}&=\int _{A}z\sigma _{xx}~dA\end{aligned}}$
For a linear elastic material, the stiffnesses of the beam in extension and bending are defined as
    ${\begin{aligned}A_{xx}&=\int _{A}E~dA\qquad \leftarrow \qquad {\text{extensional stiffness}}\\B_{xx}&=\int _{A}zE~dA\qquad \leftarrow \qquad {\text{extensional-bending stiffness}}\\D_{xx}&=\int _{A}z^{2}E~dA\qquad \leftarrow \qquad {\text{bending stiffness}}\end{aligned}}$
where $E$ is the Young's modulus of the material.
Derive expressions for $N_{xx}$ and $M_{xx}$ in terms of the displacements $u_{0}$ and $w_{0}$ and the extensional and bending stiffnesses of the beam assuming a linear elastic material.
3) Express the weak forms in terms of the displacements and the extensional and bending stiffnesses.
4) Assume that the approximate solutions for the axial displacement and the transverse deflection over a two noded element are given by
    ${\begin{aligned}u_{0}(x)&=u_{1}\psi _{1}(x)+u_{2}\psi _{2}(x)\\w_{0}(x)&=w_{1}\phi _{1}(x)+\theta _{1}\phi _{2}(x)+w_{2}\phi _{3}(x)+\theta _{2}\phi _{4}(x)\end{aligned}}$
where $\theta =-(dw_{0}/dx)$.
Compute the element stiffness matrix for the element.
5) Show the alternate procedure by which the element stiffness matrix can be made symmetric.
6)Derive the element tangent stiffness matrix for the element.

## Problem 2: Numerical simulation

Consider the cantilever beam shown in Figure 1.
* Figure 1. Cantilever beam with point load at the free end.
The beam is made of 6061-T6 aluminum alloy.The Young's modulus of the beam is 69 GPa, the Poisson's ratio is 0.33, the tensile yield strength is 275 MPa.
The length of the beam is 5 m, the width and the thickness are both 10 cm. A point load of 10 kN is applied at the free end as shown in the figure.
* Perform a linear three-dimensional finite element analysis of the beam using 20 elements along the length and 3 elements across the thickness. Then,
** Plot the axial stress of the centroidal line as a function of distance from the fixed end.
** Plot the axial displacement of the centroidal as a function of distance from the fixed end.
** Plot the transverse displacement of the centroidal line as a function of distance from the fixed end.
* Perform a nonlinear three-dimensional finite element analysis of the beam using 20 elements along the length and 3 elements across the thickness. Then,
** Plot the axial stress of the centroidal line as a function of distance from the fixed end.
** Plot the axial displacement of the centroidal as a function of distance from the fixed end.
** Plot the transverse displacement of the centroidal line as a function of distance from the fixed end.
* Perform a linear finite element analysis of the beam using 4 beam elements. Then,
** Plot the axial stress of the centroidal line as a function of distance from the fixed end.
** Plot the axial displacement of the centroidal as a function of distance from the fixed end.
** Plot the transverse displacement of the centroidal line as a function of distance from the fixed end.
* Perform a nonlinear finite element analysis of the beam using 4 beam elements. Then,
** Plot the axial stress of the centroidal line as a function of distance from the fixed end.
** Plot the axial displacement of the centroidal as a function of distance from the fixed end.
** Plot the transverse displacement of the centroidal lineas a function of distance from the fixed end.
* Comment on your results.