/TITLE, Name and date here, cant1.a ! deflection and stress for ! cantilever beam, W8 x 31, /PREP7 ! preprocessor section f2 = -3000 ! force at free end 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 TYPE,1 ! element type (ET) 3 MAT,1 ! material property MP 1 REAL,1 ! area R 1 E,1,2 ! element 1, nodes 1-2 FINISH ! preprocessor section /SOLUTION ! solution section antype,static ! analysis type is static outpr,basic,1 outpr,nload,1 D,1,ALL,0 ! node 1 fully constrained F,2,FY,f2 ! force at node 2 ! /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 UX UY ROTZ ! 1 0. 0. 0. ! 2 0. -0.30303 -0.45455E-02 ! NODE FX FY MZ ! 1 0. 3000.0 0.30000E+06 ! EL= 1 NODES= 1 2 MAT= 1 BEAM3 ! LOCATION SMAX SMIN ! 1 (I) 10909. -10909. ! 2 (J) 0.42333E-11 -0.42333E-11