You are on page 1of 2

ANSYS Command File Creation and Execution

Pgina 1 de 2

ANSYS Command Groupings


ANSYS contains hundreds of commands for generating geometry, applying loads and constraints, setting up different analysis types and post-processing. The following is only a brief summary of some of the more common commands used for structural analysis. Category Basic Geometry Command k l larc circle spline a al v va vext vdrag Solid Modeling (Primitives) rectng block cylind sphere prism cone torus Boolean Operations aadd aglue asba aina vadd vlgue vsbv vinv Elements & Meshing et type r real mp mat esize eshape lmesh amesh vmesh Sets & Selection ksel nsel lsel asel nsla allsel Constraints dk d Description keypoint definition straight line creation circular arc line (from keypoints) circular line creation (creates keypoints) spline line through keypoints area definition from keypoints area definition from lines volume definition from keypoints volume definition from areas create volume from area extrusion create volume by dragging area along path rectangle creation block volume creation cylindrical volume creation spherical volume creation various volume creation commands adds separate areas to create single area creates new areas by glueing (properties remain separate) creat new area by area substraction create new area by area intersection volume boolean operations Syntax k,kp#,xcoord,ycoord,zcoord l,kp1,kp2 larc,kp1,kp2,kp3,rad (kp3 defines plane) see online help spline,kp1,kp2, ... kp6 a,kp1,kp2, ... kp18 a,l1,l2, ... l10 v,kp1,kp2, ... kp8 va,a1,a2, ... a10 see online help see online help rectng,x1,x2,y1,y2 block,x1,x2,y1,y2,z1,z2 cylind,rad1,rad2,z1,z2,theta1,theta2 sphere,rad1,rad2,theta1,theta2 see online help aadd,a1,a2, ... a9 aglue,a1,a2, ... a9 asba,a1,a2 aina,a1,a2, ... a9 see online help et,number,type may define as many as required; current type is set by type type,number r,number,r1,r2, ... r6 may define as many as required; current type is set by real real,number mp,label,number,c0,c1, ... c4 may define as many as required; current type is set by mat mat,number esize,size,ndivs use either size or ndivs see online help lmesh,line1,line2,inc or lmesh,all amesh,area1,area2,inc or amesh,all vmesh,vol1,vol2,inc or vmesh,all see online help see online help see online help see online help see online help allsel dk,kp#,label,value labels: UX,UY,UZ,ROTX,ROTY,ROTZ,ALL d,node#,label,value labels: UX,UY,UZ,ROTX,ROTY,ROTZ,ALL

defines element type set current element type pointer define real constants for elements sets current real constant pointer sets material properties for elements sets current material property pointer sets size or number of divisions on lines controls element shape mesh line(s) mesh area(s) mesh volume(s) select a subset of keypoints select a subset of nodes select a subjset of lines select a subset of areas select nodes within selected area(s) select everything i.e. reset selection defines a DOF constraint on a keypoint defines a DOF constraint on a node

http://www.mece.ualberta.ca/tutorials/ansys/CL/Create.html

08/04/2013

ANSYS Command File Creation and Execution

Pgina 2 de 2

dl Loads fk f

defines (anti)symmetry DOF constraints on a line defines a defines a force at a node

dl,line#,area#,label labels: SYMM (symmetry); ASYM (antisymmetry) fk,kp#,label,value labels: FX,FY,FZ,MX,MY,MZ f,node#,label,value labels: FX,FY,FZ,MX,MY,MZ

http://www.mece.ualberta.ca/tutorials/ansys/CL/Create.html

08/04/2013

You might also like