Skip to content

mgenet/dolfin_mech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

328 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI PyPi Version PyPI Downloads

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), and then install the necessary packages:

conda create -y -c conda-forge -n dolfin_mech fenics=2019.1.0 matplotlib=3.5 meshio=5.3 mpi4py=3.1.3 numpy=1.23 pandas=1.3 pip python=3.10 vtk=9.2
conda activate dolfin_mech

Now, if you only need to use the library, you can install it with:

pip install dolfin_mech

But if you need to develop within the library, you need to install an editable version of the sources:

git clone https://github.com/mgenet/dolfin_mech.git
pip install -e dolfin_mech/.

About

No description, website, or topics provided.

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Contributors

Languages