Hi everyone,
I am trying to display some finite element results in OpenDX, and I have
had some success parsing the nodal (position dependant) data.
However,
when I try to import the elemental (connections dependant) data I run
into some problems:
In the binary file the element data is stored as follows for each
element:
- float[6] representing the upper-triangle of a symmetric stress tensor
- float[3] representing the euler-angles
- float[10] Other less-interesting element data
- float[6] representing the upper-triangle of a symmetric strain tensor
The first problem I encounter, is if I am trying to import only the
stress tensor (for example) how can I tell DX to read the 6*4 bytes
representing the stress, then skip the 19*4 bytes of remaining
connections-dependant data I'm not interested in?
Second, How can I take the rank 1 shape 6 data of my stress components
and turn it into rank 2 shape 3x3 data which autoglyph will understand
as a symmetric tensor? The stress components are ordered {xx, yy, zz,
xy, yz, zx} in my file.
If I import all of the connections data (25 floats, 25*4 bytes) to avoid
my interleaving issues into a rank 1 shape 25 array, does an existing
module exist to extract subsets of the array?
Thank you in advance for your advice.
Mark Gesing
MASc. Candidate
University of Waterloo
_______________________________________________
OpenDX2-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opendx2-users