ansys.net search results
quick file search:
    home » search results
 
 
Undocumented Features (61 entries)
 
_RETURN
  Parameter returns number of geometry entity just created (5.3 does not support _return for the L command)
[STI: Please see Ch. 4.7 "Using the _STATUS and _RETURN Parameters in Macros" in the ANSYS APDL Guide for more information]
[permalink]
 
Average Rating: 10.0 (11 votes)  
Rate this item:
 
*GET,,CDSY
  *GET,Parm,CDSY, ,NUM,MAX
Gets the max local coord. system number
You can also use the inquiry function MAXCSYS = csyiqr(0,14)
[permalink]
 
Average Rating: 9.4 (9 votes)  
Rate this item:
 
*GET,,CE
  *GET,Parm,CE,CeNum, TERM, num, [COEF | NODE | DOF]
Gets the node number, DOF, or coefficient in CE #CeNum, #num term.
The DOF key is as follows: 1=ux, 2=uy, 3=uz, 4=rotx, 5=roty, 6=rotz, 7=ax, 8=ay 9=az, 10=vx, 11=vy, 12=vz, 19=pres, 20=temp, 21=volt, 22=mag, 23=enke, 24=ends, 25=emf, 26=curr
[permalink]
 
Average Rating: 10.0 (15 votes)  
Rate this item:
 
*GET,,CE
  *GET,Parm,CE,CeNum, [NTERM | CONST]
Gets the total number of terms or the constant for CE
[permalink]
 
Average Rating: 10.0 (1 vote)  
Rate this item:
 
*GET,,CE
  *GET,Parm,CE,0,[MAX | NUM]
Gets the total #num number of CEs defined or the #max number of CEs.
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
*GET,,COMMON
  *GET,parm,COMMON,,BOLCMD,,REAL,16
Gets the current boolean tolerance value (value assigned to the BTOL command).
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
*GET,,CP
  *GET,Parm,CP,CpNum,TERM,num,NODE
Gets the node number in CP #CpNum, #num term.
[permalink]
 
Average Rating: 10.0 (1 vote)  
Rate this item:
 
*GET,,CP
  *GET,Parm,CP,CpNum,[DOF | NTERM]
Gets the DOF of the CP #CpNum or total number of terms. The DOF key is as follows: 1=ux, 2=uy, 3=uz, 4=rotx, 5=roty, 6=rotz, 7=ax, 8=ay 9=az, 10=vx, 11=vy, 12=vz, 19=pres, 20=temp, 21=volt, 22=mag, 23=enke, 24=ends, 25=emf, 26=curr
[permalink]
 
Average Rating: 10.0 (1 vote)  
Rate this item:
 
*GET,,CP
  *GET,Parm,CP,0,[MAX | NUM]
Gets the total #num number of CPs defined or the #max number of CPs.
[permalink]
 
Average Rating: 10.0 (4 votes)  
Rate this item:
 
*GET,,ETYP
  *GET,Parm,ETYP, ,NUM,MAX
Gets the max element type number You can also use the inquiry function MAXETYP = etyiqr(0,14)
[permalink]
 
Average Rating: 10.0 (3 votes)  
Rate this item:
 
*GET,,NODE
  *GET,par,NODE,n,NTEMP
Gets nodal structural temperatures applied on the model.
 
*VGET,parm(1),125,1,12,1,,,2
*VGETs nodal structural temperatures into an array.
[permalink]
 
Average Rating: 8.3 (15 votes)  
Rate this item:
 
*GET,,PLAB
  *GET,Parm,PLAB,mat,TEMP,Tvalue
Gets material value at given temperature.
For example:
*GET,EX1,EX,1,TEMP,70.0
Gets EX for material #1 at TEMP=70 and puts into parameter EX1.
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
*GET,,RCON
  *GET,Parm,RCON, ,NUM,MAX
Gets the max REAL set number
You can also use the inquiry function MAXREAL = rlinqr(0,14)
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
*OGDEN
  *OGDEN,strain,stress,ltype,const,calc,sortsn,sortss,fname,ext
