User:Eml4500.f08.qwiki.bishop/HW3
Comment:
The pictures that were previously used in this homework submission have been changed. The previous images (HW_3.GIF and HW_3.2.GIF) were based on images that were not originally authored by Team Qwiki, however I did not intentionally plagiarize Team Echo's work.
As Lee Harris, fellow Team Qwiki member, also stated in Homework 4, while working on Homework 2, both Team Qwiki and Team Echo created two images, with the same name: Element1.jpg and Element2.jpg. Due to the nature of MediaWiki, if two different teams create an image with the same name, only the latest version is displayed when called upon in an article. Therefore, even though Team Qwiki uploaded two of our own images (Element1.jpg and Element2.jpg) during homework 2, Team Echo's images were displayed because their upload was the most recent. In the future, we will make sure to upload files that have a unique name.
For Homework 3 , I created HW_3.GIF and HW_3.2.GIF on October 5 because it was the two bar truss used in Homework 2, and to keep the images showing the same two bar truss with identical angles and lengths, I based the mentioned images on them. I was under the impression that Element1.jpg was the work of Team Qwiki. The problem has been resolved and Team Qwiki files are now displayed here.
In the future Team Qwiki and myself will be sure to:
- Create unique names when uploading files
- Check the file history of all images before I right click and save to my computer
A comparison between the current version of Homework 3 and our prior submission can be found here.
Andrea Booher EML4500.f08.qwiki.booher 00:17, 13 November 2008 (UTC)
Lecture 12 - Monday, September 22, 2008 [edit]
For a more thorough understanding of the Finite Element Method, it is wise to derive the element force displacement with respect to the global coordinate system.
Recall from Page 6-1,
(Equation 1)
Therefore, the element force displacement matrix can be written as follows:

=axial displacement of element e at local node 
=axial force of element e at local node 
The overall goal is to derive equation 1 from equation 2 (already derived in Meeting 4). We want to find the relationship between:
and 
and 
The relationships can be expressed in the form: 
Consider the displacement vector of local node i, denoted by
:
=axial displacement of node [1] is the orthogonal projection of the displacement vector
of node [1] on the
axis of element e
Therefore, for node [1],
can be derived using the following steps.
| HW From September 22 |
|---|
|
HW Problem: Find
Answer: |
The values for
and
can now be substituted into the following matrix:

