/TITLE, Simply supp, uniform load, simpd5.a ! W 8 x 31, 5 nodes, 4 elements /PREP7 ! preprocessor section w2 = 60 ! uniform load 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,5,200 ! node 5 at 500 FILL,1,5 ! nodes 2-4 E,1,2 ! element 1, nodes 1-2 EGEN,4,1,-1 ! make four elements FINISH ! preprocessor section /SOLUTION ! solution section antype,static outpr,basic,1 outpr,nload,1 D,1,UX,0,,,,UY ! Pin node 1 D,5,UY,0 ! Fix Y at node 3 SFBEAM,ALL,1,PRES,w2 ! Load 60 lb/in /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.00000 0.00000 -0.606061E-02 ! 2 0.00000 -0.269886 -0.416667E-02 ! 3 0.00000 -0.378788 0.178169E-17 ! 4 0.00000 -0.269886 0.416667E-02 ! 5 0.00000 0.00000 0.606061E-02 ! EL= 1 NODES= 1 2 MAT= 1 ! PRESSURES(F/L) = 60.000 60.000 ! LOCATION SMAX SMIN ! 1 (I) 0.84666E-11 -0.84666E-11 ! 2 (J) 8181.8 -8181.8 ! ! EL= 2 NODES= 2 3 MAT= 1 ! PRESSURES(F/L) = 60.000 60.000 ! LOCATION SMAX SMIN ! 1 (I) 8181.8 -8181.8 ! 2 (J) 10909. -10909. ! NODE FX FY ! 1 0.00000 6000.00 ! 5 6000.00