Fall 2011, MET 415/425

Prof. Dave Johnson, psuprofdj@psu.edu, Penn State - Erie, The Behrend College

ANSYS COMMANDS and Acronyms


ACRONYMS:

  Definition Menu Path
DMX maximum deflection General Postproc > Plot Results > Deformed Shape - or - Contour Plot (look in the legend)
SEPC Structural % Error in Energy Norm General Postproc > Plot Results > Deformed Shape (look in the legend)
SERR Structural Error Energy General Postproc > Plot Results > Contour Plot > Element Solu > Error Estimation > Structural Error Energy
SMN minimum result value on plot General Postproc > Plot Results > Contour Plot (legend)
SMNB result value, minimum bound estimate General Postproc > Plot Results > Contour Plot (legend)
SMX maximum result value on plot General Postproc > Plot Results > Contour Plot (legend)
SMXB result value, maximum bound estimate General Postproc > Plot Results > Contour Plot (legend)

Plotting Commands:

kplot   ! all selected keypoints
lplot   ! all selected lines
aplot   ! all selected areas
vplot   ! all selected volumes
These plot commands can also do a "range" of entities:
VPLOT,3,7 ! plots volumes 3 thru 7
APLOT,4    ! plots only area no. 4
LPLOT,11,21,10   ! plots lines 11 and 21
nplot   ! all selected nodes
eplot   ! all selected elements
/rep    ! replot (= refresh)
nplot,1   ! plots all nodes with node no. shown
gplot    ! does a multi-plot multi-plot settings (under PlotCtrls) determine which entities you see
pldi
pldi,2
plns,s,eqv
plns,s,x
plns,temp
ples,serr
ONLY in POST1 (the general postproc.):
PLDI     ! deformed shape plot
PLDI,2  ! deform. shape + undeform. edge
PLNS,xx,yy ! contour nodal solution results
PLES,SERR ! elem. solution plot of SERR
plvar,2 ONLY in POST26 (the time-history postproc)
PLVAR,m,n,o   !  graphs variables m, n, o

Listing Commands:

nlist  ! all selected nodes
elist  ! all selected elements
klist  ! all selected keypoints
llist  ! all selected lines
alist  ! all selected areas
vlist  ! all selected volumes
These list commands can include a "range" of entities:
VLIST,3,7  ! lists volumes 3 thru 7
ALIST,4     ! lists only area no. 4
LLIST,11,21,10   ! lists lines 11 and 21
etlis   ! all element types
mplis   ! all material properties
rlist   ! all real constants
cslis   ! all coordinate systems
These list commands can include "range"
MPLIST,1   ! lists only material 1 props
RLIST,3,5   ! lists real const. 3, 4, and 5
prrs    ! reaction solution ONLY in POST1 (the general postprocessor)
prvar,2 ! time-hist. variable 2 ONLY in POST26 (the time-history postprocessor)
PRVAR,m,n,o   !  lists variables m, n, o

Enter different "processors"

/prep7  ! preprocessor
/solu   ! solution processor
/post1  ! general postproc.
/post26 ! time-history postpr
finish  ! exit from any processor
/exit   ! leave ANSYS, saves DB
/exit,nosav  ! quit ANSYS, no DB is saved

Selecting

ALLSEL   ! select everything
VSEL,S,P ! select from all volumes by picking
ASEL,S,TYPE,,1 ! select areas elem type (1)
LSEL,S,LENG,,0.5,0.7 ! select lines by len
KSEL,S,loc, ! select keypoints by picking
NSEL,S,loc,x,0,4 ! select nodes by location
ESEL,S,MAT,,1 ! select elements by material

ASLV,S, ! select areas on selected volumes
NSLL,S,1 ! select nodes on lines (incl. ends)
ASEL,S,EXT ! select areas on exterior of vols
ESLN,S,0 ! select elements w/any node selected
xSEL,n,....

where n is:
 S = "from full"
 R = "from current set"
 U = "unselect"
 A = "also select"