Non linear elasticity equation using PETSc (SNES)

Hello,

I want to solve the non linear elasticity equation using SNES in PETSc, I’ve checked out the example that does not use PETSc and I was a little bit confused, did anyone solve this problem or a similar one using this method?

As long as you have a func to evaluate a Jacobian and another one to evaluate a residual, you are good to go. What is the exact issue you are facing?