/TITLE, Name and date here, cantm.a ! deflection and stress for ! cantilever beam, W8 x 31, /PREP7 ! preprocessor section m2 = -200e3 ! moment 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 E,1,2 ! Element 1, nodes 1-2 FINISH ! preprocessor section /SOLUTION ! solution section antype,static outpr,basic,1 outpr,nload,1 D,1,ALL ! Fix node 1 F,2,MZ,m2 ! Moment 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.60606E-02 ! LOCATION SMAX SMIN ! 1 (I) 7272.7 -7272.7 ! 2 (J) 7272.7 -7272.7 ! NODE FX FY MZ ! 1 0. 0. 200000.00