-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #127 from adtzlr/add-finite-strain-viscoelasticity
Add Finite Strain Viscoelastic Material Formulation
- Loading branch information
Showing
8 changed files
with
67 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.1.13" | ||
__version__ = "0.1.14" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from ..math import det, inv, trace, gradient, astensor, asvoigt | ||
|
||
|
||
def finite_strain_viscoelastic(x, mu, eta, dtime): | ||
"Finite strain viscoelastic material formulation." | ||
|
||
# split input into the deformation gradient and the vector of state variables | ||
F, Cin = x[0], x[-1] | ||
|
||
# update of state variables by evolution equation | ||
Ci = astensor(Cin) + mu / eta * dtime * det(F) ** (-2 / 3) * (F.T @ F) | ||
Ci = det(Ci) ** (-1 / 3) * Ci | ||
|
||
# first invariant of elastic part of right Cauchy-Green deformation tensor | ||
I1 = det(F) ** (-2 / 3) * trace((F.T @ F) @ inv(Ci)) | ||
|
||
# first Piola-Kirchhoff stress tensor and state variable | ||
return gradient(mu / 2 * (I1 - 3), F), asvoigt(Ci) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters