Closed benvb-97 closed 1 year ago
Oh yeah...the big issue was I'm not clear on the contents of TRMBU/D, so I didn't want to be calling something I know is incorrect. In the code, it's called out as Euler angles.
What was it ultimately? What is transform?
Hi Steve, I added a description of the table content to the read_trmbu/d functions. I hope that helps to clear them up a bit.
They both contain a large array of euler angles (X, Y, Z) that can be used to transform the stresses of nonlinear SOL401/402 simulations from the material to the basic coordinate system. TRMBU does this for the undeformed configuration (per the description) and TRMBD does this for the deformed one. I've tested this with a 1 solid element example in Simcenter Nastran and I was able to obtain the correct native/material/basic csys stresses using the small python code file attached to issue #684.
Merging #727 (5108ce3) into main (ca29e4e) will decrease coverage by
0.01%
. The diff coverage is51.72%
.
This is related to issue #684 (Coordinate transformation of stresses/strains using CSTM, TRMBU, TRMBD result tables).
The TRMBU and TRMBD readers are mostly implemented but were still commented out. I believe they can be uncommented? I've also added getters/setters to be able to retrieve the TRMBU/D and CSTM tables directly from the op2 object, instead of having to use op2.op2_results.X.