Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Colleagues,
I have uploaded a Matlab - script that calculates the stress range (Smax-Smin) at all h-nodes in Creo Simulate, for several different load sets. In my case there was a rotating load; I created 12 load sets with 30 degree's pitch.
The script takes the maximum of the maximum principal stress in each node, for all load sets, minus the minimum of the min principal stress for that node, for all load sets. I.e. the stress range that each node feels as the load rotates. This can otherwise be a tedious job - to identify for which load set that we get the max principal, and then look through all of the other load sets to find the minimum principal stress for that point.
It currently works for shell models, I have not verified that it works for solid models.I think that the solid element stress results are reported at different matrix locations as described by PTC's support documents for ASCII result files...
Feel free to use it as you please...
Best regards, Mats L
While writing this script I came across a bug in the software. Some elements, it seems beams, generate a 7x6 matrix with stress results for each h-node. The support documentation suggests that this should always be a 9x6 matrix. I managed to solve this but the problem has now been given SPR-status.