3. Try Firedrake on Colab#
Colab is short for Colaboratory (which can be considered as an online version of Jupyter, allowing you to write and execute Python code in your browser).
FEM on Colab supports the installation of FEniCS, FEniCSx, Firedrake, NGSolve, gmsh on colab
3.1. Import package#
3.1.1. Firedrake#
About 3 minutes
try:
import firedrake
except ImportError:
!wget "https://fem-on-colab.github.io/releases/firedrake-install-real.sh" \
-O "/tmp/firedrake-install.sh" && bash "/tmp/firedrake-install.sh"
import firedrake
3.1.2. Gmsh#
try:
import gmsh
except ImportError:
!wget "https://fem-on-colab.github.io/releases/gmsh-install.sh" \
-O "/tmp/gmsh-install.sh" && bash "/tmp/gmsh-install.sh"
import gmsh
3.2. Examples#
https://colab.research.google.com/drive/1gM3zMWTskH7XyDi1yJL76BPFnOJjSdYh?usp=sharing