-
Notifications
You must be signed in to change notification settings - Fork 1
Getting started
William Jussiau edited this page Apr 4, 2025
·
27 revisions
The conda environment required to run the code can be extracted from the file environment.yml. Additional path tweaking with conda-develop may be required for all FEniCS (dolfin module) and custom modules to be found.
The environment file should look like this:
name: fenics
channels:
- conda-forge
- defaults
dependencies:
- python=3.12.8
- fenics=2019.1.0
- meshio=5.3.5
- scipy=1.14.1
- pandas=2.2.3
- control=0.10.1[coming soon]
After the conda environment has been set-up correctly, you can test the installation from a Python terminal:
- Try importing FEniCS with
import dolfin - Run examples from the
examplesfolder:examples/cylinder/cylinderflowsovler.pyandexamples/cavity/cavityflowsolver.py. Themainmethod of these scripts should launch fast simulations, only for testing purposes.
Powered by GitHub