Page 202 - Using ANSYS for Finite Element Analysis Dynamic, Probabilistic, Design and Heat Transfer Analysis
P. 202

Design optimization   •   189
                           lsel,all
                           lplot
                           ! Keep only symmetric portion
                           wprot,,90
                           lsbw,all
                           wprot,,,60
                           lsbw,all
                           csys,1
                           lsel,u,loc,y,0,60
                           ldele,all,,,1
                           lsel,all
                           ksll
                           ksel,inve
                           kdele,all ! Delete unnecessary keypoints
                           ksel,all
                           lplot
                           ! Create missing lines and combine right
                           edge lines
                           csys,0
                           ksel,,loc,y,0
                           lstr,kpnext(0),kpnext(kpnext(0))
                           ! Bottom symmetry edge
                           ksel,all
                           csys,1
                           ksel,,loc,y,60
                           lstr,kpnext(0),kpnext(kpnext(0))
                           ! 60-deg. symm. edge
                           ksel,all
                           csys,0
                           lsel,,loc,x,100
                           lcomb,all ! Add lines at the right edge
                           lsel,all
                           ! Create the area
                           al,all
                           aplot
                           ! MESHING
                           ! -------
                           et,1,82,,,3 ! Plane stress with thickness
                           r,1,10 ! Thickness
                           mp,ex,1,2.07e5 ! Young’s modulus of
                           steel, MPa
   197   198   199   200   201   202   203   204   205   206   207