Geomechanical simulator based on the open-source FEM library Akantu.
Project description
Akantu Geomechanical Solver
Python package containing a geomechanical simulator based on the open-source FEM library Akantu
See the package documentation on GitLab Pages
Installation
Serial
pip install (Linux-based systems only)
pip install akantu-geomechanical-solver[serial] --index-url https://gitlab.com/api/v4/projects/15663046/packages/pypi/simple
Parallel
To use the parallel version of Akantu for the geomechanical simulator, a Docker image can be pulled and used out of the box, or build Akantu from source.
Docker image (Linux-based systems and MacOS)
To use the Docker image including a parallel version of the geomechanical solver, follow these steps:
- Make sure you have Docker installed on your system.
- Pull the Docker image from the registry using the following command:
docker pull registry.gitlab.com/emil.gallyamov/akantu-geomechanical-solver/parallel-gms-images:main
- Once the image is pulled, you can run a container using the image with the following command:
docker run -it registry.gitlab.com/emil.gallyamov/akantu-geomechanical-solver/parallel-gms-images:main /bin/bash
This will start a container and give you an interactive bash shell inside it.
- You can now use the Docker image for your desired purposes.
Installation with Akantu built from source (Linux-based systems and MacOS)
Dependencies
In order to compile Akantu, some libraries are required:
- CMake
- Boost
- LAPACK
- BLAS
- MPI
- Scotch
- MUMPS
- Gmsh
Please note that the compilation from source will only work with a gcc version < 13
On .deb based systems
> sudo apt install cmake libboost-devl iblapack-dev libblas-dev zlib1g-dev gmsh
> sudo apt install libopenmpi-dev openmpi-bin libscotch-dev libmumps-dev
Building from source
Clone the repository, for instance using
git clone git@gitlab.com:emil.gallyamov/akantu-geomechanical-solver.git
Use the installation.sh script to build the parallel version of hydromechanical coupling branch of Akantu used by the geomechanical solver on your machine. This will create an akantu subfolder in the akantu-geomechanical-solver folder. Once this is done, add three Akantu path to PYTHONPATH variable
export PYTHONPATH="${PYTHONPATH}:${PWD}/akantu/build/python:${PWD}/akantu/test:${PWD}/akantu/test/test_fe_engine"
You can then install the parallel version version of the geomechanical solver via pip.
pip install .[parallel]
Project details
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 akantu_geomechanical_solver-0.3.0.tar.gz.
File metadata
- Download URL: akantu_geomechanical_solver-0.3.0.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fae1fc5cf5a3e35154724b79649f6bdacd016adbfe6ef14ad247fefb153eaf4
|
|
| MD5 |
2a37ad5fc30ef91c6da96accd92df9f7
|
|
| BLAKE2b-256 |
3d5fe7a3a818b366c81c8db3ffca8e64094771962605e8d10d5758c14f3592a2
|
File details
Details for the file akantu_geomechanical_solver-0.3.0-py3-none-any.whl.
File metadata
- Download URL: akantu_geomechanical_solver-0.3.0-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f098c92e3a55da567b77b7e67fa54849451c6775ce5dc835e2a57f44edb18c5a
|
|
| MD5 |
91934c2d48cb383da90dbaa87ccacd87
|
|
| BLAKE2b-256 |
bec34c5f1815bf5f3e35dc5497024be09a3c04411bd26ec41be5f7a054467d10
|