Lecture 13 - Wednesday, September 24, 2008 [edit]
Test day, no lecture notes given. Exam 1 Solutions
Lecture 14 - Friday, September 26, 2008 [edit]
Similar to our objective in Meeting 12, today we would like to transform from a 4x2 matrix to a 2x2. The transformation relationship
derived in Meeting 12 can also be expressed in a more general form:
, where
is the axial force of element e at local node 
is the matrix used to transform force components to an axial force
is the
th force component of element e
The overall goal is to find the relationship between:
and
, (axial displacements of each element node and their respective displacement component)
and
, (axial forces at each element node and their respective force components)
Let us consider the force transformation relationship:
Recall that the element axial FD relationship is given by:
By introducing a transformation matrix into the FD relationship, we obtain the following relationship:
The ultimate goal is to express the above equation in the form
.
If
were an nxn matrix, then one could simply "move"
from the right hand side to the left hand side by premultiplying the entire equation by the inverse
. Unfortunately,
is a rectangular 2x4 matrix, which means it is non-invertible.
| What is an invertible matrix? |
|---|
|
A given Matrix A is said to be invertible, or non-singular, if and only if there exists a matrix B such that where
NOTE: Non-square matrices do not have an inverse. |
Since we cannot solve for the inverse of the transformation (
is not an nxn matrix), we must instead make use of the transpose:
Note that 
Therefore, 
Homework: Verify that ![]() |
|---|
|
Let us begin with the given expression:
Therefore, it holds true that |
The relationship
can be justified by the principle of virtual work, which was first introduced in Meeting 10. Additionally, applying the principle of virtual work to the relationship
reduces it to
.
One may wonder why we cannot simply solve 
Answer: The equation cannot be solved in the current form due to the singularity of
, i.e,
and thus
is not invertible. (See above for definition of interbile matrix) Recall that in order to find
we must first compute
. If a matrix is singular then
is undefined and cannot be solved.
For our case of an unconstrained structural system, there are three possible rigid body motions in 2-dimensions (2 translations and 1 rotation) for each node.
HOMEWORK: Compute the eigenvalues of ![]() |
|---|
|
The 6x6 global stiffness matris is given as:
>>clear all;
>>K = [0.5625 0.32476 -0.5625 -0.32476 0 0;
0.32476 0.1875 -0.32476 -0.1875 0 0;
-0.5625 -0.32476 3.0625 -2.1752 -2.5 2.5;
-0.32476 -0.1875 -2.1752 2.6875 2.5 -2.5;
0 0 -2.5 2.5 2.5 -2.5;
0 0 2.5 -2.5 -2.5 2.5];
>> eig(K)
ans = -0.0000 -0.0000 0.0000 0.0000 1.4706 10.0294
|
References
- ↑ Horn, Roger A.; Johnson, Charles R. (1985), Matrix Analysis, Cambridge University Press, ISBN 978-0-521-38632-6.
Lecture 15 - Monday, September 29, 2008 [edit]
After attacking the basics of Finite Element Analysis, and reviewing Statics, it is time now to close the gap between the two subjects.
Closing the Loop [edit]
To do so, one must look to find the virtual displacement. Closing The Loop
The problem then arises of how to check the displacements. Using the below free body diagrams of the 2 force bodies (elements 1 and 2).
By Statics, the reactions are known and therefore the forces P1(1), P2(2). Compute the axial displacement degrees of freedom, q (the amount of extension of the bars).
Computing the Displacements [edit]
| Displacement Equations |
|---|
|
Knowing that q1(1)=0 because it is a fixed node (1). Also q2(2)=0 because it is a fixed node (3). |
Question: How to back out from above results the displacement dof's of node (2)?
Geometric Interpretation [edit]
Lecture 16 - Wednesday, October 1, 2008 [edit]
Closing the Loop: continued [edit]
- The infinitesimal displacement of point global node 2 (point A to point D) is related to the concept of virtual displacement from statics.
- The figure below shows the displacement of global node 1:
- The displacement in the y direction, yD, is equivalent to the displacement, d4
- The displacement in the x direction, xD, is equivalent to the displacement, d3
- The vector summation of these two displacement provide the displacement vector

- To determine the axial forces, P, we must first find the axial displacements, q
- Then the axial forces
- The length of line AC can be found by:
- The length of line AB can be found by:
- Note 1: The negative value the length of AB is due to the assigned local axes of element 2.
- Note 2: The lengths of AB and AC match the displacements for Elements 2 and 1 respectively.
- So the x and y coordinates for points B and C are (if point A is the origin):
- So, we still have the 2 unknowns (xD, yD)
- The figure below shows the xy axes and also the
axes - Let's analyze the vector PQ
- The figure below shows the xy axes and also the
-
- The equation derived from this figure is:

- And the equation for the line perpendicular to this line is:

- So, by applying some trigonometry and algebra

- And the vector AD by definition is:
- The equation derived from this figure is:
3-Bar Truss System [edit]
| Element | E | A | L | Theta (degrees) |
|---|---|---|---|---|
| 1 | 2 | 3 | 5 | 30 |
| 2 | 4 | 1 | 5 | -30 |
| 3 | 3 | 2 | 10 | -135 |
- The force, P, has a value of 50
- Make sure the local node numbering is selected so that it is convenient to assemble the stiffness matrix, K
- The image below shows each Element and its local nodes as well as the global nodes
Lecture 17 - Friday, October 3, 2008 [edit]
If we sum the forces on the X and Y axis and take the moment about A we only get two useful equations with three unknowns because the moment about A gives 0=0 which is useless.
SO to find another equation and solve the system, we ask ourselves, what about the moment about point B?
3-D Explanation

