Installation instructions

Contents

Installation instructions#

This webpage uses several Python packages:

  • FEniCS/DOLFINx - A software for modelling partial differential equations (PDE) with the finite element method (FEM).

  • Scifem - Convenience wrappers for on top of DOLFINx for scientific computing.

  • Wildmeshing - A mesh generation software.

We recommend using either conda or docker for the installation

Docker#

Use the official DOLFINx docker images Then use PIP to install scifem and wildmeshing with

python3 -m pip install scifem wildmeshing

Conda#

Create a conda enviroment based on the following environment.yml file:

name: fenicsinthewild
channels:
  - conda-forge
dependencies:
  - fenics-dolfinx
  - pyvista
  - pip
  - git
  - scipy
  - trame-client
  - trame-vtk
  - trame-server
  - trame-vuetify
  - trame
  - ipywidgets
  - sphinx>=6.0.0
  - scifem
  - pip:
      - wildmeshing
variables:
  PYVISTA_TRAME_SERVER_PROXY_PREFIX: "/proxy/"
  PYVISTA_TRAME_SERVER_PROXY_ENABLED: "True"
  PYVISTA_OFF_SCREEN: false
  PYVISTA_JUPYTER_BACKEND: "html"
  LIBGL_ALWAYS_SOFTWARE: 1
  OMP_NUM_THREADS: 1