Skip to content

mgenet/dolfin_mech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dolfin_mech

A set of FEniCS-based python tools for Computational Mechanics.

The library has notably been used in:

Installation

A working installation of FEniCS (version 2019.1.0) is required to run dolfin_mech. To setup a system, the simplest is to use conda: first install miniconda (note that for Microsoft Windows machines you first need to install WSL, the Windows Subsystem for Linux, and then install miniconda for linux inside the WSL; for Apple MacOS machines with Apple Silicon CPUs, you still need to install the MacOS Intel x86_64 version of miniconda), and then install the necessary packages:

conda create -y -c conda-forge -n dolfin_mech fenics=2019.1.0 meshio=5.3 mpi4py=3.1.3 pip python=3.10
conda activate dolfin_mech
pip install dolfin_mech numpy==1.24