XANSYS Forum Index
    Register    

FAQ    Search    Memberlist    Usergroups    SmartFeedSmartFeed    Profile    Log in
[Xansys] [APDL] ???iqr
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XANSYS Forum Index -> XANSYS
Author Message
peter.eisentr-ger
User


Joined: 21 Oct 2008
Posts: 44

PostPosted: Tue Oct 28, 2008 1:32 am  Reply with quote

Hello all,

I was sure I stored the information about "elmiqr" commands and its brothers and sisters where I would find it if needed. But, no trace. Can anybody help me and provide information about that commands?

Kind regards

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205


________________________________
Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
View user's profile Send private message
simon.english
User


Joined: 21 Oct 2008
Posts: 7
Location: Gateshead, England

PostPosted: Tue Oct 28, 2008 2:03 am  Reply with quote

Peter,

Please find below some information on inquiry functions:

Useful Inquiry Functions
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:
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
= -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

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

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
= 14, return highest element type number defined
output arguments:
for key = 1
= 0, element type is undefined
= -1, element type is unselected
= 1, element type is selected

Real Constants 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
= 13, return number of selected section id tables
= 14, return highest section id table defined
output arguments:
for key = 1
= 0, section id table is undefined.
= -1, section id table is unselected.
= 1, section id table is selected

Materials 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, MURY = 32, MURZ = 33, PERX = 34, PERY = 35, PERZ = 36, MGXX = 37, MGYY = 38, MGZZ = 39, EGXX = 40, EGYY = 41, EGZZ = 42, TGXX = 43, TGYY = 44, TGZZ = 45, SONC = 46, SLIM = 47, ELIM = 48, ORTH = 54, CABL = 55, RIGI = 56, HGLS = 57, BM = 58, QRAT = 59, REFT = 60, PLAS = 61, CREE = 62, FAIL = 63, BH = 64, PIEZ = 65, SWEL = 66, WATE = 67, CONC = 68, PFLO = 69, ANEL = 70, ACOU = 71, EVIS = 72, USER = 73, NL = 74, HYPE = 75, NNEW = 76, MOON = 77, OGDE = 78, SUTH = 79, WIND = 80
for key = 1 (otherwise)
= 0, material prop is undefined
= 1, material prop is selected

Constraint Equations ceinqr(ceid,key)
ceid - constraint equation number
key - inquiry key, should be zero for key = 12, 13, 14
= 1, return select status
= 1, equation is selected
= 0, equation is undefined
= -1, equation is unselected
= 12, return number of defined constraint equations
= 13, return number of selected constraint equations
= 14, return number of highest numbered constraint equation defined
= -1, return master degrees of freedom for this equation

Couples 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 System csyiqr(csysid,key)
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
= 1, coordinate system is selected

Warning and Error Messages erinqr(key)
key - item to be returned
= 3, total number of notes displayed
= 4, total number of warnings displayed
= 5, total number of errors displayed
= 6, total number of fatals displayed

Regards,
Simon English
Senior Mechanical Engineer
Doosan Babcock Energy Limited
Baltic Business Centre, Saltmeadows Road, Gateshead,Tyne & Wear NE8 3DA

Tel (direct) + 44 (0) 191 4788264
Fax + 44 (0) 191 4788259
P Please consider the environment before printing this e-mail or its attachment(s)
Auto filing of emails: Please include Doosan Babcock Contract Number in Subject Box and cc to Gateshead Nuclear Services Mailbox --email address suppressed-- in your reply.
-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf Of Eisentraeger Peter
Sent: 28 October 2008 08:32
To: --email address suppressed--
Subject: [Xansys] [APDL] ???iqr

Hello all,

I was sure I stored the information about "elmiqr" commands and its brothers and sisters where I would find it if needed. But, no trace. Can anybody help me and provide information about that commands?

Kind regards

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205


________________________________
Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------


-------------------------------------------------------------
IMPORTANT NOTICE.

This E-Mail and any files transmitted with it, are confidential and may be
privileged and are for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s) please note that any form
of distribution, copying or use of this communication or the
information in it, is strictly prohibited and may be unlawful.

If you have received this E-Mail in error please return it to the sender.
We should be grateful if you would also copy the communication to
--email address suppressed-- the delete the E-Mail and destroy any
copies of it.

It is your responsibility to scan any attachments for viruses.

For further information, visit us at WWW.DOOSANBABCOCK.COM
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
View user's profile Send private message Visit poster's website
akbey.kalkan
User


Joined: 21 Oct 2008
Posts: 6

PostPosted: Tue Oct 28, 2008 2:35 am  Reply with quote

Jeroen Valensa's inquiry function matrix is the definitive reference.

http://ansys.net/tips/Inquiry_Matrix_Sheet_2005_10_11.pdf

or

http://www.padtinc.com/docs/lit/inquiry_sheet.pdf

Regards

--Akbey Kalkan
Jacobs Engineering UK

-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf
Of Eisentraeger Peter
Sent: 28 October 2008 08:32
To: --email address suppressed--
Subject: [Xansys] [APDL] ???iqr

Hello all,

I was sure I stored the information about "elmiqr" commands and its brothers
and sisters where I would find it if needed. But, no trace. Can anybody help
me and provide information about that commands?

Kind regards

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205


________________________________
Confidentiality Notice: This message and any files transmitted with it are
intended for the addressee only and may contain information that is
confidential or privileged. Unauthorised use or access is strictly prohibited
and may be unlawful. If you are not the intended addressee you must not read,
copy or disclose or otherwise use this message except for the purpose of
delivery to the addressee. If you have received this mail in error, please
notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing copying or distribution of, or reliance on this message by unintended recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
View user's profile Send private message
peter.eisentr-ger
User


