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

Fixes to analytic Jacobian #2

Open
wants to merge 12 commits into
base: finite-elasticity-fixes
Choose a base branch
from

Conversation

jennyhelyanwe
Copy link

  1. Surface pressure Jacobian fix (add correct scale factors)

  2. Added function to select for finite differences or analytic Jacobian methods (equations.JacobianMatricesTypeSet) and made two more constants public: iron.EquationsJacobianCalculated.FINITE_DIFFERENCES, and iron.EquationsJacobianCalculated.ANALYTIC.

  3. Add warning message for negative volumes for gauss points.

hsorby and others added 12 commits December 8, 2017 12:41
Wrap dependency detection for static builds only.
Add newlines to the iron-config-dependencies.cmake file
Multiply appropriate scale factors to the Jacobian values.
Negative volume changes now show up with a warning flag with details on the element number and gauss point number at which this occurs, and also the det(F) value.
Two scale factors need to be multiplied to the Jacobian term instead of just one (compare with two commits ago). This current correction gives same number of iterations as FD method, and an approximately 5.5 times speed up for an LV inflation example.
Under equations jacobian matrices calculation type, two methods of evaluating the Jacobian is exposed: finite differences, and analytic. The analytic version only works for the Guccione equation currently. 

To toggle the Jacobian methods, use equations.JacobianMatricesTypeSet(), with the available types: iron.EquationsJacobianCalculated.FINITE_DIFFERENCE or iron.EquationsJacobianCalculated.ANALYTIC
Immediate after evaluating the deformation gradient tensor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants