71. plugins.fe_post
— A class for holding results from Finite Element simulations.¶
-
class
plugins.fe_post.
FeResult
(name='__FePost__', datasize={'COORD': 3, 'S': 6, 'U': 3})[source]¶ Finite Element Results Database.
This class can hold a collection of results from a Finite Element simulation. While the class was designed for the post-processing of Abaqus (tm) results, it can be used more generally to store results from any program performing simulations over a mesh.
pyFormex comes with an included program postabq that scans an Abaqus .fil output file and translates it into a pyFormex script. Use it as follows:
postabq job.fil > job.py
Then execute the created script job.py from inside pyFormex. This will create an FeResult instance with all the recognized results.
The structure of the FeResult class very closely follows that of the Abaqus results database. There are some attributes with general info and with the geometry (mesh) of the domain. The simulation results are divided in ‘steps’ and inside each step in ‘increments’. Increments are usually connected to incremental time and so are often the steps, though it is up to the user to interprete the time. Steps could just as well be different unrelated simulations performed over the same geometry.
In each step/increment result block, individual values can be accessed by result codes. The naming mostly follows the result codes in Abaqus, but components of vector/tensor values are number starting from 0, as in Python and pyFormex.
Result codes:
U: displacement vector
U0, U1, U2 : x, y, resp. z-component of displacement
S: stress tensor
- S0 .. S5: components of the (symmetric) stress tensor:
0..2 : x, y, z normal stress 3..5 : xy, yz, zx shear stress