Joined: 21 Oct 2008
Posts: 44

PostPosted: Tue Oct 28, 2008 3:00 am  Reply with quote

Victor, Simon, and Akbey,

You helped me out of trouble, thanks a lot :-))

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205

-----Ursprüngliche Nachricht-----
Von: --email address suppressed-- [mailto:--email address suppressed--] Im Auftrag von Kalkan, Akbey
Gesendet: Dienstag, 28. Oktober 2008 10:35
An: ANSYS User Discussion List
Betreff: Re: [Xansys] [APDL] ???iqr

Jeroen Valensa's inquiry function matrix is the definitive reference.

http://ansys.net/tips/Inquiry_Matrix_Sheet_2005_10_11.pdf

or

http://www.padtinc.com/docs/lit/inquiry_sheet.pdf

Regards

--Akbey Kalkan
Jacobs Engineering UK

-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf
Of Eisentraeger Peter
Sent: 28 October 2008 08:32
To: --email address suppressed--
Subject: [Xansys] [APDL] ???iqr

Hello all,

I was sure I stored the information about "elmiqr" commands and its brothers
and sisters where I would find it if needed. But, no trace. Can anybody help
me and provide information about that commands?

Kind regards

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205


________________________________
Confidentiality Notice: This message and any files transmitted with it are
intended for the addressee only and may contain information that is
confidential or privileged. Unauthorised use or access is strictly prohibited
and may be unlawful. If you are not the intended addressee you must not read,
copy or disclose or otherwise use this message except for the purpose of
delivery to the addressee. If you have received this mail in error, please
notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing copying or distribution of, or reliance on this message by unintended recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------


Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821

^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
View user's profile Send private message
danbohlen
User


Joined: 18 Aug 2008
Posts: 951
Location: Evendale OH

PostPosted: Wed Oct 29, 2008 10:28 am  Reply with quote

Maybe a go time to repost some undocumented commands....

*******************************************************************************

* WRITE OUT ELEMENT TYPE AND REAL CONSTANT TABLES TO A FILE

You can write out the element type and real constant tables to separate files
by using ETWRITE and RWRITE. ETWRITE creates a file called "jobname.etyp"
and RWRITE creates a file called "jobname.real".

* QUICKLY GENERATE A NODE BETWEEN TWO OTHER NODES

There is an undocumented command called NBETWEEN which is identical to the
documented command KBETWEEN. NBETW will generate a node between two other
nodes using the following arguments.

NBETWEEN,n1,n2,nnew,type,value

where: n1=first node
n2=second node
nnew=new node number
type=ratio for ratio, dist for distance
value=numerical value for ratio or distance

This command is similar to the KBETW command. Refer to the documentation for
KBETW for more information.

* GET THE NUMBER OF THE GEOMETRY ENTITY YOU JUST MADE

There is an undocumented command called "_return" which will yield the number
of the geometry entity you just made. This is handy for macros. Here is an
example of it's use.

bspline,3,5,7
a=_return

In this case, if the BSPLINE command made line 13, then a would be assigned
the value of 13. This works for almost all the geometry commands available
in ANSYS. (However, ANSYS 5.3 does not support _return for the L command.
This has been fixed in ANSYS 5.4.)


* PROJECT A LINE ONTO AN AREA

There is an undocumented command called "lspa" which will sometimes project
a line onto an area. The usage appears to be as follows.

lspa,line,area

It appears that the line must be directly over the area, and the area needs
to be flat. I haven't used this command very much, and your experiences
with it would be helpful to all of us. Call me or e-mail me with your
comments. (John Crawford, 231-2176)

* CREATE AREAS WITH HOLES IN THEM

ANSYS has an undocumented command for creating areas with holes in them.
It's called "allp" and supports up to 4 internal loops and one external
loop. Here's how to use it.

allp,3,1,3,4,7,11,14,6,8,9

where 3=the number of total loops (one external, two internal) and the other
numbers are the line numbers in random order, but continuous for each loop.
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. The listing of the lines can be random within
each loop, but each loop must be grouped together.


* MAKE ANSYS TAKE BAD ELEMENT SHAPES

Using solve,,,,,noch will force ANSYS to run an analysis without an error
for poorly shaped elements. It is assumed that the user is able to determine
that this is appropriate for his situation.


* MORE SIGNIFICANT DIGITS FOR NLIST AND KLIST

Using XYZ in the Lcoord argument in NLIST and KLIST will result in ANSYS
listing the node and keypoint coordinates with more significant digits.
Examples: nlist,all,,,xyz klis,all,,,xyz


* GET THE INFO ON THE MESHING CONTROLS

If you REALLY want to know all the meshing controls available to you what the
current setting are, use MOPT,STAT,ALL to list everything that ANSYS uses to
control mesh generation. To the best of my knowledge, all of these are
arguments which can be set using MOPT.


* WRITING RESULT INFORMATION

If you want to control where and if ANSYS writes the results, use the
following command at the BEGIN level.

/CONFIG,NOELDBW,1 do not write results to .db file, only .rst
/CONFIG,NOELDBW,2 do not write results to .rst file, only .db
/CONFIG,NOELDBW,3 do not write results to either .rst or .db files


* GET FUNCTIONS FOR THE SLOPE OF A LINE

If you need to get the slope of a line, there are undocumented get functions
which will give this to you.

LSX(line number,unit distance)
LSY(line number,unit distance)
LSZ(line number,unit distance)

Examples: a=lsx(179,0) will assign the X direction slope of line 179 at
the first keypoint location to parameter "a".

b=lsz(23,.6) will assign the Z direction slope at a position
which is 60% along the length of line 23 to
parameter "b".


