Beruflich Dokumente
Kultur Dokumente
Creating Files
Features
Basic Tutorials
ANSYS
UTILITIES
http://www.mece.ualberta.ca/tutorials/ansys/CL/Create.html
BASIC
TUTORIALS
INTERMEDIATE
TUTORIALS
ADVANCED
TUTORIALS
POSTPROC.
TUTORIALS
COMMAND
LINE FILES
PRINTABLE
VERSION
Intermediate Tutorials
Advanced Tutorials
PostProc Tutorials
Radiation
Index
Contributions
Comments
MecE 563
Mechanical Engineering
University of Alberta
Copyright 2001
University of Alberta
1 of 4
06/01/2014 5:57 PM
http://www.mece.ualberta.ca/tutorials/ansys/CL/Create.html
/show,x11c
This has now started ANSYS in the text mode and has told it what graphic device to use (in this case an
X Windows, X11c, mode). At this point you could type in /menu,on, but you might not want to turn on
the full graphic mode if working on a slow machine or if you are executing the program remotely. Let's
assume that we don't turn the menu mode on...
If the command file is in the current directory for ANSYS, then from the ANSYS input window, type
/input,frame,cmd
and yes that is a comma (,) between frame and cmd. If ANSYS can not find the file in the current
directory, you may need to point it to the proper directory. If the file was in the directory, /myfiles
/ansys/frame for example, you would use the following syntax
/input,frame,cmd,/myfiles/ansys/frame
If you want to rerun a new or modified file, it is necessary to clear the current model in memory with
the command
/clear,start
This full procedure of loading in command files and clearing jobs and starting over again can be
completed as many times as desired.
2 of 4
Command
Description
Syntax
keypoint definition
k,kp#,xcoord,ycoord,zcoord
l,kp1,kp2
larc
larc,kp1,kp2,kp3,rad
(kp3 defines plane)
circle
spline
al
va
vext
vdrag
06/01/2014 5:57 PM
Solid
Modeling
(Primitives)
Boolean
Operations
Elements &
Meshing
3 of 4
http://www.mece.ualberta.ca/tutorials/ansys/CL/Create.html
rectng
rectangle creation
rectng,x1,x2,y1,y2
block
block,x1,x2,y1,y2,z1,z2
cylind
cylindrical volume
creation
cylind,rad1,rad2,z1,z2,theta1,theta2
sphere
sphere,rad1,rad2,theta1,theta2
prism
cone
torus
aadd
aadd,a1,a2, ... a9
aglue
aglue,a1,a2, ... a9
asba
asba,a1,a2
aina
aina,a1,a2, ... a9
vadd
vlgue
vsbv
vinv
volume boolean
operations
et
et,number,type
may define as many as required; current type
is set by type
type
type,number
r,number,r1,r2, ... r6
may define as many as required; current type
is set by real
real
real,number
mp
mp,label,number,c0,c1, ... c4
sets material properties for
may define as many as required; current type
elements
is set by mat
mat
mat,number
esize
esize,size,ndivs
use either size or ndivs
eshape
lmesh
mesh line(s)
lmesh,line1,line2,inc
or lmesh,all
amesh
mesh area(s)
amesh,area1,area2,inc
or amesh,all
06/01/2014 5:57 PM
Sets &
Selection
Constraints
Loads
4 of 4
http://www.mece.ualberta.ca/tutorials/ansys/CL/Create.html
vmesh
mesh volume(s)
vmesh,vol1,vol2,inc
or vmesh,all
ksel
select a subset of
keypoints
nsel
lsel
asel
nsla
allsel
select everything
i.e. reset selection
allsel
dk
dk,kp#,label,value
labels:
UX,UY,UZ,ROTX,ROTY,ROTZ,ALL
d,node#,label,value
labels:
UX,UY,UZ,ROTX,ROTY,ROTZ,ALL
dl
defines (anti)symmetry
DOF constraints on a line
dl,line#,area#,label
labels: SYMM (symmetry); ASYM
(antisymmetry)
fk
defines a
fk,kp#,label,value
labels: FX,FY,FZ,MX,MY,MZ
f,node#,label,value
labels: FX,FY,FZ,MX,MY,MZ
06/01/2014 5:57 PM