Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor change to commenting in common.py #96

Merged
merged 2 commits into from
Oct 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions turtleFSI/modules/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ def W_Mooney_Rivlin(F, lambda_s, mu_s, C01, C10, C11):
D1 = 2/K # D1 is calculated from the Bulk Modulus
B = F*F.T # Left cauchy-green strain tensor
I1 = tr(B) # 1st Invariant
I2 = 0.5*(tr(B)**2-tr(B * B)) # 2nd invariant (also known as I3)
Ibar1 = (J**(-2/3))*I1
I2 = 0.5*(tr(B)**2-tr(B * B)) # 2nd invariant
Ibar1 = (J**(-2/3))*I1
Ibar2 = (J**(-4/3))*I2

# Strain energy density function for 3 term Compressible Mooney-Rivlin Model
Expand Down
Loading