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

162  •   using ansys for finite eLement anaLysis

                         FITEM,5,1
                         FITEM,5,3
                         CM,_Y,LINE
                         LSEL, , , ,P51X
                         CM,_Y1,LINE
                         CMSEL,,_Y
                         !*
                         LESIZE,_Y1, , ,5, , , , ,1
                         !*
                         MSHKEY,0 ! Mesh the area
                         CM,_Y,AREA
                         ASEL, , , , 1
                         CM,_Y1,AREA
                         CHKMSH,’AREA’
                         CMSEL,S,_Y
                         !*
                         AMESH,_Y1
                         !*
                         CMDELE,_Y
                         CMDELE,_Y1
                         CMDELE,_Y2
                         !*
                         FINISH ! Save and exit preprocessor
                         /SOL ! Enter Solution module
                         !*
                         ANTYPE,0 ! Set analysis type as steady-state
                         FLST,2,1,4,ORDE,1  ! Specify temperature
                     boundary conditions on line 1
                         FITEM,2,1
                         DL,P51X, ,TEMP,100,0
                         FLST,2,3,4,ORDE,2 ! Specify convective b/
                     conditions on lines, 2,3 & 4
                         FITEM,2,2
                         FITEM,2,-4
                         SFL,P51X,CONV,10, ,25,
                         SOLVE ! Solve the problem
                         FINISH
                  3.  Read in the Edited Log File
                     In an interactive session, pick Utility Menu> File> Read Input
                     from to read in the edited command log file.
                     Further editing for design optimization:
   170   171   172   173   174   175   176   177   178   179   180