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

apDl programming   •   151
                        2.  Edit the Command Log File
                           Using any text editor, you can edit either one of the following files:
                           Session log file: Tutorial 1.log
                           Database command log file: Tutorial 1.lgw
                           Note: One may prefer to edit database command l of file having essential
                           commands with nonessential commands commented out using charac-
                           ter. The nonessential comments have been highlighted as follows.
                               /BATCH
                               ! /COM,ANSYS  RELEASE  11.0  UP20070125
                           11:04:23
                               08/30/2008
                               /input,menust,tmp,’’,,,,,,,,,,,,,,,,1
                               ! /GRA,POWER
                               ! /GST,ON
                               ! /PLO,INFO,3
                               ! /GRO,CURL,ON
                               ! /CPLANE,1
                               ! /REPLOT,RESIZE
                               WPSTYLE,,,,,,,,0
                               !      SAVE,       Tutorial-1,db,C:\A6_ANS~1\
                           FINOPT~1\OPTIMI~1\
                               /PREP7
                               !*
                               ET,1,PLANE82
                               !*
                               KEYOPT,1,3,3
                               KEYOPT,1,5,0
                               KEYOPT,1,6,0
                               !*
                               ! SAVE, Tutorial 1,db,
                               !*
                               R,1,0.3,
                               !*
                               ! SAVE, Tutorial 1,db,
                               !*
                               MPTEMP,,,,,,,,
                               MPTEMP,1,0
                               MPDATA,EX,1,,200e9
                               MPDATA,PRXY,1,,0.32
                               ! SAVE, Tutorial 1,db,
                               BLC4,2.25,0.5,3,1.5
                               BLC4,7.25,.5,3,1.5
   159   160   161   162   163   164   165   166   167   168   169