* KEYPOINT ROTATION ANGLES

Have you ever noticed that when you list keypoint coordinates that ANSYS lists
the keypoints and their rotation angles? Have you ever seen rotation angles
used in keypoint commands? Probably not. But, they are there in undocumented
form. The original plan was to allow the rotation of keypoints so the nodes
generated on a line which has both keypoints rotated will be generated with
a similar amount of nodal rotation. This is handy when automating the
construction of models which require rotated nodes. As you might guess, there
is a set of commands (undocumented, of course) which all the user to rotate
keypoints, manipulate them, and so forth.

KROT command to rotate keypoints similar to NROT
/PSYM,NDIR,1 will also turn on keypoint coordinate system symbols
CDREAD and CDWRITE both support rotated keypoints
















-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf Of Eisentraeger Peter
Sent: Tuesday, October 28, 2008 6:00 AM
To: ANSYS User Discussion List
Subject: Re: [Xansys] [APDL] ???iqr

Victor, Simon, and Akbey,

You helped me out of trouble, thanks a lot :-))

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205

-----Ursprüngliche Nachricht-----
Von: --email address suppressed-- [mailto:--email address suppressed--] Im Auftrag von Kalkan, Akbey
Gesendet: Dienstag, 28. Oktober 2008 10:35
An: ANSYS User Discussion List
Betreff: Re: [Xansys] [APDL] ???iqr

Jeroen Valensa's inquiry function matrix is the definitive reference.

http://ansys.net/tips/Inquiry_Matrix_Sheet_2005_10_11.pdf

or

http://www.padtinc.com/docs/lit/inquiry_sheet.pdf

Regards

--Akbey Kalkan
Jacobs Engineering UK

-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf Of Eisentraeger Peter
Sent: 28 October 2008 08:32
To: --email address suppressed--
Subject: [Xansys] [APDL] ???iqr

Hello all,

I was sure I stored the information about "elmiqr" commands and its brothers and sisters where I would find it if needed. But, no trace. Can anybody help me and provide information about that commands?

Kind regards

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205


________________________________
Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing copying or distribution of, or reliance on this message by unintended recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------


Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821

^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

Post generated using Mail2Forum (http://www.mail2forum.com)
_________________
Dan Bohlen
Senior Staff Engineer
GE Aircraft Engines
Back to top
View user's profile Send private message
danbohlen
User


Joined: 18 Aug 2008
Posts: 951
Location: Evendale OH

PostPosted: Wed Oct 29, 2008 10:50 am  Reply with quote

Probably much or all of this is included on the past posting, but here 'tis......

> The other day I was interested in what the slope was at the
> end of a line, and thought there must be a way to get this
> information out of ANSYS. A look through the *GET command
> options showed that this information was not available. I
> asked a few people at ANSYS Inc. how I could get this
> information, and was told that there are undocumented "get
> functions" which yields this information. (In case you're
> wondering what a "get function" is, see the last section of
> the help listing for the *GET command.) Here's how to use
> this information.

> The get functions are as follows.

> lsx(line number, unit distance)
> lsy(line number, unit distance)
> lsz(line number, unit distance)

> The line number argument is obvious. The unit distance
> argument is the length along the line where the slope is to
> be given. So, for the first keypoint on a line, the unit
> distance is 0. For the second keypoint on a line, the
> unit distance is 1. An obvious benefit of this is that you
> can get the slope at any location along a line.

> These commands must be used as input to a command. Here are
> a few examples.

> a=lsx(179,0) will assign the x direction slope of line
> 179 at the first keypoint location to
> parameter a.

> b=lsz(23,.6) assigns the z direction slope at a location
> which is 60% along the length of line 23 to
> parameter b.

> Here's a an example of using this in a macro.

> ln=5
> *msg,info,ln,lsy(ln,0),lsy(ln,.5),lsy(ln,1)
> Y Direction Slope of Line %i are %/ &
> At beginning DY = %g %/ At middle Dy = %g %/ &
> At end DY= %g

> The ability to get the slope at any location along a line might
> be helpful to you. The fact that this capability is present but
> undocumented makes me wonder how many other capabilities are
> hidden inside ANSYS. If I'm able to dig up any more I'll let
> you know.

> By the way, here's a macro which will list the slopes at the
> beginnning, middle, and end of a line.


> /nopr
> !
> ! angl.mac a macro to list the slopes of a line at each end
> !
> ! arg1=line number
> !
> *get,arg11,line,arg1,kp,1
> *get,arg12,line,arg1,kp,2
> *msg,info,arg1,arg11,arg12
> Line Number = %i KP1 = %i KP2 = %i
> *msg,info,arg11,lsx(arg1,0),lsy(arg1,0),lsz(arg1,0)
> At KP %i DX = %g DY = %g DZ = %g
> *msg,info,lsx(arg1,.5),lsy(arg1,.5),lsz(arg1,.5)
> At Midpoint DX = %g DY = %g DZ = %g
> *msg,info,arg12,lsx(arg1,1),lsy(arg1,1),lsz(arg1,1)
> At KP %i DX = %g DY = %g DZ = %g
> !
> /gopr


