/TITLE, Two-element cantilever, cant3.a ! W 8 x 31, two, 1 kip loads /PREP7 ! preprocessor section f2 = -1e3 ! force at center ET,1,Beam3 ! Type 3 is beam R,1,9.1,110,8 ! Area, Iz, height MP,EX,1,30E6 ! Young-s modulus, steel MP,GXY,1,11.2E6 ! shear modulus N,1,0 ! Node 1 at 0 N,2,100 ! Node 2 at 100 N,3,200 ! Node 3 at 200 E,1,2 ! Element 1, nodes 1-2 E,2,3 ! Element 2, nodes 2-3 FINISH ! preprocessor section /SOLUTION ! solution section antype,static outpr,basic,1 outpr,nload,1 F,1,FY,f2 ! load at node 1 F,2,FY,f2 ! load at node 2 D,3,ALL,0 ! Fix node 3 /output,Displ,txt,D:\Ansys\ ! displacements ! /output,Displ,txt,U:\win\Ansys\ ! displacements solve /PBC,ALL,1 FINISH ! solution section /POST1 ! post processor etable,STR,ls,1,3 /output,Force,txt,D:\Ansys\ ! forces and stresses ! /output,Force,txt,U:\win\Ansys\ ! forces and stresses pretab prrsol FINISH ! post processor ! NODE FX FY MZ ! 3 0.0000 2000.0 -0.30000E+06 ! NODE UX UY ROTZ ! 1 0. -1.06061 0.757576E-02 ! 2 0. -0.353535 0.606061E-02 ! 3 0.00000 0.00000 0.00000 ! EL= 1 NODES= 1 2 MAT= 1 BEAM3 ! LOCATION SMAX SMIN ! 1 (I) 0.21166E-11-0.21166E-11 ! 2 (J) 3636.4 -3636.4 ! EL= 2 NODES= 2 3 MAT= 1 ! LOCATION SMAX SMIN ! 1 (I) 3636.4 -3636.4 ! 2 (J) 10909. -10909.