I am using a Windows machine and have installed FEniCS 2019.1.0 through docker. I am unable to print the values in the contour plot, the command ‘scalerbar=True’ is not working there. Also, I want to get an array of my independent variable u but not understanding how to extract the values.
Here is my code.
u.vector().get_local()
will give you values of u
. See here.
Have you had a look at: Why i plot displacement arrow graph rather than cloud graph? - #8 by dokken?
Thanks, sir. I got my problem solved.