domain
Generate a Region by "Subtraction"
domain,
a FENICS code which
which creates a region starting with a circle,
and then "subtracting" a rectangle and smaller circle.
Note that I have installed FENICS using Docker, and so to run this
script I issue the commands:
-
cd $HOME/fenicsproject/domain
-
fenicsproject run
-
python3 domain.py
-
exit
Licensing:
The GNU LGPL license.
Reference:
-
Hans Petter Langtangen, Anders Logg,
Solving PDEs in Python - The FEniCS Tutorial Volume 1.
Source Code:
Last revised on 18 October 2018.