***
data ftab1/ 'LOG10 ','ABS ','SQRT ','EXP ',
x 'LOG ','SIN ','COS ',
x 'TAN ','ASIN ','ACOS ','ATAN ','SINH ',
x 'COSH ','TANH ','ATN ','NINT ','ATAN2 ',
x 'RAND ','GDIS ','NX ','NY ','NZ ',
x 'KX ','KY ','KZ ','NELEM ','LX ',
x 'LY ','LZ ','NODE ','KP ','ESEL ',
x 'NSEL ','NDNEXT ','ELNEXT ','KPNEXT ','LSNEXT ',
x 'ARNEXT ','VLNEXT ','DISTND ','DISTKP ','AREAND ',
x 'AREAKP ','NORMNX ','NORMNY ','NORMNZ ','NORMKX ',
x 'NORMKY ','NORMKZ ','NDFACE ','CENTRX ','CENTRY ',
x 'CENTRZ ','NMFACE ','KNEAR ','NNEAR ','ENEARN ',
x 'LWCASE ','ARFACE ','DISTEN ','ARNODE ','NDINQR ',
x 'ELMIQR ','KPINQR ','LSINQR ','ARINQR ','VLINQR ',
x 'ELADJ ','ENEXTN ','RLINQR ','MPINQR ','GAPIQR ',
x 'MASIQR ','CEINQR ','CPINQR ','CSYIQR ','ETYIQR ',
x 'DISIQR ','FORIQR ','WRINQR ','RDINQR ','DGET ',
x 'FGET ','KSEL ','LSEL ','ASEL ','VSEL ',
x 'LSX ','LSY ','LSZ ','ANGLEN ','ANGLEK ',
x 'VALCHR ','CHRVAL ','SIGN ','MOD ','UPCASE '/
data ftab2 / 'ERINQR ','DFINQR ','STKIQR ','HEPIQR ',
x 'STEPINQR','SOPTINQR','PS26INQR','OPTINQR ','CIRSRC ',
x 'CIROFFX ','CIROFFY ','CIROFFZ '/
data narg1/ 1 , 1 , 1 , 1 ,


3 *****
My investigations into some of the inner workings of ANSYS have yielded
paydirt. Here are some "inquire" commands which may prove helpful to
you. Most of these are documented in the ANSYS Programmer's Manual for
ANSYS 5.2. Since this manual is new (and may or not have been released)
I'll assume that you are unaware of this information, and will be
interested in having it. So, here goes.

Inquire functions are another name for the "get functions" which are
described at the end of the help documentation for the *GET command.
They are used by assigning their result to a variable or placing them
directly into a command. An example is shown below.

A=csyiqr(0,14) will assign the highest coordinate sytem
number to A.

The arguments which are used between the parentheses are somewhat cryptic.
Here's a listing of the arguments as described in the Programmer's Manual,
along with one or two items which the manual does not mention. This
information is most appropriate for people who are writing macros and need
to get database information which is unavailable or difficult to get when
using the *GET command. I have played with a couple of these and they
worked okay. I haven't used all of them, and can't vouch for their
validity. Give them a try and see how they work.

Math Functions - *afun controls whether angular units are in
degrees or radians

These are described in the APDL Tutorial as math functions, but
can also be used as "get functions".

LOG10(x)
ABS(x)
SQRT(x)
EXP(x)
LOG(x)
SIN(x)
COS(x)
TAN(x)
ASIN(x)
ACOS(x)
ATAN(x)
SINH(x)
COSH(x)
TANH(x)
ATN(x)
NINT(x)
ATAN2(x,y) arctan of (y/x) considering their signs
RAND(min,max) random number between min and max
GDIS(x,y) random sample of a gaussian distribution

Direction vectors for lines - information available at any location
along the line. Distance along line is defined by a distance factor
which varies from 0.0 at KP1 to 1.0 at KP2.

LSX(line,distance factor)
LSY(line,distance factor)
LSZ(line,distance factor)


NDINQR(node,key) NODE INFORMATION
input arguments:
variable description
node - node for inquire. may be 0

key - key as to information needed about
the node.
key= 1, return select
key= 12 return number of defined
key= 13, return number of selected
key= 14, return highest number defined
output arguments:
variable description
ndinqr - for key=1 0=node is undefined.
-1=node is unselected.
1=node is selected.
for key ne 1 returned data is based
on setting of key.

ELMIQR(ielem,key) ELEMENT INFORMATION
input arguments:
variable description
ielem - element number for inquire.
may be 0
key - information flag.
= 1 - return select
= -1 - unselected
= 0 - undefined
= 1 - selected
= 12 - return number of defined
= 13 - return number of selected
= 14 - return highest number defined
= -1, material number
etc. (see elmcmx)
output arguments:
variable description
elmiqr - for key=1 0=element is undefined.
-1=element is unselected.
1=element is selected.
for key ne 1 returned data is based
on setting of key.

KPINQR(knmi,key) KEYPOINT INFORMATION
input arguments:
variable description
knmi - keypoints for inquire. may be 0 for
key=11 thru 15.
key - information flag.
= 1 - return select
= -1 - unselected
= 0 - undefined
= 1 - selected
= 12 - return number of defined
= 13 - return number of selected
= 14 - return highest number defined

= -1, material number
= -2, type
= -3, real number
= -4, node number, if meshed
= -6, esys number
= -7, element number, if meshed
output arguments:
variable description
kpinqr - for key=1 0=knmi is undefined.
-1=knmi is unselected.
1=knmi is selected.
for key ne 1 returned data is based
on setting of key.

LSINQR(lnmi,key) LINE INFORMATION
input arguments:
variable description
lnmi - line segment for inquire. may be 0 for
key=11 thru 15.
key (dp,sc,in) - key as to information needed about
the lnmi.
key= 12 return number of defined
key= 13, return number of selected
key= 14, return highest number defined
key= -1, material number
key= -2, type
key= -3, real number
key= -4, number of nodes
key= -5, esys number
key= -6, number of elemenets
key= -7,
key= -8, number of element divisions
key= -9, keypoint 1
key= -10, keypoint 2
output arguments:
variable description
lsinqr - for key=1 0=lnmi is undefined.
-1=lnmi is unselected.
1=lnmi is selected.
for key ne 1 returned data is based
on setting of key.

