/TITLE, Howe truss flat, trusshowflat.a ! Displacement and stress /COLOR,PBAK,off ! black background /PREP7 ! preprocessor section p1 = -33e3 ! Load at nodes 2, 3, 4 ET,1,Link1 ! type 1 is a spar EX,1,30e6 ! Young-s modulus, material 1 mp,dens,1,0.284 ! steel density, lbs/cu in acel,,1 ! gravity R,1,3.0 ! main area N,1,0 ! lower-left node N,5,40 ! lower-right node fill,1,5 ! remaining bottom nodes N,7,20,7.5 N,6,10,7.5 N,8,30,7.5 /pnum,node,1 real,1 ! area e,1,2 ! bottom left element egen,4,1,-1 ! bottom elements, 2-3, 3-4, 4-5 e,1,6 ! upper left e,6,7 e,7,8 ! upper right e,8,5 e,2,6 ! verticals e,3,7 e,4,8 e,6,3 ! inner diagonals e,3,8 APLOT,all ! plot all areas /PLOPTS,INFO,OFF ! Removes entire legend column /PLOPTS,FRAME,OFF ! Removes frame FINISH ! preprocessor section /SOLUTION ! solution section antype,static outpr,basic,1 outpr,nload,1 D,1,UX,0,,,,UY ! Pin at left end D,5,UY,0 ! roller at right end F,2,FY,p1 ! apply 3 loads F,3,FY,p1 F,4,FY,p1 ! /output,Mass,txt,D:\Ansys\ ! mass /output,Mass,txt,U:\win\Ansys\ ! mass solve /PBC,ALL,1 eplot FINISH ! solution section /POST1 ! post processor etable,STR,ls,1,3 pldisp,1 ! plot displacements ! /output,Displ,txt,D:\Ansys\ ! displacements /output,Displ,txt,U:\win\Ansys\ ! displacements PRNSOL,U ! show displacements ! /output,Stress,txt,D:\Ansys\ ! forces and stresses /output,Stress,txt,U:\win\Ansys\ ! forces and stresses PRRSOL ! show forces PRETAB ! stresses ! FINISH ! post processor ! TOTAL MASS = 123.54 ! NODE UX UY ! 1 0. 0. ! 2 0.44522E-02 -0.34269E-01 ! 3 0.89044E-02 -0.37873E-01 ! 4 0.13357E-01 -0.34269E-01 ! 5 0.17809E-01 0. ! 6 0.15756E-01 -0.32602E-01 ! 7 0.89044E-02 -0.31197E-01 ! 8 0.20530E-02 -0.32602E-01 ! ELEM STR ! 1 13357. ! 2 13357. ! 3 13357. ! 4 13357. ! 5 -16696. ! 6 -11132. ! 7 -11132. ! 8 -16696. ! 9 6670.6 ! 10 13352. ! 11 6670.6 ! 12 -5564.1 ! 13 -5564.1