**** Entered By: jthompso @ 06/22/2004 02:03 PM ****

Question:

We use ANSYS 8.1 Classic with UPF to get information of the result file. The database access routines as described in
the UPF Guide do not provide enough information to get all the data we need so we are accessing the results file from within the ANSYS program. The headers for the result-file accessing routines (biniqr, binset, binBasePut, binrd and binclo) state that these routines are not intended to be linked with the ANSYS program but only as standalone program. We understand that in the ANSYS program you are using the routines such as bioiqr, bioset, bioBasePut, biord and bioclo for internal processing.

Unfortunately, some of "bio"-routines use less or other arguments than the "bin"-routines. We kindly ask you to provide information about the arguments of the "bio"-routines.

Answer:

As you note in the incident notes, the BIN* routines are not to be linked into the ANSYS code. The reason for this is that the BIN routine use BIOCOM (rather than their own BINCOM) as the common for the binary file data so that a user could be walking on BIO file data with the BIN file calls. The BIN routines are similar to the BIO routines except that ANSYS will provide the scratch memory for the BIO routines whereas the user must supply the scratchmemory for the BIN routines. Other than that they function the same. The documentation in the 8.1 Programmer's manual appears to be adequate to understand the arguments.

Attached is a text file that contains the headers for the BIO routines that are of use to a user programmer.

One other bit of information; the ANSYS rst file is always attached to buffer 6. If you try to write a file on buffer 6, ANSYS may commandeer that buffer for the rst file; overwriting anything that you have there. All other file are attached to the next open buffer so it shouldn't be a problem. I generally use buffer 9 as it is the least likely buffer to be used by A


**** Entered By: jthompso @ 06/22/2004 02:03 PM ****

Question:

We use ANSYS 8.1 Classic with UPF to get information of the result file. The database access routines as described in
the UPF Guide do not provide enough information to get all the data we need so we are accessing the results file from within the ANSYS program. The headers for the result-file accessing routines (biniqr, binset, binBasePut, binrd and binclo) state that these routines are not intended to be linked with the ANSYS program but only as standalone program. We understand that in the ANSYS program you are using the routines such as bioiqr, bioset, bioBasePut, biord and bioclo for internal processing.

Unfortunately, some of "bio"-routines use less or other arguments than the "bin"-routines. We kindly ask you to provide information about the arguments of the "bio"-routines.

Answer:

As you note in the incident notes, the BIN* routines are not to be linked into the ANSYS code. The reason for this is that the BIN routine use BIOCOM (rather than their own BINCOM) as the common for the binary file data so that a user could be walking on BIO file data with the BIN file calls. The BIN routines are similar to the BIO routines except that ANSYS will provide the scratch memory for the BIO routines whereas the user must supply the scratchmemory for the BIN routines. Other than that they function the same. The documentation in the 8.1 Programmer's manual appears to be adequate to understand the arguments.

Attached is a text file that contains the headers for the BIO routines that are of use to a user programmer.

One other bit of information; the ANSYS rst file is always attached to buffer 6. If you try to write a file on buffer 6, ANSYS may commandeer that buffer for the rst file; overwriting anything that you have there. All other file are attached to the next open buffer so it shouldn't be a problem. I generally use buffer 9 as it is the least likely buffer to be used by ANSYS.





Show Form
No comments yet. Be the first to add a comment!