Ogden Hyperelastic Material
similar to *MOONEY for Ogden constitutive law for HYPER56, 58, & 74.
strain = name of array parameter vector containing experimental engineering strain values
stress = name of array parameter vector containing experimental engineering stress values
ltype = 1 simple tension, 2 equibiaxial tension or compression, 3 shear (using simple tension equations), 4 shear (using equibiaxial tension equations)
const = name of array containing ogden constants
calc = name of array containing calculated stress values
sortsn = sorted strain data to be used for *vplot command
sortss = sorted stress data to be used for *vplot command
fname = tb output filename (8 characters maximum).
ext = tb output file extension (8 characters maximum).
[STI: Ogden material is available for 18x family of elements at 5.7, so it is strongly recommended to use those elements instead.]
[permalink]
 
Average Rating: 10.0 (4 votes)  
Rate this item:
 
/DFLAB
  /DFLAB,dofnum,dlabel,flabel
Changes DOF #dofnum to "dlabel" (D) and Force to "flabel" (F). DOF numbers range from 1-32. For example, DOF number 1 is UX, 2 is UY, etc.
This should be the first command issued upon entering ANSYS.
/DFLAB,19,PRESSURE changes PRES label (#19) to PRESSURE
[permalink]
 
No rating yet  
Rate this item:
 
ABTOANS
  From 8.0 onwards, an undocumented macro ABTOANS allows user to convert an ABAQUS input file to ANSYS.
[permalink]
 
Average Rating: 8.0 (22 votes)  
Rate this item:
 
ALLP
  ALLP,num_loop
Creates areas with holes in them. It supports up to 4 internal loops and one external loop. Listing of lines can be random within each loop, but each loop must be grouped together. "allp,3,1,3,4,7,11,14,6,8,9" where 3=number of total loops (one external, two internal, and the other numbers are line numbers in random order. This means that loop one would be lines 1,3,4, loop two would be 4,7,11, and loop 3 would be 14,16,8,9.
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
AMER
  AMER,area1,area2,etc.
"Glues" areas together. Same command as AGLUE. See AGLUE for details on the usage of this command.
[permalink]
 
No rating yet  
Rate this item:
 
ASBL
  ASBL,NA,NL,SEPO,KEEPA,KEEPL
The SEPO undocumented argument is similar to ASBA command. For ASBL, the divided areas will share lines by default but will have separate lines if SEPO is the value in the 3rd field.
The reason why this argument is undocumented is that, in some cases, separate, coincident keypoints may not be generated.
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
ASBW
  ASBW,area,,,,,,,MESH
This divides a meshed area. (Warning - this may cause a corrupt database - use at your own risk! - STI)
[permalink]
 
Average Rating: 10.0 (4 votes)  
Rate this item:
 
BSPLINE
  BSPLINE,ALL,First,[Next],[OPEN | CLOSED],,sx1,sy1,sz1,sx2,sy2,sz2
Use more keypoints for BSPLINE to have an open or closed loop.
[STI: At 5.6.2, CLOSED option didn't seem to work for arbitrary sets of keypoints...]
[permalink]
 
Average Rating: 8.3 (6 votes)  
Rate this item:
 
CBDOF, BFINT
  CBDOF/BFINT,,,,,,,,,,TOLOUT,MOVETOL
Vary distance for projecting results.
The TOLOUT parameter is the fraction of the size of the nearest element by which a point can be outside the element. (Default is 0.5)
The MOVETOL parameter is the max motion of a node outside the body to reach the surface of the body (value > 1). This allows nodes to be moved to the surface by a specified amount prior to interpolation/extrapolation.

[permalink]
 
Average Rating: 10.0 (1 vote)  
Rate this item:
 
CECHECK
  CECHECK,Item,Tolerance,Flag
Checks constriant equations for non-zero rigid reactions.
Item is "All (default), CE, or CP"
Flag is "RIGID (default) | ALL | Dof" where DOF can be individual UX, UY, TEMP (THERM?), etc.

[permalink]
 
Average Rating: 10.0 (3 votes)  
Rate this item:
 
CESGEN
  CESGEN,2,_ntot,all
Generates/copies constraint equations (CEs).
[permalink]
 
Average Rating: -2.5 (2 votes)  
Rate this item:
 
CLIST
  CLIST,csys,Nstart,Nend,Ninc
Displays coordinates for nodes in given "csys" coordinate system without using DSYS. Use of DSYS is cumbersome since it affects displays as well as listings, so this is a better alternative.
[permalink]
 
Average Rating: 9.3 (7 votes)  
Rate this item:
 
COPLOT
  COPLOT,secnum
Plots a beam cross section secnum as MESH200 elements on the screen. Useful to see graphically where the 'section nodes' are if you run this in a blank database.
Sample input below:

finish
/clear

/prep7
sect,1,beam,I
secd,1,1.5,1,0.1,0.1,0.1

/pnum,node,1
/efacet,2
coplot,1

See CUPLOT for related command
[permalink]
 
Average Rating: 10.0 (3 votes)  
Rate this item:
 
CPMERGE
  CPMERGE,lab
Merges different couple sets with duplicate degrees of freedom into one couple set.
"Lab" can be any valid DOF label (e.g., 'UX')
Similar to NUMMRG,CP
[permalink]
 
Average Rating: 10.0 (4 votes)  
Rate this item:
 
CPSGEN
  CPSGEN,2,_ntot,all
Generates/copies coupled sets (CPs).
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
CUPLOT
  CUPLOT,filename
Plots a user-defined beam cross section stored in filename as MESH200 elements on the screen. Useful to see graphically where the 'section nodes' are if you run this in a blank database.

See COPLOT for related command
[permalink]
 
Average Rating: 10.0 (1 vote)  
Rate this item:
 
CWZDELE
  CWZDELE,real_no,type_flag
Deletes a 17x contact pair, based on the real constant real_no. If type_flag is set to "1", this command not only deletes the contact elements, but it removes the real constant and element types associated with that contact pair.

For example, CWZDELE,3,1 deletes the 17x contact elements associated with real constant 3 (EDELE) and removes the real constant and element types (RDELE, ETDELE).


[permalink]
 
Average Rating: 10.0 (7 votes)  
Rate this item:
 
DGEN
  DGEN, 2,_ntot,1,_ntot
Generates/copies DOF constraints.
[permalink]
 
Average Rating: 10.0 (3 votes)  
Rate this item:
 
ELSIZE
  ELSIZE, Size, Ndiv, Kshape, Kstr
Provides same functionality of two 'newer' commands: ESIZE, Size, Ndiv and ESHAPE, Kshape, Kstr

[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
EMID
  EMID,STRAIGHTEN
Straightens elements with midside nodes to force midnode to lie exactly in-between corner nodes.
[permalink]
 
Average Rating: 10.0 (5 votes)  
Rate this item:
 
EORIENT
  EROIENT to reorient SOLID46 is documented at 5.6 but is undocumented at 5.5.
[STI: I haven't had much success with it at 5.5, though.]
[permalink]
 
Average Rating: 10.0 (6 votes)  
Rate this item:
 
EPGEN
  EPGEN ,inum,numincr,estart,eend,eincr,face
Generates/copies pressures.
inum is number of times to perform (>1)
numincr is element number increment
estart,eend,eincr is range of element numbers starting from estart to eend incremented by eincr (can use "all" for estart)
face is element face number
[permalink]
 
No rating yet  
Rate this item:
 
ESPLIT
  ESPLIT,iel1,iel2,incr
ESPLIT,ALL
Splits all selected (or specified via iel1 and iel2) quad elements to tris.
In previous versions of ANSYS the newly created tri's are not recognized by graphical picking, but you can list them. In order for the database to be correct you have to either (a) issue NMODIF,ALL or (b)CDWRITE and CDREAD the model into a new database. This undocumented command may not be the best solution for every situation but definitely one to know about.
In later versions of ANSYS (5.5 or later), MOPT,SPLIT can be used instead prior to meshing.
[permalink]
 
Average Rating: 10.0 (4 votes)  
Rate this item:
 
FGEN
  FGEN, 2,_ntot,1,_ntot
Generates/copies nodal forces.
[permalink]
 
Average Rating: 10.0 (1 vote)  
Rate this item:
 
GCGEN
  GCGEN, Ccomp, Tcomp, NUMC, RADC, Tlab, Shape

Ccomp
Name of the component containing nodes on the contact surface [CM]. Assemblies are not permitted.

Tcomp
Name of the component containing nodes on the target surface. Assemblies are not permitted.

NUMC
Generate NUMC contact elements whose contact node is closest to the centroid of each target element face. If Shape = TRI, the program will generate 2*NUMC CONTAC49 elements for each quadrilateral target element face. (That is, each triangular contact element base will be connected to NUMC contact nodes.) Defaults to an unlimited number of contact elements generated per target face.

RADC
Generate contact elements whose contact node is within a radius of RADC measured from the centroid of each target element face. Defaults to no limit on the radius.

Tlab
Label to identify the target surface of line or shell elements. The top surface will be used unless Tlab = BOT. Tlab is ignored if the target elements are solids.

Shape
Label that controls the shape of CONTAC49 element bases. Using the TRI feature can sometimes improve contact performance if the target elements have warped quadrilateral faces:
(blank) --
The contact element bases will have the same shape (triangular or quadrilateral) as the corresponding target element faces (default).
TRI --
The contact element bases will always be triangular.

Notes:
Generates 2-D contact (CONTAC48) or 3-D contact (CONTAC49) elements. Each contact element connects nodes on a target element face to a contact node. The "target" end of a contact element is called the contact element base. A target element face is defined as a face on a selected element whose nodes belong to the target component. If the selected element is a solid then the target face must also be external to the model, while for a line or shell element all nodes of the element will belong to the target face. The active element type attribute (TYPE) must be a contact element (CONTAC48 or CONTAC49) and must match the dimensionality of the target element. The other active attributes (MAT, TYPE, REAL, ESYS) will be used for the generated elements. The target elements must be defined before using this command. Midside nodes on target element faces are ignored.

It is highly recommended to use newer CONTA171-175 elements instead of CONTAC48-49.
[permalink]
 
Average Rating: 10.0 (1 vote)  
Rate this item:
 
KLIST
  KLIST,all,,,xyz
Shows more significant digits for keypoint listings.
[permalink]
 
Average Rating: 10.0 (4 votes)  
Rate this item:
 
KROT
  Similar to NROTA but rotates keypoints. Can be viewed with /PSYM,NDIR,1 and is supported by CDREAD and CDWRITE
[permalink]
 
No rating yet  
Rate this item:
 
LMER
  LMER,line1,line2,etc.
"Glues" lines together. Same command as LGLUE. See LGLUE for details on the usage of this command.
[permalink]
 
No rating yet  
Rate this item:
 
LSPA
  LSPA,line,area
Project a line onto an area. It appears that the line must be directly over the area, and the area needs to be flat.
[permalink]
 
No rating yet  
Rate this item:
 
LSTR
  LSTR,p1,p2,ndiv,space
LSTR is documented, NDIV and SPACE are not. Analogous to the L command, you can put number of divisions and spacing ratio.
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
LSx()
  LSx(line number, unit distance)
*GET functions for the slope of a line for LSX, LSY, LSZ where unit distance is between 0 and 1 (0 is slope at keypoint 1, 1 is slope at keypoint 2)
[permalink]
 
Average Rating: 10.0 (4 votes)  
Rate this item:
 
MOPT
  MOPT,STAT,ALL
Shows ALL meshing controls available to user
[permalink]
 
No rating yet  
Rate this item:
 
MOPT
  MOPT,TSMO,OFF
Turns off smoothing if errors cause mesh smoothing failure [5.3]
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
MOPT
  MOPT,LSMO,ON
Turns on line smoothing option [off by default at 5.3]. Causes locations of nodes on the boundary to be optimized as part of the smoothing option.
[permalink]
 
No rating yet  
Rate this item:
 
MOPT
  MOPT,VSSM,OFF
Below describes an option for controlling "node relaxation" when using the VSWEEP command. This is needed when using VSWEEP with volumes that are axisymmetric, where you might have previously used VROT. The purpose of this option is to ensure that the nodes on opposite sides of the volume are positioned with identical radial and axial coordinates. When you create couples for cyclic symmetry, your nodes will match up precisely.
By default node relaxation is turned on. If you see that the source and target area are identical, you can issue the command.
If you have it turned off and you try to sweep a volume that changes in cross section, then you'll probably get bad quality elements. [command available in 5.5.1 and above]
[permalink]
 
Average Rating: 7.5 (4 votes)  
Rate this item:
 
NBETWEEN
  NBETWEEN,n1,n2,nnew,type,value
identical to KBETWEEN - generates a node between two other nodes
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
NLIST
  NLIST,all,,,xyz
Shows more significant digits for node listings.
[permalink]
 
Average Rating: 10.0 (4 votes)  
Rate this item:
 
NUMCMP
  NUMCMP,NODE,EORD
NUMCMP,ELEM,ELEM
These commands will cause the nodes and elements to be renumbered, after compression, to match the sequence in which they will be processed by the solver. This should be done after the WAVE command to (a) put the nodes in the element order and (b) put the elements in the new order.
[permalink]
 
Average Rating: 10.0 (5 votes)  
Rate this item:
 
P
  P,node1,node2,value,,,,node3,node4
Applies pressure of "value" to element face defined by node1-node4. An alternative to SF command since this command does not require selection of nodes and element faces prior.
[permalink]
 
Average Rating: 10.0 (3 votes)  
Rate this item:
 
SMDT
  SMDT,option,value
Change tolernace for solid modeling conditions. Affects all solid modeling operations, so be careful when using these values.
List of options:
1 - Tolerance for tesselation
2 - Tolerance for line on line
3 - Approx. tolerance
4 - Tolerance for point coincidence (default 1e-5 or 1e-4 -- e.g., can make tighter to very small dimensions)
5 - Tolerance for NURBS knot coincidence (default 1e-7, may be difficult to use)
6 - Tolerance for angle (default 1e-6, may be difficult to use)
7 - Machine precision tolerance
...up to 17...

[permalink]
 
Average Rating: 8.0 (5 votes)  
Rate this item:
 
SPLOT
  SPLOT,area_min,area_max,area_inc,mesh
where 'area_min' is beginning area number, 'mesh' is the amount of lines to put on the surface (like a wireframe tesselation). I think this 'mesh' argument is what J. Crawford referred to as 'contour lines'. (That's a better description, actually) [6.0]

By default, if you just issue SPLOT with no arguments, it plots all surfaces with a 'surface mesh density' (wireframe tessellation density) of 4, I think.

Plot surfaces ANSYS uses for basis for geometric areas (similar to surface/face analogy in CADfix); works in 5.4 but will cause 5.5-5.7.0 to crash. Reintroduced at 5.7.1 and 6.0.

With the improvements to the solid modeling capabilities in ANSYS 6.0, the SPLOT command became more relevant in detecting potential problems with geometry.


[permalink]
 
Average Rating: 10.0 (4 votes)  
Rate this item:
 
TB,OGDEN
  TB,OGDEN
Ogden Hyperelastic Material
similar to *MOONEY for Ogden constitutive law for HYPER56, 58, & 74.
[STI: Ogden material is available for 18x family of elements at 5.7, so it is strongly recommended to use those elements instead.]
[permalink]
 
Average Rating: 8.9 (14 votes)  
Rate this item:
 
TB,PRONY
  For TB,PRONY, up to 10 pairs of constants can be input. [The documentation mentions only up to 6 pairs of constants for TB,PRONY.]
[STI: At 10.0, up to 100 pairs can be used and is documented.]
[permalink]
 
Average Rating: 9.5 (10 votes)  
Rate this item:
 
TCHG
  TCHG, ELEM1, ELEM2, ETYPE2
Converts 20-node degenerate tets (e.g., SOLID95) to 10-node degenerate tets (e.g., SOLID92).
TCHG is documented in 5.5 and 5.6. It is undocumented but available at 5.4.
[permalink]
 
Average Rating: 10.0 (1 vote)  
Rate this item:
 
TEGEN
  TEGEN,inum,numincr,estart,eend,eincr
Generates/copies element temperatures.
inum is number of times to perform (>1)
numincr is element number increment
estart,eend,eincr is range of element numbers starting from estart to eend incremented by eincr (can use "all" for estart)
[permalink]
 
No rating yet  
Rate this item:
 
TGEN
  TGEN,inum,numincr,nstart,nend,nincr
Generates/copies nodal temperatures.
inum is number of times to perform (>1)
numincr is node number increment
nstart,nend,nincr is range of node numbers starting from nstart to nend incremented by nincr (can use "all" for nstart)
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
VEXT
  VEXT,NA1,NA2,NINC,DX,DY,DZ,RX,RY,RZ,spacing_ratio
Specifies spacing ratio in volume extrusion direction with "spacing_ratio" value. Specify number of divisions in extrusion direction with ESIZE,,ndiv.
[permalink]
 
Average Rating: 10.0 (2 votes)  
Rate this item:
 
VMER
  VMER,volu1,volu2,etc.
"Glues" volumes together. Same command as VGLUE. See VGLUE for details on the usage of this command.
[permalink]
 
Average Rating: 10.0 (3 votes)  
Rate this item: