Hello,
one way to get the total strain energy out of nastran is to request it for one element or more in the F06 file (ESE(PRINT)=<elm set number>). Nastran writes the total strain energy down by default in the F06.
Hope it helps.
Yvan Murta
Stress Engineer
NastranWorks - contact@nastranworks.com