Skip to content

Commit

Permalink
Merge pull request #137 from Sad-Abd/patch-1
Browse files Browse the repository at this point in the history
Update _hyperelasticity_isotropic.py concerning #136
  • Loading branch information
adtzlr authored Oct 23, 2023
2 parents 18ddc27 + 39bcd5c commit 2992993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matadi/models/_hyperelasticity_isotropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def linear_elastic(F, mu, lmbda):


def saint_venant_kirchhoff(F, mu, lmbda):
C = dot(transpose(F), F)
C = transpose(F) @ F
I1 = trace(C) / 2 - 3 / 2
I2 = trace(C @ C) / 4 - trace(C) / 2 + 3 / 4
return mu * I2 + lmbda * I1**2 / 2
Expand Down

0 comments on commit 2992993

Please sign in to comment.