[](https://pypi.org/project/dolfin-mech)
Project description
dolfin_mech
A set of FEniCS-based python tools for Computational Mechanics.
The library has notably been used in:
- [Genet (2019). A relaxed growth modeling framework for controlling growth-induced residual stresses. Clinical Biomechanics.]
- [Álvarez-Barrientos, Hurtado & Genet (2021). Pressure-driven micro-poro-mechanics: A variational framework for modeling the response of porous materials. International Journal of Engineering Science.]
- [Patte, Genet & Chapelle (2022). A quasi-static poromechanical model of the lungs. Biomechanics and Modeling in Mechanobiology.]
- [Patte, Brillet, Fetita, Gille, Bernaudin, Nunes, Chapelle & Genet (2022). Estimation of regional pulmonary compliance in idiopathic pulmonary fibrosis based on personalized lung poromechanical modeling. Journal of Biomechanical Engineering.]
- [Tueni, Allain & Genet (2023). On the structural origin of the anisotropy in the myocardium: Multiscale modeling and analysis. Journal of the Mechanical Behavior of Biomedical Materials.]
- [Laville, Fetita, Gille, Brillet, Nunes, Bernaudin & Genet (2023). Comparison of optimization parametrizations for regional lung compliance estimation using personalized pulmonary poromechanical modeling. Biomechanics and Modeling in Mechanobiology.]
- [Peyraut & Genet (2024). A model of mechanical loading of the lungs including gravity and a balancing heterogeneous pleural pressure. Biomechanics and Modeling in Mechanobiology.]
- [Peyraut & Genet (2025). Finite strain formulation of the discrete equilibrium gap principle: application to direct parameter estimation from large full-fields measurements. Comptes Rendus Mécanique.]
- [Manoochehrtayebi, Bel-Brunon & Genet (2025). Finite strain micro-poro-mechanics: Formulation and compared analysis with macro-poro-mechanics. International Journal of Solids and Structures.]
- [Peyraut & Genet (2025). Inverse Uncertainty Quantification for Personalized Biomechanical Modeling: Application to Pulmonary Poromechanical Digital Twins. Journal of Biomechanical Engineering.]
- [Manoochehrtayebi, Genet & Bel-Brunon (2025). Micro-poro-mechanical modeling of lung parenchyma: Theoretical modeling and parameters identification. Journal of Biomechanical Engineering.]
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 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/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dolfin_mech-2025.12.5.tar.gz.
File metadata
- Download URL: dolfin_mech-2025.12.5.tar.gz
- Upload date:
- Size: 58.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a29fdbd9f67ba113a7433d19f3e3ed86eecc3ad9e9275bd8c1e0db6a32d854c4
|
|
| MD5 |
b58e866b1558cc57f30c413c17c72538
|
|
| BLAKE2b-256 |
5acf1936d2b82f179d08fb4d3d9ca4e484d572611ed4738ae35e30297b4d3969
|
File details
Details for the file dolfin_mech-2025.12.5-py3-none-any.whl.
File metadata
- Download URL: dolfin_mech-2025.12.5-py3-none-any.whl
- Upload date:
- Size: 104.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8344091a8f22cdf9a40cad12c546413186e0333d860b633a913d4c1e5412eefa
|
|
| MD5 |
30ce0bdb1e72d27ab15fc38c94ce7ef9
|
|
| BLAKE2b-256 |
39c6d60fc4c7996aed8fde4c5b43da528b2ac6c4f5af7e6d015a4a0c6c029080
|