A while ago, I wrote a small tip on postprocessing harmonic response analysis results. A macro called stiharm_post.mac was included that calculated the phase angle and phase shift at which maximum values occurred.

The issue was that I didn’t differentiate between phase angle and phase shift (the output was simply labeled “phase”), so that macro has now been corrected/updated with more descriptive text. Here, I’m assuming that:

phase_angle = omega * time + phase_shift

By comparing the output of the stiharm_post.mac macro with /POST26 or SET,,,,PHAS, one should get the same results for components of displacement or stress, which is a good way to verify the output of the macro. (The stiharm_post.mac macro has not been changed except to clarify the output of “phase” per the above. If you find any issues with it, feel free to let me know by posting a comment below.)