Closed bhaveshshrimali closed 4 years ago
Thanks for this!
It would be even more useful if you submitted it as a pull request to a python/demo/hyperelasticity
directory.
Sure, I'd be happy to submit a PR if it's useful. The problem description remains the same, right?
I just saw that a cpp version and ufl already exists. So just a pointer on how to use NewtonSolver
(edit: already in Cahn-Hilliard demo) instead of the old solve
(feel free to suggest otherwise).
I was looking for a hyperelasticity example, but didn't find one. I am attaching a working demo (basically translating the old demo from dolfin), in case if someone comes looking up for it