Creating .frd result files using pypdf
A recent request from an Ansys user to create results in a .frd format.
This is possible using the pyansys pydpf module. PyDPF
There are some minor issues with pyramid elements, Ansys will generate these in some transition zones and they are not used in the .frd documentation I found. The solution is to convert pyramids into tets. One very minor drawback is that quadratic pyramids will lose the mid side node results. Anyone who comes up with a smart solution is welcome to add to this code.
Note the wedges have not been tested but there is a line early in the code (etypedict) to set the conversion. But wedges should work.
Please read the Ansys documentation for SOLID185/186 for more information about the nodes, connectivity and element information:
Note the script was tested on beams, lines, shells and solids but not thoroughly. Check your results carefully.
The assumption is a .rst (structural) file from an Ansys analysis is available but dpf can also read .rth (thermal) files so it can be adapted. Currently the script requires displacement results but will
tryto find stress results.
The code is working and can be improved for both timing (a timer is there if you want to test) and readability.
- The .frd translation was possible using: CalculiX
The ASCII file that is generated requires a certain syntax for nodes/elements/results that is described in the document above.
For more on pydpf please visit the pyansys pydpf page:
pydpf Ansys result
same result viewed from .frd file