Skip to content

Getting started

William Jussiau edited this page Feb 22, 2025 · 27 revisions

Installation 🛠️

conda

The conda environment required to run the code can be extracted from the file environment.yml. Additional path tweaking may be required for all FEniCS (dolfin module) and custom modules to be found.

Docker 🐳

[coming soon]

Run examples

After the conda environment has been set-up correctly, you can test the installation from a Python terminal:

  1. Try importing FEniCS with import dolfin
  2. Run examples from the examples folder: examples/cylinder/cylinderflowsovler.py and examples/cavity/cavityflowsolver.py. The main method of these scripts should launch fast simulations, only for testing purposes.

Clone this wiki locally