###Installing Anaconda and Fenics###
For the simulations, you will need the python fenics package, as well as numpy, matplotlib and moviepy. While the latter three are available on windows, fenics is unfortunately not. If you have only windwos to your disposal, please either install the windows subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10) or use the cip-pool's linux work-stations (https://www.en.it.physik.uni-muenchen.de/dienste/cip_pool/index.html). For the visualization file, you do not need fenics.


The easiest (and most reliable) way to install fenics is via anaconda. 

For installing Anaconda, please follow the steps described in https://docs.anaconda.com/anaconda/install/

In order to install fenics, please create a virtual environment in conda in python 3.6 with the packages fenics, numpy, matplotlib, sympy and moviepy:

$ conda create -n tutorialFenics python=3.6 -c conda-forge fenics numpy matplotlib sympy moviepy


After a succesful installation of the environment, in order to activate the environment please type


$ conda activate tutorialFenics


in case you forgot to install a package, once you are in your environment, you can install them with 

$ conda install <package-name>

Now you can execute the programs of the exercise. 



If you are working on the cip-pool computers, find the version of anaconda with 

$ module avail anaconda

and then load the module with 

$module load <anaconda-module-name>

Then, install the virtual environment as described above. In order to activate anaconda for bash, type

$conda init bash
$bash

and then 

$conda activate tutorialFenics


If things don't work or if you have questions, please contact your tutors or me (d.muramatsu@physik.uni-muenchen.de).
