FEM: frd result reader, fix principal stress calculation if pure frd file was opened

This commit is contained in:
Bernd Hahnebach
2019-07-02 13:16:01 +02:00
parent 43061bc8ad
commit 4dff5bb403

View File

@@ -160,6 +160,10 @@ def importFrd(
if has_reinforced_mat is False:
# fill PrincipalMax, PrincipalMed, PrincipalMin, MaxShear
res_obj = restools.add_principal_stress_std(res_obj)
else:
# if a pure frd file was opened no analysis and thus no parent group
# fill PrincipalMax, PrincipalMed, PrincipalMin, MaxShear
res_obj = restools.add_principal_stress_std(res_obj)
# fill Stats
res_obj = restools.fill_femresult_stats(res_obj)