Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ba17e3dc authored by PETIT Manuel's avatar PETIT Manuel
Browse files

Fix error related to nabla_grad : need to be replace by grad.

parent 22e5cbc4
No related branches found
No related tags found
No related merge requests found
Pipeline #941414 failed
......@@ -47,8 +47,9 @@ class PlasticForm(ElasticForm):
def construct_form(self, u, v, sol):
d = sol.geometric_dimension()
Id = fe.Identity(d)
F_tot = Id + fe.nabla_grad(sol)
F_e = F_tot*fe.inv(self._parameters['F_plastic'])
F_tot = Id + fe.grad(sol)
Fg = self._parameters['F_plastic']
F_e = F_tot*fe.inv(Fg)
C_e = F_e.T * F_e
E_e = 0.5 * (C_e - Id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment