Skip to main content

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

PyPI version Project Status GitLab License

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:

  1. Make sure you have Docker installed on your system.
  2. 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
  1. 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.

  1. 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

akantu_geomechanical_solver-0.3.0.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

akantu_geomechanical_solver-0.3.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file akantu_geomechanical_solver-0.3.0.tar.gz.

File metadata

File hashes

Hashes for akantu_geomechanical_solver-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1fae1fc5cf5a3e35154724b79649f6bdacd016adbfe6ef14ad247fefb153eaf4
MD5 2a37ad5fc30ef91c6da96accd92df9f7
BLAKE2b-256 3d5fe7a3a818b366c81c8db3ffca8e64094771962605e8d10d5758c14f3592a2

See more details on using hashes here.

File details

Details for the file akantu_geomechanical_solver-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for akantu_geomechanical_solver-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f098c92e3a55da567b77b7e67fa54849451c6775ce5dc835e2a57f44edb18c5a
MD5 91934c2d48cb383da90dbaa87ccacd87
BLAKE2b-256 bec34c5f1815bf5f3e35dc5497024be09a3c04411bd26ec41be5f7a054467d10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page