Beruflich Dokumente
Kultur Dokumente
net: uf_inquiry
1 of 12
http://ansys.net/?mycat=uf_inquiry
inquiry functions
collections
input file library
macro library
tips & tricks
tech papers
undocumented
resources
ansys news
useful links
animation gallery
engineering
tools & utilities
material links
web resources
book references
a=ndinqr(0,14)
This will assign to parameter "a" the highest node number defined
in the model. Notice that the first argument is zero, and the second
argument is 14.
Here are the inquiry functions I am aware of.
general info
about this site
website updates
fea-nux blog
twitter
rss feed
17-07-2015 09:41
ansys.net: uf_inquiry
2 of 12
http://ansys.net/?mycat=uf_inquiry
Nodes
ndinqr(node,key)
node - node number, should be 0 for
key = 12, 13, 14
key - information needed
= 1, return select status:
= 12, return number of
defined nodes
= 13, return number of
selected nodes
= 14, return highest node
number defined
= -2, superelement flag
= -3, master degrees of
freedom bit pattern
= -4, active degrees of
freedom bit pattern
= -5, solid model
attachment
= -6, pack nodal line
parametric value
output arguments:
17-07-2015 09:41
ansys.net: uf_inquiry
3 of 12
http://ansys.net/?mycat=uf_inquiry
for key = 1
= 0, node is undefined.
= -1, node is unselected.
= 1, node is selected.
Element
elmiqr(ielem,key)
ielem - element number, should be zero
for key = 12, 13, or 14
key - information flag
= 1, return select status
= 12, return number of
defined elements
= 13, return number of
selected elements
= 14, return maximum
element number used
= -1, material number
= -2, type.
= -3, real.
= -4, element section ID
number
= -5, coordinate system
number
= -7, solid model reference
output arguments:
for key = 1
= 0, element is undefined
= -1, element is unselected
= 1, element is selected
Keypoints
kpinqr(kpid,key)
kpid - keypoint may be 0 for key = 12,
13, 14
key - information flag.
= 1, select
= 12, number of defined
= 13, number of selected
= 14, highest number
defined
= -1, material number
17-07-2015 09:41
ansys.net: uf_inquiry
4 of 12
http://ansys.net/?mycat=uf_inquiry
= -2, type
= -3, real number
= -4, node number, if
meshed
= -7, element number, if
meshed
output arguments:
for key = 1
= -1, unselected
= 0, undefined
= 1, selected
Lines
lsinqr(lsid,key)
lsid - line segment for inquire may be 0
for key = 12, 13, 14
key - item to be returned
= 1, select status
= 2, length (in model units)
= 12 number of defined
= 13, number of selected
= 14, highest number
defined
= -1, material number
= -2, type
= -3, real number
= -4, number of nodes
= -5, esys number
= -6, number of elements
= -8, number of element
divs in existing mesh
= -9, keypoint 1
= -10, keypoint 2
= -15, section id
= -16, number of element
divs for next mesh
= -17, 0 = hard / 1 = soft
NDIV
= -18, 0 = hard / 1 = soft
SPACE
17-07-2015 09:41
ansys.net: uf_inquiry
5 of 12
http://ansys.net/?mycat=uf_inquiry
Area
arinqr(areaid,key)
areaid - area for inquiry, may be 0 for
key = 12, 13, 14
key - key to information needed about
the areaid
= 1, return select status
= 12, return number of
defined
= 13, return number of
selected
= 14, return highest
number defined
= -1, return material
= -2, return type
= -3, return real
= -4, return number of
nodes
= -6, return number of
elements
= -7, return pointer to area
in foreign db
= -8, return element shape
= -9, return mid-node
element key
= -10, return element
coordinate system
= -11, return area
constraint information
output arguments:
for key = 1
= 0, areaid is undefined
= -1, areaid is unselected
= 1, areaid is selected
for key = - 11
= 0, no constraint on this
area
= 1, symmetry constraint
= 2, anti-symmetry
= 3, both symmetry and
anti-symmetry
17-07-2015 09:41
ansys.net: uf_inquiry
6 of 12
http://ansys.net/?mycat=uf_inquiry
Volumes
vlinqr(vnmi,key)
vnmi - volume for inquiry, may be 0 for
key = 12, 13, 14
key - information flag
= 1, return select status
= 12, return number of
defined
= 13, return number of
selected
= 14, return highest
number defined
= -1, material
= -2, type
= -3, real
= -4, number of nodes
= -6, number of elements
= -8, element shape
= -9, mid-node element key
= -10, element coordinate
system
output arguments:
for key = 1
= 0, node is undefined
= -1, node is unselected
= 1, node is selected
= 0, real constant table is
undefined.
= -1, real constant table is
unselected.
= 1, real constant table is
selected
Element
Type
etyiqr(itype,key)
itype - element type number, should be
0 for key = 12 and 14
key - item to be returned
= 1, return select status:
= 12, return number of
defined element types
17-07-2015 09:41
ansys.net: uf_inquiry
7 of 12
http://ansys.net/?mycat=uf_inquiry
rlinqr(nreal,key)
nreal - real constant table number,
should be 0 for key = 12, 13, 14
key - information flag
= 1, select status
= 12, number of defined
real constant tables
= 13, number of selected
real constant tables
= 14, highest real constant
table defined
output arguments:
for key = 1
= 0, real constant table is
undefined.
= -1, real constant table is
unselected.
= 1, real constant table is
selected
Section
Table
sectinqr(nsect,key)
nsect - section id table number, should
be 0 for key = 12, 13, 14
key - information flag
= 1, select status
= 12, return number of
defined section id tables
17-07-2015 09:41
ansys.net: uf_inquiry
8 of 12
http://ansys.net/?mycat=uf_inquiry
mpinqr(mat,iprop,key)
mat - material number, should be 0 for
key = 12 and 14
iprop - property reference number
iprop = 0, test for existence of any
material property with this material
number (with key = 1)
key - key as to the information needed
about material property
= 1, return select status:
= 12, number of defined
material properties
= 14, highest material
property number defined
output arguments:
for key = 1, iprop = 0 (test for
existence of any material property with
this material number)
EX = 1, EY = 2, EZ = 3,
NUXY = 4, NUYZ = 5, NUXZ
= 6, GXY = 7, GYZ = 8,
GXZ = 9, ALPX = 10, ALPY
= 11, ALPZ = 12, DENS =
13, MU =14, DAMP = 15,
KXX = 16, KYY = 17, KZZ =
18, RSVX = 19, RSVY = 20,
RSVZ = 21, C = 22, HF
=23, VISC = 24, EMIS =
25, ENTH = 26, LSST = 27,
PRXY = 28, PRYZ = 29,
PRXZ = 30, MURX = 31,
17-07-2015 09:41
ansys.net: uf_inquiry
9 of 12
http://ansys.net/?mycat=uf_inquiry
17-07-2015 09:41
ansys.net: uf_inquiry
10 of 12
http://ansys.net/?mycat=uf_inquiry
cpinqr(cpid,key)
cpid - coupled set number
key - inquiry key, should be zero for
key = 12, 13, 14
= 1, return select status
= 12, return number of
defined coupled sets
= 13, return number of
selected coupled sets
= 14, return the number of
the highest numbered
coupled set
output arguments:
for key = 1
= 1, coupled set is selected
= 0, coupled set in
undefined
= -1, coupled set in
unseleted
Coordinate csyiqr(csysid,key)
System
csysid - coordinate system reference
number, should be zero for key = 12 or
14
key - information flag.
= 1, return status:
= 12, number of defined
coordinate systems
= 14, maximum coordinate
system reference number
used.
output arguments:
for key = 1
= 0, coordinate system is
not defined
= -1, coordinate system is
not selected
17-07-2015 09:41
ansys.net: uf_inquiry
11 of 12
http://ansys.net/?mycat=uf_inquiry
= 1, coordinate system is
selected
Warning
and Error
Messages
erinqr(key)
17-07-2015 09:41
ansys.net: uf_inquiry
12 of 12
http://ansys.net/?mycat=uf_inquiry
all pages manually coded in PHP/MySQL & HTML/CSS with a text editor
utilizes (possibly valid) HTML 4.01, CSS 2.0, RSS 2.0, and OpenSearch 1.1
please note that this site makes use of cookies
site created & maintained by sheldon imaoka
ANSYS, ANSYS Workbench, Ansoft, AUTODYN, CFX, EKM, Engineering Knowledge Manager, FLUENT, HFSS and any and all ANSYS, Inc.
brand, product, service and feature names, logos and slogans are trademarks or registered trademarks of ANSYS, Inc. or its
subsidiaries located in the United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a
trademark of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property of their
respective owners.
17-07-2015 09:41