Akantu: Swiss-Made Open-Source Finite-Element Library
Project description
Akantu
: Swiss-Made Open-Source Finite-Element Library
Akantu
means a little element in Kinyarwanda, a Bantu language. From now on it
is also an open-source object-oriented library which has the ambition to be
generic and efficient. Even though the code is written to be generic, Akantu
strength are in solid mechanics models for fracture and contact simulations.
The full documentation can be found on ReadTheDocs
Building Akantu
Dependencies
In order to compile Akantu
any compiler supporting fully C++14 should work.
In addition some libraries are required:
- CMake (>= 3.5.1)
- Boost (preprocessor and Spirit)
- zlib
- Eigen3 (if not present the build system will try to download it)
For the python interface:
- Python (>=3 is recommended)
- pybind11 (if not present the build system will try to download it)
To run parallel simulations:
- MPI
- Scotch
To use the static or implicit dynamic solvers at least one of the following libraries is needed:
- MUMPS (since this is usually compiled in static you also need MUMPS dependencies)
- PETSc
To compile the tests and examples:
- Gmsh
- google-test (if not present the build system will try to download it)
On .deb
based systems
> sudo apt install cmake libboost-dev zlib1g-dev gmsh libeigen3-dev
# For parallel
> sudo apt install mpi-default-dev libmumps-dev libscotch-dev
# For sequential
> sudo apt install libmumps-seq-dev
Configuring and compilation
Akantu
is a CMake project, so to configure it, you can follow the usual way:
> cd akantu
> mkdir build
> cd build
> ccmake ..
[ Set the options that you need ]
> make
> make install
Using the python interface
You can install Akantu
using pip, this will install a pre-compiled version:
> pip install akantu
You can then import the package in a python script as:
import akantu
The python API is similar to the C++ one. If you encounter any problem with the python interface, you are welcome to do a merge request or post an issue on GitLab.
Tutorials with the python interface
To help getting started, multiple tutorials using the python interface are
available as notebooks with pre-installed version of Akantu
on Binder. The
following tutorials are currently available:
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 Distributions
Built Distributions
Hashes for akantu-5.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6acdd7a78176669f9ee0e39cd645bf2455344d6e644d4c2de3eee3ff5d73214 |
|
MD5 | 4ae786c5319bc658697219eb7942cb85 |
|
BLAKE2b-256 | 6458cc38999451fa304bb84fa24b011be2fed124afd70df14850f9100e9d7cfe |
Hashes for akantu-5.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e96a538a9c1585b8d80602ac998de078d717847a4f8b66fbbf6f934f00ba274 |
|
MD5 | 45c0a5cfe464430436274c82b3c206a2 |
|
BLAKE2b-256 | 529f9196e858b298670f5e73f3119fb9062de17e48fa98159e2f21839e0663ac |
Hashes for akantu-5.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8d39e3bbdcfa1d537135297920e9dc2f3ee1d2cdcc74fefeaf983ed2d3f2967 |
|
MD5 | cbdf1219e97af710c02d6892db74d047 |
|
BLAKE2b-256 | c73b0d68076aa275b58dee75b4f7764532b4a9bbd2dc3d3b08fe384241ffba04 |
Hashes for akantu-5.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fffc2a8896ec481106cfbd719b021dcc308fcfcf923ec00d96df28dd0bed0bd1 |
|
MD5 | 88713de9b2fdf9c62ddedb7952d87d53 |
|
BLAKE2b-256 | 9e683f70cd3edec532488d4565216aca22af0ff47bf611c8985e55c79d6f05f0 |
Hashes for akantu-5.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 112419a7cc319f35b60bc814d77d4c4d1f21347fa11d040133485e07f6631964 |
|
MD5 | e87b93258fd55eabd2f940888f80d7f9 |
|
BLAKE2b-256 | 326fdff2a6d4f829bfa022aa40737540b23edc35353f7eaf5284de70dcbab434 |