[petsc-users] Hints for using petscfe for plasticity -- how to update/access internal variables?

Mark Adams mfadams at lbl.gov
Thu Sep 21 08:55:54 CDT 2017


>
> In both cases the code had problems converging and when it did, I ended up
> with negative plastic strain. This is not possible and I don’t know how it
> happens because I explicitly only increment the plastic strain when the
> increment is positive.
>
>
This sounds like a logic bug. You are updating the auxilary variable for
plastic strain with all positive numbers but as the system evolves you get
negative numbers?  PETSc does does not change these number other than
computing the gradients for you.



> I am sure there is an easy solution to how I can update the internal
> variables and determine the correct stress for the residual but I just
> cannot figure it out. I’d be thankful for any hints.
>
> Thanks,
> Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170921/fdfe4d83/attachment.html>


More information about the petsc-users mailing list