Skip to content

Commit

Permalink
TST: updated expected value
Browse files Browse the repository at this point in the history
  • Loading branch information
saullocastro committed Aug 1, 2024
1 parent 6b2a610 commit 610df66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_quad4_linear_buckling_cylinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ def test_linear_buckling_cylinder(mode=0):
fext[bk] = fk
Pcr = (eigvals[0]*fext[2::DOF][checkTopEdge]).sum()
print('Pcr =', Pcr)
assert np.isclose(Pcr, -409522.60151502624, rtol=1e-4)
reference_value_Geier_Singh = -274300

#assert np.isclose(Pcr, reference_value_Geier_Singh, rtol=0.01)
assert np.isclose(Pcr, -1175384.408, rtol=0.01)


if __name__ == '__main__':
Expand Down

0 comments on commit 610df66

Please sign in to comment.