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

196  •   using ansys for finite eLement anaLysis

                    !*
                    FLST,5,2,4,ORDE,2
                    FITEM,5,1
                    FITEM,5,3
                    CM,_Y,LINE
                    LSEL, , , ,P51X
                    CM,_Y1,LINE
                    CMSEL,,_Y
                    !*
                    LESIZE,_Y1, , ,5, , , , ,1
                    !*
                    CM,_Y,AREA
                    ASEL, , , , 1
                    CM,_Y1,AREA
                    CHKMSH,’AREA’
                    CMSEL,S,_Y
                    !*
                    MSHKEY,1
                    AMESH,_Y1
                    MSHKEY,0
                    !*
                    CMDELE,_Y
                    CMDELE,_Y1
                    CMDELE,_Y2
                    FINISH
                    ! ********************************************
                SOLUTION
                    /SOLU
                    !
                    ANTYPE,0 ! Steady-State Thermal Analysis
                    !
                    FLST,2,1,4,ORDE,1
                    FITEM,2,1
                    DL,P51X, ,TEMP,100,0  ! Prescribed  temperature
                at the left end
                    !
                    FLST,2,2,4,ORDE,2
                    FITEM,2,2
                    FITEM,2,-3
                    SFL,P51X,CONV,10,  ,25, ! Convective  boundary
                condition
                    !
   204   205   206   207   208   209   210   211   212   213   214