pyNastran
pyNastran copied to clipboard
op2.transform_displacements_to_global Spherical bug
This method, which is supposed to transform displacements/velocity/gpforce/etc. from CD != 0 to CD=0 has an issue if CD is not rectangular.
I think you need to apply the standard position transform formula, but replace the origin with the location of the traced coordinate system. This would suggest that a doubly traced CORD2R may not work properly. Visualizing in the GUI and it's pretty obvious.
This affects tables like displacement, velocity, acceleration, eigenvector, applied load, gpforce, spc/mpc forces, etc. It does not affect stress/strain/element force.
cylindrical is fixed as far as I know; spherical has never been an issue, so punting to the next version
To be clear, the spherical transform is wrong, I'm just less clear on how to do that one.