I'm trying to find a vector $ u $ such that $ I + \nabla u = F_Q $, where $ F_Q $ is a known tensor field.
I'm not sure how to get the variational form for such a problem.
My first guess was:
$$ \int (I + \nabla u - F_Q) \cdot \nabla v dx = 0 $$
This is a linear problem, so I can always get some sort of solution with FEniCS. But for some values of $ F_Q $ the solutions seem to be correct within numerical tolerance, and for others they are way off.
Do I have the wrong variational form? Or is the strong form perhaps not well-specified?