Escolar Documentos
Profissional Documentos
Cultura Documentos
UofA ANSYS Tutorial Creating Files Features Basic Tutorials Intermediate Tutorials Advanced Tutorials PostProc Tutorials Radiation ANSYS UTILITIES
Index
ANSYS Inc.
3/17/13
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 / m e n u , o n , 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
/ i n p u t , f r a m e , c m d
and yes that is a comma (, ) between f r a m eand c m d . 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, / m y f i l e s / a n s y s / f r a m efor example, you would use the following syntax
/ i n p u t , f r a m e , c m d , / m y f i l e s / a n s y s / f r a m e
If you want to rerun a new or modified file, it is necessary to clear the current model in memory with the command
/ c l e a r , s t a r t
This full procedure of loading in command files and clearing jobs and starting over again can be completed as many times as desired.
www.mece.ualberta.ca/tutorials/ansys/CL/create.html
3/17/13
prism cone torus Boolean Operations aadd aglue asba aina vadd vlgue vsbv vinv Elements & Meshing et type r
various volume creation commands see online help 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
defines element type set current element type pointer define real constants for elements
et,number,type may define as many as required; current type is set by t y p e type,number r,number,r1,r2, ... r6 may define as many as required; current type is set by r e a l real,number mp,label,number,c0,c1, ... c4 may define as many as required; current type is set by m a t 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
real mp
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
mat esize eshape lmesh amesh vmesh Sets & Selection ksel nsel lsel asel nsla allsel
www.mece.ualberta.ca/tutorials/ansys/CL/create.html
select nodes within selected area(s) see online help select everything i.e. reset selection allsel
3/4
3/17/13
Constraints
dk
defines a DOF constraint on a keypoint defines a DOF constraint on a node defines (anti)symmetry DOF constraints on a line
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,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
dl
Loads
fk
defines a
www.mece.ualberta.ca/tutorials/ansys/CL/create.html
4/4