ARINQR(anmi,key) AREA INFORMATION
input arguments:
variable description
anmi - area for inquire. may be 0 for
key=11 thru 15.
key (dp,sc,in) - key as to information needed about
the anmi.
key= 1, return select
key= 12 return number of defined
key= 13, return number of selected
key= 14, return highest number defined
key= -1, material
key= -2, type.
key= -3, real.
key= -4, number of nodes.
key= -5,
key= -6, number of elements.
key= -7,
key= -8, element shape.
key= -9, mid-node element key.
key= -10, element coordinate system.
key= -11, area constraint information.
= 0 - no constraint on this area.
= 1 - symmetry constraint.
= 2 - anti-symmetry
= 3 - both symmetry and anti-symmetry
output arguments:
variable description
arinqr - for key=1 0=anmi is undefined.
-1=anmi is unselected.
1=anmi is selected.
for key ne 1 returned data is based
on setting of key.

VLINQR(volume,key) VOLUME INFORMATION
input arguments:
variable description
vnmi - volume for inquire. may be 0 for
key=11 thru 15.
key (dp,sc,in) - key as to information needed about
the vnmi.
key= 1, return select
key= 12 return number of defined
key= 13, return number of selected
key= 14, return highest number defined
key= -1, material
key= -2, real.
key= -3, type.
key= -4, number of nodes.
key= -5,
key= -6, number of elements.
key= -7,
key= -8, element shape.
key= -9, mid-node element key.
key= -10, element coordinate system.
output arguments:
variable description
vlinqr - for key=1 0=vnmi is undefined.
-1=vnmi is unselected.
1=vnmi is selected.
for key ne 1 returned data is based
on setting of key.

RLINQR(real,key) REAL CONSTANT INFORMATION
input arguments:
variable description
nreal - real constant table number for inquire

key - information flag.
= 1 - return select
= -1 - unselected
= 0 - undefined
= 1 - selected
= 12 - return number of defined
= 13 - return number of selected
= 14 - return highest number defined
output arguments:
variable description
rlinqr - returned data is based
on setting of key.

MPINQR(mat,iprop,key) MATERIAL PROPERTY INFORMATION
input arguments:
variable description
mat - material number for inquire.
may be 0 for key=11 thru 15
iprop - property number
key - key as to the information needed
about material property.
key= 1, return select
key= 3, return number of temp. values
key= 12 return number of defined
key= 13, return number of selected
key= 14, return highest number defined
output arguments:
variable description
mpinqr - for key=1 0=material is undefined.
-1=material is unselected.
1=material is selected.
for key ne 1 returned data is based
on setting of key.

GAPIQR(ngap,key) GAP INFORMATION
input arguments:
ngap - gap number for inquire.
(must be zero for now)
key - key as to the information needed
key= 1, return select
key= 12 return number of defined
key= 13, return number of selected
key= 14, return highest number defined
output arguments:
gapiqr - returned data is based
on setting of key.

MASIQR(node,key) MASTER DEGREE OF FREEDOM INFORMATION
input arguments:
variable description
node - node number for inquire.
(must be zero for now)
key - key as to the information needed
key= 1, return select
key= 12 return number of defined
key= 13, return number of selected
key= 14, return highest number defined
output arguments:
variable description
masiqr - returned data is based
on setting of key.

CEINQR(nce,key) CONSTRAINT EQUATION INFORMATION
input arguments:
nce - constraint equation number
key - inquiry key:
- 1, return select -1,unsel 0,undef 1,sel
- 12 return number of defined
- 13, return number of selected
- 14, return highest number defined
- -1, return master dof for this eqn
output arguments:
variable description
ceinqr - information selected by key

CPINQR(nce,key) COUPLED SET INFORMATION FOR SETS OF COUPLED NODES
input arguments:
variable description
nce - coupled set number
key - 1, return select -1,unsel 0,undef 1,sel
- 12 return number of defined
- 13, return number of selected
- 14, return highest number defined
output arguments:
variable description
cpinqr - information requested by key for set nce

CSYIQR(ncsys,key) COORDINATE SYSTEM INFORMATION
input arguments:
variable description
ncsy - coordinate system number
key - pointer to data needed. see "vminqr"
for documentation.
output arguments:
variable description
csyiqr - data requested by setting of "key"

ETYIQR(etype,key) ELEMENT TYPE INFORMATION
input arguments:
variable description
itype - element type number for operation.
(may be 0 for key=11 thru 15.)
key - information flag.
= 1 - return select
= -1 - unselected
= 0 - undefined
= 1 - selected
= 12 - return number of defined
= 13 - return number of selected
= 14 - return highest number defined
output arguments:
variable description
etyiqr - for key=1 0=element type is undefined.
-1=element type is unselected.
1=element type is selected.
for key ne 1 returned data is based
on setting of key.

FORIQR(node,key) FORCE INFORMATION
input arguments:
variable description
node - node number for inquire.
key - key as to the information needed
key= 1, return force mask for node
key= 14, return highest number defined
output arguments:
variable description
foriqr - returned data is based
on setting of key.

DGET(node,idof,kcmplx) DISPLACEMENT INFORMATION
input arguments:
node - node number
idf - pointer to the dof (1-32)
(see dofcom)
1 =ux, 2 =uy, 3 =uz
4 =rotx, 5 =roty, 6 =rotz
7 =ax, 8 =ay, 9 =az
10=vx, 11=vy, 12=vz
13-18=spares
19=pres, 20=temp, 21=volt
22=mag, 23=enke, 24=ends,
25=emf, 26=curr 27-32 spares
kcmplx - 0,real 1,imaginary 2,3- old values
output arguments:
dget (dp,sc,out) - constraint value
(- HUGE if undefined)

