Hello, I found out that the .inp file format, corresponds to:
Format: AVS UCD Format
This is an Example ASCII UCD File for a single hexahedral cell with 8 nodes. The first line header indicates 8 nodes, 1 element, 2 node attributes, 0 element attributes, 0 model attributes. In the section where attributes are defined, the first line indicates there are 2 attributes, both scalar. After the first attribute line is the list of attribute names along with their type.
8 1 2 0 0
1 0.000 0.000 1.000
2 1.000 0.000 1.000
3 1.000 1.000 1.000
4 0.000 1.000 1.000
5 0.000 0.000 0.000
6 1.000 0.000 0.000
7 1.000 1.000 0.000
8 0.000 1.000 0.000
1 1 hex 1 2 3 4 5 6 7 8
002 1 1
layer, integer
stress, real
1 1 4999.9999
2 1 18749.9999
3 1 37500.0000
4 1 56250.0000
5 0 74999.9999
6 0 93750.0001
7 0 107500.0003
8 0 5000.0001
In order to convert Ansys Mechanical APDL .res file into this format, I tried the following:
-Open the file in APDL
-Read the result
-Select all the elements in the model ALLSEL,ALL
-Write a .cdb file CDWRITE
-Write an ASCII results file with PRNSOL
-Merge both files manually in Notepad++
-Save the result with the format shown, with the .inp extension
Hope it helps!