Hello!
I need to solve a certain task via brute force (change geometrical parameters and solve many times). but when solving the problem I need to know the stress level at each point of a solid body. so I decided to write a program to calculate the plastic deformations using FENICS. it is the task of volume deformation of the solid body. in the task there is a tool: one part is stationary, the other movable and moves with constant speed in the direction of the deformable body. but I can't find an example of how at each step to move the mesh tool and find points of contact between a deformable body and two instruments at each step. please help to understand how to do it.
mesh may be 2D for fast solving.
figure "solid deform task.png" (movable tool red, static tool blue and solid)
https://cloud.mail.ru/public/MfHL/NBQQNXzk4