I am trying to represent 2D deformations on a rectangular grid. In Mathematica 10, there is a method to solve the elastic differential equations and then represent the deformation as presented here:
Now I only want to visualize a deformation I actually have an analytic functional form for, i.e. I do have the functions
v[x_,y_] which represent the deformation in the x and y directions, however I cannot get it working. I thought that the PDE solver
NDSolveValue returns some
InterpolatingFunction so I tried to use an
InterpolatingFunction type of object for
v (which, I know it sounds stupid), but even doing so, the
None so I'm completely stuck in here. Any help would be appreciated!
Bonus question: is it possible to color the mesh according to the deformation (by defining some color scale, for instance)?