Quick Start with Docker
Using Feel++ inside Docker is the recommended and fastest way to use Feel++.
We strongly encourage you to follow the install/containers.adoc#_docker if you begin with Feel++ in particular as an end-user.
Start the main Feel++ Docker container feelpp/feelpp-toolboxes` as follows
$ docker run -it --rm -e LOCAL_USER_ID=`id -u $USER` -v $HOME/feel:/feel feelpp/feelpp-toolboxes
simply copy-paste the command line in your terminal to start the
Here are some explanations about the different parts in the command line
$ docker (1) run (2) -it (3) --rm (4) -e LOCAL_USER_ID=`id -u`(5) -v $HOME/feel:/feel (6) feelpp/feelpp-toolboxes (7)
|5||we need to pass your user id to Docker so that the data you generate from Docker belongs to you;|
|6||maps the directory
|7||execute the image
Several testcases (configuration files) have been installed in
$ feelpp_qs_laplacian_2d --config-file /feel/testcases/quickstart/laplacian/feelpp2d/feelpp2d.cfg
> feelpp_qs_laplacian_2d (1) --config-file /feel/testcases/quickstart/laplacian/feelpp2d/feelpp2d.cfg(2)
|1||executable to run|
|2||configuration file (text) to setup the problem : mesh, material properties and boundary conditions|
The results are stored in Docker in
and on your computer
The mesh and solutions can be visualized using e.g. Paraview or Visit.
> mpirun -np 4 feelpp_qs_laplacian_2d --config-file /feel/testcases/quickstart/laplacian/feelpp2d/feelpp2d.cfg
The results are stored in a simular place as above: just replace
np_4 in the paths above. The results should look like
Here are some excerpts from Quickstart Laplacian that solves the Laplacian problem. It shows some of the features of Feel++ and in particular the domain specific language for Galerkin methods.
First we load the mesh, define the function space define some expressions
Second we define the linear and bilinear forms to solve the problem
More explanations are available in user:ROOT:laplacian.adoc.