! ANSYS Script used to model beam with three node triangles ! Observe the difficulty. /PREP7 ! Element and Materials ET,1,PLANE42 MP,EX,1,1.e7 MP,NUXY,1,0.3 ! Create geometry k,1,0,-0.5,0 k,2,10,-0.5,0 k,3,10,0,0 k,4,10,0.5,0 k,5,0,0.5,0 k,6,0,0,0 A,6,1,2,3 A,6,3,4,5 AGLUE,ALL ! Mesh ESIZE,0.125 MSHKEY,1 MSHAPE,1 AMESH,ALL ! Boundary Conditions and Loads DL,1,,ALL DL,7,,ALL FK,3,FY,-100 FINISH ! Solve /SOLU SOLVE FINISH ! Post processing /post1 ! Tip Deflection ntip=node(10,0,0) ! Number of node nearest to the location del=uy(ntip) ! The uy function produces the value of y-delfection of the node ! Stress at x=5, top surface allsel ntop=node(5,0.5,0) *get,sig_x,node,ntop,s,x