This is true for all A' on F's line of action


because they are colinear
Back to the 3-Bar Truss
Node A is in equilibrium
So...

where A' is a point on the line of action of 
So...

We find that the moment about B is also zero and we are left with still only two equations and three unknowns.
The problem is thus statically 'indeterminate' and we must use the Finite Element Method.
So here is our resulting stiffness matrix

and

HW 3 Matlab Assignment [edit]
The coding was developed using matlab_plot_example2.m. This code was created by X.G. Tan, and can be found on Dr. Loc Vu-Quoc's website.
% Matlab Script %********************************************************************* % filename: matlab_plot_example2.m % % PURPOSE: % Example of plotting with Matlab % Input nodes and connectivity information % Plot the crab-leg structure % % AUTHOR: X.G. Tan % % Modified on: Tue, 08 Oct 2003, 16:08:58 EDT % Created on : Tue, 09 Feb 1999, 09:40:47 EST % % DEPENDENCIES: % call: % % REMARKS: % %********************************************************************* clear; close; % model with 3-D beam elements with 6 dofs per node dof = 6; % dof per node % input the nodal coordinates % n_node = 3; % total number of nodes n_elem = 2; % total number of elements total_dof = 6 * n_node; % total dofs of system Le1 = 4; % beam length Le2 = 2; % beam length thetae1 = pi/6; thetae2 = (-pi/4); position(:, 1) = [ 0; 0]; position(:, 2) = [ Le1*cos(thetae1); Le1*sin(thetae1)]; position(:, 3) = [ Le1*cos(thetae2) + Le2*cos(thetae2); Le1*sin(thetae1) + Le2*sin(thetae2)]; % set up the nodal coordinate arrays x, y, x for i = 1 : n_node x(i) = position(1,i); y(i) = position(2,i); end % set up the element connectivity array node_connect, defined as % follows: % node_connect(local node number, element number) = global node number node_connect(1, 1) = 1; % element 1 node_connect(2, 1) = 2; node_connect(1, 2) = 2; % element 2 node_connect(2, 2) = 3; % plot the whole truss system % loop over the elements for i = 1 : n_elem % for element i, do the following: % node_1 = global node number corresponding to the local node 1 node_1 = node_connect(1,i); % node_2 = global node number corresponding to the local node 1 node_2 = node_connect(2,i); % xx : 1x2 array containing x coordinates of node_1 and node_2 xx = [x(node_1),x(node_2)]; % yy : 1x2 array containing y coordinates of node_1 and node_2 yy = [y(node_1),y(node_2)]; % plot the element i in 2-D using command plot % use axis command to avoid having the plot window too tight axis([0 5 0 5]) % solid line plot(xx,yy,'-') % hold the current figure for the next element hold on end text(x(node_connect(1,1)),y(node_connect(1,1)),'Global Node 1', 'HorizontalAlignment', 'left') text(x(node_connect(2,1)),y(node_connect(2,1)),'Global Node 2', 'HorizontalAlignment', 'center') text(x(node_connect(2,2)),y(node_connect(2,2)),'Global Node 3', 'HorizontalAlignment', 'center') text(x(node_connect(2,1))/2,y(node_connect(2,1))/2,'Element 1', 'HorizontalAlignment', 'right') text( x(node_connect(2,1)) + (x(node_connect(2,2))-x(node_connect(2,1)))/2 , y(node_connect(2,1))... +(y(node_connect(2,2))-y(node_connect(2,1)))/2 ,'Element 2', 'HorizontalAlignment', 'left') hold on d3 = 4.352; d4 = 6.1271; position_d(:, 1) = [ 0; 0]; position_d(:, 2) = [ Le1*cos(thetae1)+ d3; Le1*sin(thetae1)+ d4 ]; position_d(:, 3) = [ Le1*cos(thetae2)+Le2*cos(thetae2); Le1*sin(thetae1)+Le2*sin(thetae2)]; % set up the nodal coordinate arrays x, y for i = 1 : n_node x(i) = position_d(1,i); y(i) = position_d(2,i); end % set up the element connectivity array node_connect, defined as % follows: % node_connect(local node number, element number) = global node number node_connect_d(1, 1) = 1; % element 1 node_connect_d(2, 1) = 2; node_connect_d(1, 2) = 2; % element 2 node_connect_d(2, 2) = 3; % plot the whole truss system % loop over the elements for i = 1 : n_elem % for element i, do the following: % node_1 = global node number corresponding to the local node 1 node_1 = node_connect_d(1,i); % node_2 = global node number corresponding to the local node 1 node_2 = node_connect_d(2,i); % xx : 1x2 array containing x coordinates of node_1 and node_2 xx = [x(node_1),x(node_2)]; % yy : 1x2 array containing y coordinates of node_1 and node_2 yy = [y(node_1),y(node_2)]; % plot the element i in 2-D using command plot % use axis command to avoid having the plot window too tight axis([0 8 0 9]) % solid line plot(xx,yy,'--g') % hold the current figure for the next element hold on end text(x(node_connect_d(1,1)),y(node_connect_d(1,1)),'Global Node 1', 'HorizontalAlignment', 'left') text(x(node_connect_d(2,1)),y(node_connect_d(2,1)),'Global Node 2', 'HorizontalAlignment', 'right') text(x(node_connect_d(2,2)),y(node_connect_d(2,2)),'Global Node 3', 'HorizontalAlignment', 'center') text(x(node_connect_d(2,1))/2,y(node_connect_d(2,1))/2,'Element 1', 'HorizontalAlignment', 'right') text( x(node_connect_d(2,1)) + (x(node_connect_d(2,2))-x(node_connect_d(2,1)))/2 , y(node_connect_d(2,1))... + (y(node_connect_d(2,2))-y(node_connect_d(2,1)))/2 ,'Element 2', 'HorizontalAlignment', 'left') % put the title on the figure title('Two-bar Truss System: Undeformed and Deformed') % label x axis xlabel('x') % label y axis ylabel('y')
The blue solid line represents the undeformed truss system, while the green dashed line represents the deformed truss system.
Contributing Team Members [edit]
The following students contributed to this report
- Michael Berry Eml4500.f08.qwiki.berry 10:41, 8 October 2008 (UTC)
- Andrea Booher Eml4500.f08.qwiki.booher 11:32, 8 October 2008 (UTC)
- Chris Bishop Eml4500.f08.qwiki.bishop 13:02, 8 October 2008 (UTC)
- David Nobles Eml4500.f08.qwiki.nobles 15:29, 8 October 2008 (UTC)
- Eric Gatch Eml4500.f08.qwiki.gatch 12:15, 8 October 2008 (UTC)
- Lee HarrisEml4500.f08.qwiki.harris 17:16, 8 October 2008 (UTC)

and 
and 

![\vec{d^{(e)}_{[i]}}=d^{(e)}_{1}\vec{i}+d^{(e)}_{2}\vec{j}](http://upload.wikimedia.org/math/9/c/f/9cfcd11181725162034d2beb69352335.png)
of node [1] on the
axis of element e
![q_{2}^{(e)}=d_{[3]}^{(e)}*\vec{\tilde{i}}](http://upload.wikimedia.org/math/5/9/3/593b3e3c52132d129523176365365add.png)
derived in Meeting 12 can also be expressed in a more general form:
, where
is the axial force of element e at local node
is the matrix used to transform force components to an axial force
is the
and
, (axial displacements of each element node and their respective displacement component)
and
, (axial forces at each element node and their respective force components)



is the nxn identity matrix.
.




and multply the resultant matrix by 













axes




