Skip to content

Commit 6775d12

Browse files
committed
Fix test
1 parent 47a87cc commit 6775d12

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/test_static_problem_Holzapfel.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ def dirichlet_bc(
6767

6868
# With the HolzapfelOgden model the hydrostatic pressure
6969
# should equal the negative of the material parameter a
70-
assert np.allclose(p.x.array, -material_params["a"].to_base_units())
70+
# assert np.allclose(p.x.array, -material_params["a"].to_base_units())
71+
72+
# However when using the deviatoric strain only,
73+
# the hydrostatic pressure should be zero
74+
assert np.allclose(p.x.array, 0.0)
7175
# And with no external forces, there should be no displacement
7276
assert np.allclose(u.x.array, 0.0)
7377

0 commit comments

Comments
 (0)