Example 411: A truss problem

This problem solves for the displacements, tensions and reaction forces in a statically determinant 3 member truss. The truss invesigated is analysed in the notes.


The comfile run by this example is as follows:

#Example_411 A truss problem
 
fem                            #set up the FEM environment
fem define nodes;r;truss;example   #read the truss nodes
fem define window;c            #calculate the window size
fem define bases;r;;example        #defines a linear basis function
fem define elements;r;;example     #defines three elements
fem draw lines                 #make the line segments visible
fem draw nodes                 #make the node numbers visible
fem define fibre;d             #default fibre angle
fem define element;r;;example fibre
fem define equation;r;;example     #this is a static analysis using
#                              !  linear elasticity with truss
#                              !  elements.
fem define material;r;;example     #define the material parameters. Define
#                              !  an isotropic material with a Young's
#                              !  modulus of 10 GPa, and a cross-
#                              !  area of 5 cm^2
fem list material              #list the material parameters
fem define initial;r;;example      #define initial and boundary conditions
#                              !  for the problem.
fem draw nodes                 #make the node numbers visible and show
#                              !  fixed boundary conditions.
fem define solve;r;;example        #define the solver options
fem solve                      #solves the boundary value problem
fem draw line deformed dotted scale 0.05 #draws (scaled) deformed
#                              !  body with dotted lines
fem list node solution         #list the nodal displacements
fem list node reaction         #list the nodal reactions (forces)
fem list stress full           #list the element stresses
fem draw reaction scale 0.003  #draw (scaled) reaction (force) vectors

Additional testing commands:

fem list node solution
fem list node reaction
fem list stress full

Files used by this example are:

Name             Modified     Size

example_411.com 13-Dec-2002 1.8k test_output.com 13-Dec-2002 67 truss.ipbase 10-Apr-2000 893 truss.ipelem 10-Apr-2000 833 truss.ipelfb 10-Apr-2000 491 truss.ipequa 26-May-2003 1.7k truss.ipinit 10-Apr-2000 686 truss.ipmate 10-Apr-2000 800 truss.ipnode 10-Apr-2000 727 truss.ipsolv 13-Apr-2007 1.1k

Download the entire example:

Name                      Modified     Size

examples_4_41_411.tar.gz 23-Jul-2009 5.1k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:01:54 20161
cm-debugSuccessSat Mar 5 00:02:10 20160
mips-irix
cmSuccessSun Aug 19 01:27:05 20074
cm-debugSuccessWed Aug 15 01:21:06 20076
cm-debug-clear-mallocSuccessSat Aug 18 01:26:19 200710
cm-debug-clear-malloc7SuccessMon Aug 20 01:22:29 20079
cm64SuccessSun Aug 19 01:27:29 20073
cm64-debugSuccessTue Aug 21 01:21:26 20075
cm64-debug-clear-mallocSuccessThu Apr 1 10:13:49 20043
rs6000-aix
cmSuccessWed Mar 4 01:07:13 20091
cm-debugSuccessMon Mar 2 01:06:07 20091
cm64SuccessWed Mar 4 01:07:13 20090
cm64-debugSuccessTue Mar 3 01:11:53 20091
x86_64-linux
cmSuccessSun Mar 6 00:01:02 20160
cm-debugSuccessSat Mar 5 00:01:13 20160

Testing status by file:


Html last generated: Sun Mar 6 05:50:20 2016

Input last modified: Wed Jul 22 08:51:16 2009


CMISS Help / Examples / 4 / 41 / 411