Question:

I cannot find information on the binary file that contains the view factors for a radiation calculation, file.vf. Is there any information available that would allow me to access the binary form of that file since the ASCII form does not have sufficient accuracy for the calculations that I am doing.

Answer:

The information contained on the file.vf in binary form is the same as the information in ASCII form. The only difference is in the format of the file. The ASCII form of the file may be read with any stardard text editor. The binary form of the file appears to be a standard ANSYS binary file that may be processed like any other ANSYS binary file. A user can access the binary information in two ways: dumping the file in ANSYS using the /AUX2 routine or writing an external program to read the file using the reader/writer routines documented in the Guide to Interfacing with ANSYS.


The binary file has an ANSYS Standard Hearder record that contains the standard information. This record is documented in the Guide, Section 1.1.2. Beginning at record 2, the view factors are written per enclosure per element. Or, in Fortran terms

DO II 1,Enclosure Number
DO JJ 1,Number of Elements
Write (N) (viewfactor(kk),kk=1,Number of Elements)
ENDDO
ENDDO

Each record contains the view factors from the current element face to the other faces in the enclosure. Records are written sequentially. Users should be able to use the BINSET function to open the file and BINRD8 subroutine to read the various records. The Guide includes several examples for reading ANSYS binary files.

Questions concerning this should be directed to ANSYS Technical Support.


Question:

I cannot find information on the binary file that contains the view factors for a radiation calculation, file.vf. Is there any information available that would allow me to access the binary form of that file since the ASCII form does not have sufficient accuracy for the calculations that I am doing.

Answer:

The information contained on the file.vf in binary form is the same as the information in ASCII form. The only difference is in the format of the file. The ASCII form of the file may be read with any stardard text editor. The binary form of the file appears to be a standard ANSYS binary file that may be processed like any other ANSYS binary file. A user can access the binary information in two ways: dumping the file in ANSYS using the /AUX2 routine or writing an external program to read the file using the reader/writer routines documented in the Guide to Interfacing with ANSYS.


The binary file has an ANSYS Standard Hearder record that contains the standard information. This record is documented in the Guide, Section 1.1.2. Beginning at record 2, the view factors are written per enclosure per element. Or, in Fortran terms

DO II 1,Enclosure Number
DO JJ 1,Number of Elements
Write (N) (viewfactor(kk),kk=1,Number of Elements)
ENDDO
ENDDO

Each record contains the view factors from the current element face to the other faces in the enclosure. Records are written sequentially. Users should be able to use the BINSET function to open the file and BINRD8 subroutine to read the various records. The Guide includes several examples for reading ANSYS binary files.

Questions concerning this should be directed to ANSYS Technical Support.





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