recently I try to make a start with fenics. below is what I have done so far.
1 install WSL 2 in window 10 system
2 follow the set up of FEnics under Ubuntu 18.4
3 I can see FEnics version number in bash, so installation seems to correct
4 I download FEnics tutorials on github
5 try to run ft03_heat.py, I encountered error shown in the attachment image. when I try to run other examples, this error persists.
Thanks for your quick help. I will try it and report back, surely hope it will work.
I want to have an up to date source to practice Fenics, books like Automated Solution of Differential Equations by the Finite Element Method. but it is published in 2012, many people say the code are not working with the current Fenics version.
is there any reliable source or books that I can follow without significant debugging effort?
surely I do not want to flood this forum with my error.
If you want to use the old sources, such as: https://fenicsproject.org/tutorial/
you should install the 2016 version of fenics (as the user interface had changed since then).