Problem definition text file.
/FILNAM,truss
/title, Simple Truss
/prep7
n, 1, 25.0, 0.0,
0.0 ! Node 1 is located
at (25.0, 0.0, 0.0)
n, 2, 0.0, 18.0, 0.0
n, 3, 0.0,
0.0, 0.0
et, 1, link1 ! Element type; no.1 is link1
mp, ex, 1, 3.e7
! Material Properties, E for material no. 1
mp, nuxy, 1, 0.3
! & poisson's ratio for material no.1
r, 1, 0.5
! 'Real Constant' number 1 is 0.5
! (Cross sectional area)
en, 1, 3, 1
! Element Number 1 connects nodes 1 & 2
en, 2, 2, 1
d, 3, ux, 0.
! Displacement at node 3 in x-dir is zero
d, 3, uy, 0.
! Displacement at node 3 in y-dir is zero
d, 2, ux, 0.
d, 2, uy, 0.
f, 1, fy, -1000.
! Force at node 1 in y-direction is -1000.
Computed Results
PRINT
DOF NODAL SOLUTION PER NODE
***** POST1 NODAL DEGREE OF FREEDOM LISTING *****
LOAD STEP=
1 SUBSTEP=
1
TIME= 1.0000 LOAD CASE= 0
THE FOLLOWING DEGREE OF FREEDOM RESULTS ARE IN GLOBAL COORDINATES
NODE UX UY
1 -0.23148E-02-0.92304E-02
2
0.0000 0.0000
3
0.0000 0.0000
MAXIMUM ABSOLUTE VALUES
NODE
1
1
VALUE
-0.23148E-02-0.92304E-02
PRINT
ELEMENT TABLE ITEMS PER ELEMENT
***** POST1 ELEMENT TABLE LISTING *****
STAT
CURRENT
ELEM STRESS
1 -2777.8
2
3422.9
MINIMUM VALUES
ELEM
1
VALUE
-2777.8
MAXIMUM VALUES
ELEM
2
VALUE
3422.9
Summary