FGET(node,idof,kcmplx) MORE FORCE INFORMATION.....
function fget (node,idf,kcmplx)
input arguments:
node - node number
idf - pointer to the dof (1-32)
1 =ux, 2 =uy, 3 =uz
4 =rotx, 5 =roty, 6 =rotz
7 =ax, 8 =ay, 9 =az
10=vx, 11=vy, 12=vz
13-18=spares
19=pres, 20=temp, 21=volt
22=mag, 23=enke, 24=ends,
25=emf, 26=curr 27-32 spares
kcmplx - 0,real 1,imaginary 2,3- old values
output arguments:
fget (dp,sc,out) - force value
(- HUGE if undefined)

-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf Of Eisentraeger Peter
Sent: Tuesday, October 28, 2008 6:00 AM
To: ANSYS User Discussion List
Subject: Re: [Xansys] [APDL] ???iqr

Victor, Simon, and Akbey,

You helped me out of trouble, thanks a lot :-))

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205

-----Ursprüngliche Nachricht-----
Von: --email address suppressed-- [mailto:--email address suppressed--] Im Auftrag von Kalkan, Akbey
Gesendet: Dienstag, 28. Oktober 2008 10:35
An: ANSYS User Discussion List
Betreff: Re: [Xansys] [APDL] ???iqr

Jeroen Valensa's inquiry function matrix is the definitive reference.

http://ansys.net/tips/Inquiry_Matrix_Sheet_2005_10_11.pdf

or

http://www.padtinc.com/docs/lit/inquiry_sheet.pdf

Regards

--Akbey Kalkan
Jacobs Engineering UK

-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf Of Eisentraeger Peter
Sent: 28 October 2008 08:32
To: --email address suppressed--
Subject: [Xansys] [APDL] ???iqr

Hello all,

I was sure I stored the information about "elmiqr" commands and its brothers and sisters where I would find it if needed. But, no trace. Can anybody help me and provide information about that commands?

Kind regards

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205


________________________________
Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing copying or distribution of, or reliance on this message by unintended recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------


Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821

^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

Post generated using Mail2Forum (http://www.mail2forum.com)
_________________
Dan Bohlen
Senior Staff Engineer
GE Aircraft Engines
Back to top
View user's profile Send private message
peter.eisentr-ger
User


Joined: 21 Oct 2008
Posts: 44

PostPosted: Mon Nov 03, 2008 6:02 am  Reply with quote

On ansys.net I found ETWRITE, RWRITE, CEWRITE, CPWRITE and but not MPWRITE.

The new things you mentioned should be collected at ansys.net too.
----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205


-----Ursprüngliche Nachricht-----
Von: --email address suppressed-- [mailto:--email address suppressed--] Im Auftrag von Bohlen, Dan (GE Infra, Aviation, US)
Gesendet: Mittwoch, 29. Oktober 2008 18:28
An: ANSYS User Discussion List
Betreff: Re: [Xansys] [APDL] ???iqr

Maybe a go time to repost some undocumented commands....

*******************************************************************************

* WRITE OUT ELEMENT TYPE AND REAL CONSTANT TABLES TO A FILE

You can write out the element type and real constant tables to separate files
by using ETWRITE and RWRITE. ETWRITE creates a file called "jobname.etyp"
and RWRITE creates a file called "jobname.real".

* QUICKLY GENERATE A NODE BETWEEN TWO OTHER NODES

There is an undocumented command called NBETWEEN which is identical to the
documented command KBETWEEN. NBETW will generate a node between two other
nodes using the following arguments.

NBETWEEN,n1,n2,nnew,type,value

where: n1=first node
n2=second node
nnew=new node number
type=ratio for ratio, dist for distance
value=numerical value for ratio or distance

This command is similar to the KBETW command. Refer to the documentation for
KBETW for more information.

* GET THE NUMBER OF THE GEOMETRY ENTITY YOU JUST MADE

There is an undocumented command called "_return" which will yield the number
of the geometry entity you just made. This is handy for macros. Here is an
example of it's use.

bspline,3,5,7
a=_return

In this case, if the BSPLINE command made line 13, then a would be assigned
the value of 13. This works for almost all the geometry commands available
in ANSYS. (However, ANSYS 5.3 does not support _return for the L command.
This has been fixed in ANSYS 5.4.)


* PROJECT A LINE ONTO AN AREA

There is an undocumented command called "lspa" which will sometimes project
a line onto an area. The usage appears to be as follows.

lspa,line,area

It appears that the line must be directly over the area, and the area needs
to be flat. I haven't used this command very much, and your experiences
with it would be helpful to all of us. Call me or e-mail me with your
comments. (John Crawford, 231-2176)

* CREATE AREAS WITH HOLES IN THEM

ANSYS has an undocumented command for creating areas with holes in them.
It's called "allp" and supports up to 4 internal loops and one external
loop. Here's how to use it.

allp,3,1,3,4,7,11,14,6,8,9

where 3=the number of total loops (one external, two internal) and the other
numbers are the line numbers in random order, but continuous for each loop.
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. The listing of the lines can be random within
each loop, but each loop must be grouped together.


* MAKE ANSYS TAKE BAD ELEMENT SHAPES

Using solve,,,,,noch will force ANSYS to run an analysis without an error
for poorly shaped elements. It is assumed that the user is able to determine
that this is appropriate for his situation.


* MORE SIGNIFICANT DIGITS FOR NLIST AND KLIST

Using XYZ in the Lcoord argument in NLIST and KLIST will result in ANSYS
listing the node and keypoint coordinates with more significant digits.
Examples: nlist,all,,,xyz klis,all,,,xyz


* GET THE INFO ON THE MESHING CONTROLS

If you REALLY want to know all the meshing controls available to you what the
current setting are, use MOPT,STAT,ALL to list everything that ANSYS uses to
control mesh generation. To the best of my knowledge, all of these are
arguments which can be set using MOPT.


* WRITING RESULT INFORMATION

If you want to control where and if ANSYS writes the results, use the
following command at the BEGIN level.

/CONFIG,NOELDBW,1 do not write results to .db file, only .rst
/CONFIG,NOELDBW,2 do not write results to .rst file, only .db
/CONFIG,NOELDBW,3 do not write results to either .rst or .db files


* GET FUNCTIONS FOR THE SLOPE OF A LINE

If you need to get the slope of a line, there are undocumented get functions
which will give this to you.

LSX(line number,unit distance)
LSY(line number,unit distance)
LSZ(line number,unit distance)

Examples: a=lsx(179,0) will assign the X direction slope of line 179 at
the first keypoint location to parameter "a".

b=lsz(23,.6) will assign the Z direction slope at a position
which is 60% along the length of line 23 to
parameter "b".


* KEYPOINT ROTATION ANGLES

Have you ever noticed that when you list keypoint coordinates that ANSYS lists
the keypoints and their rotation angles? Have you ever seen rotation angles
used in keypoint commands? Probably not. But, they are there in undocumented
form. The original plan was to allow the rotation of keypoints so the nodes
generated on a line which has both keypoints rotated will be generated with
a similar amount of nodal rotation. This is handy when automating the
construction of models which require rotated nodes. As you might guess, there
is a set of commands (undocumented, of course) which all the user to rotate
keypoints, manipulate them, and so forth.

KROT command to rotate keypoints similar to NROT
/PSYM,NDIR,1 will also turn on keypoint coordinate system symbols
CDREAD and CDWRITE both support rotated keypoints
















-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf Of Eisentraeger Peter
Sent: Tuesday, October 28, 2008 6:00 AM
To: ANSYS User Discussion List
Subject: Re: [Xansys] [APDL] ???iqr

Victor, Simon, and Akbey,

You helped me out of trouble, thanks a lot :-))

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205

-----Ursprüngliche Nachricht-----
Von: --email address suppressed-- [mailto:--email address suppressed--] Im Auftrag von Kalkan, Akbey
Gesendet: Dienstag, 28. Oktober 2008 10:35
An: ANSYS User Discussion List
Betreff: Re: [Xansys] [APDL] ???iqr

Jeroen Valensa's inquiry function matrix is the definitive reference.

http://ansys.net/tips/Inquiry_Matrix_Sheet_2005_10_11.pdf

or

http://www.padtinc.com/docs/lit/inquiry_sheet.pdf

Regards

--Akbey Kalkan
Jacobs Engineering UK

-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf Of Eisentraeger Peter
Sent: 28 October 2008 08:32
To: --email address suppressed--
Subject: [Xansys] [APDL] ???iqr

Hello all,

I was sure I stored the information about "elmiqr" commands and its brothers and sisters where I would find it if needed. But, no trace. Can anybody help me and provide information about that commands?

Kind regards

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205


________________________________
Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing copying or distribution of, or reliance on this message by unintended recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------


Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821

^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------


Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821

^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
View user's profile Send private message
danbohlen
User


Joined: 18 Aug 2008
Posts: 951
Location: Evendale OH

PostPosted: Fri Nov 14, 2008 1:25 pm  Reply with quote

I don't own ansys.net you'd have to take that up with Sheldon.....

-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf Of Eisentraeger Peter
Sent: Monday, November 03, 2008 8:02 AM
To: ANSYS User Discussion List
Subject: Re: [Xansys] [APDL] ???iqr

On ansys.net I found ETWRITE, RWRITE, CEWRITE, CPWRITE and but not MPWRITE.

The new things you mentioned should be collected at ansys.net too.
----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205


-----Ursprüngliche Nachricht-----
Von: --email address suppressed-- [mailto:--email address suppressed--] Im Auftrag von Bohlen, Dan (GE Infra, Aviation, US)
Gesendet: Mittwoch, 29. Oktober 2008 18:28
An: ANSYS User Discussion List
Betreff: Re: [Xansys] [APDL] ???iqr

Maybe a go time to repost some undocumented commands....

*******************************************************************************

* WRITE OUT ELEMENT TYPE AND REAL CONSTANT TABLES TO A FILE

You can write out the element type and real constant tables to separate files
by using ETWRITE and RWRITE. ETWRITE creates a file called "jobname.etyp"
and RWRITE creates a file called "jobname.real".

* QUICKLY GENERATE A NODE BETWEEN TWO OTHER NODES

There is an undocumented command called NBETWEEN which is identical to the
documented command KBETWEEN. NBETW will generate a node between two other
nodes using the following arguments.

NBETWEEN,n1,n2,nnew,type,value

where: n1=first node
n2=second node
nnew=new node number
type=ratio for ratio, dist for distance
value=numerical value for ratio or distance

This command is similar to the KBETW command. Refer to the documentation for
KBETW for more information.

* GET THE NUMBER OF THE GEOMETRY ENTITY YOU JUST MADE

There is an undocumented command called "_return" which will yield the number
of the geometry entity you just made. This is handy for macros. Here is an
example of it's use.

bspline,3,5,7
a=_return

In this case, if the BSPLINE command made line 13, then a would be assigned
the value of 13. This works for almost all the geometry commands available
in ANSYS. (However, ANSYS 5.3 does not support _return for the L command.
This has been fixed in ANSYS 5.4.)


* PROJECT A LINE ONTO AN AREA

There is an undocumented command called "lspa" which will sometimes project
a line onto an area. The usage appears to be as follows.

lspa,line,area

It appears that the line must be directly over the area, and the area needs
to be flat. I haven't used this command very much, and your experiences
with it would be helpful to all of us. Call me or e-mail me with your
comments. (John Crawford, 231-2176)

* CREATE AREAS WITH HOLES IN THEM

ANSYS has an undocumented command for creating areas with holes in them.
It's called "allp" and supports up to 4 internal loops and one external
loop. Here's how to use it.

allp,3,1,3,4,7,11,14,6,8,9

where 3=the number of total loops (one external, two internal) and the other
numbers are the line numbers in random order, but continuous for each loop.
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. The listing of the lines can be random within
each loop, but each loop must be grouped together.


* MAKE ANSYS TAKE BAD ELEMENT SHAPES

Using solve,,,,,noch will force ANSYS to run an analysis without an error
for poorly shaped elements. It is assumed that the user is able to determine
that this is appropriate for his situation.


* MORE SIGNIFICANT DIGITS FOR NLIST AND KLIST

Using XYZ in the Lcoord argument in NLIST and KLIST will result in ANSYS
listing the node and keypoint coordinates with more significant digits.
Examples: nlist,all,,,xyz klis,all,,,xyz


* GET THE INFO ON THE MESHING CONTROLS

If you REALLY want to know all the meshing controls available to you what the
current setting are, use MOPT,STAT,ALL to list everything that ANSYS uses to
control mesh generation. To the best of my knowledge, all of these are
arguments which can be set using MOPT.


* WRITING RESULT INFORMATION

If you want to control where and if ANSYS writes the results, use the
following command at the BEGIN level.

/CONFIG,NOELDBW,1 do not write results to .db file, only .rst
/CONFIG,NOELDBW,2 do not write results to .rst file, only .db
/CONFIG,NOELDBW,3 do not write results to either .rst or .db files


* GET FUNCTIONS FOR THE SLOPE OF A LINE

If you need to get the slope of a line, there are undocumented get functions
which will give this to you.

LSX(line number,unit distance)
LSY(line number,unit distance)
LSZ(line number,unit distance)

Examples: a=lsx(179,0) will assign the X direction slope of line 179 at
the first keypoint location to parameter "a".

b=lsz(23,.6) will assign the Z direction slope at a position
which is 60% along the length of line 23 to
parameter "b".


* KEYPOINT ROTATION ANGLES

Have you ever noticed that when you list keypoint coordinates that ANSYS lists
the keypoints and their rotation angles? Have you ever seen rotation angles
used in keypoint commands? Probably not. But, they are there in undocumented
form. The original plan was to allow the rotation of keypoints so the nodes
generated on a line which has both keypoints rotated will be generated with
a similar amount of nodal rotation. This is handy when automating the
construction of models which require rotated nodes. As you might guess, there
is a set of commands (undocumented, of course) which all the user to rotate
keypoints, manipulate them, and so forth.

KROT command to rotate keypoints similar to NROT
/PSYM,NDIR,1 will also turn on keypoint coordinate system symbols
CDREAD and CDWRITE both support rotated keypoints
















-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf Of Eisentraeger Peter
Sent: Tuesday, October 28, 2008 6:00 AM
To: ANSYS User Discussion List
Subject: Re: [Xansys] [APDL] ???iqr

Victor, Simon, and Akbey,

You helped me out of trouble, thanks a lot :-))

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205

-----Ursprüngliche Nachricht-----
Von: --email address suppressed-- [mailto:--email address suppressed--] Im Auftrag von Kalkan, Akbey
Gesendet: Dienstag, 28. Oktober 2008 10:35
An: ANSYS User Discussion List
Betreff: Re: [Xansys] [APDL] ???iqr

Jeroen Valensa's inquiry function matrix is the definitive reference.

http://ansys.net/tips/Inquiry_Matrix_Sheet_2005_10_11.pdf

or

http://www.padtinc.com/docs/lit/inquiry_sheet.pdf

Regards

--Akbey Kalkan
Jacobs Engineering UK

-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf Of Eisentraeger Peter
Sent: 28 October 2008 08:32
To: --email address suppressed--
Subject: [Xansys] [APDL] ???iqr

Hello all,

I was sure I stored the information about "elmiqr" commands and its brothers and sisters where I would find it if needed. But, no trace. Can anybody help me and provide information about that commands?

Kind regards

----------------------------

Peter Eisenträger
----------------------------------
MT Mechatronics GmbH
Wilhelm-Th.-Römheld-Str. 24
D-55130 Mainz

Tel. +49 (0)6131 2777 106
Fax. +49 (0)6131 2777 205


________________________________
Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing copying or distribution of, or reliance on this message by unintended recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------


Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821

^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------


Confidentiality Notice: This message and any files transmitted with it are intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use or access is strictly prohibited and may be unlawful. If you are not the intended addressee you must not read, copy or disclose or otherwise use this message except for the purpose of delivery to the addressee. If you have received this mail in error, please notify us immediately by return e-mail.


MT Mechatronics GmbH
an MT Aerospace Company

Geschäftsführer: Thomas Zimmerer, Hans J. Steininger

Sitz der Gesellschaft: Mainz
Registergericht: AG Mainz, HRB 40821

^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------
^----------------------------------------------------
| XANSYS web - www.xansys.org |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users |
| of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
^----------------------------------------------------

Post generated using Mail2Forum (http://www.mail2forum.com)
_________________
Dan Bohlen
Senior Staff Engineer
GE Aircraft Engines
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XANSYS Forum Index -> XANSYS
All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

sleek template created by Andrew Charron