Efficient contact mechanics using elastic half-space methods
Project description
ContactMechanics
Contact mechanics with Python. This code implements computation of contact geometry and pressure of a rigid object on a flat elastic half-space. All calculations assume small deformations; in that limit, the contact of any two objects of arbitrary geometry and elastic moduli can be mapped on that of a rigid indenter on an elastic flat.
The methods that are implemented in this code are described in various papers:
- Fast-Fourier transform (FFT) for the computation of elastic deformation of periodic substrates.
- Decoupling of images for non-periodic calculation with the FFT.
- Hockney, Methods Comput. Phys. 9, 135 (1970)
- Liu, Wang, Liu, Wear 243, 101 (2000)
- Pastewka, Robbins, Appl. Phys. Lett. 108, 221601 (2016)
- Fast solution of nonadhesive, hard-wall interactions.
- Contact plasticity.
Build status
The following badge should say build passing. This means that all automated tests completed successfully for the master branch.
Documentation
Sphinx-generated documentation can be found here.
Installation
Quick install with: python3 -m pip install ContactMechanics
Running contact mechanics simulations
Dependencies
The package requires :
- numpy - https://www.numpy.org/
- NuMPI - https://github.com/imtek-simulation/numpi
- muFFT - https://github.com/muSpectre/muFFT
- SurfaceTopography - https://github.com/ContactEngineering/SurfaceTopography
Optional dependencies:
- runtests - https://github.com/bccp/runtests
Funding
Development of this project is funded by the European Research Council within Starting Grant 757343 and by the Deutsche Forschungsgemeinschaft within projects PA 2023/2 and EXC 2193.
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
File details
Details for the file contactmechanics-1.5.0.tar.gz
.
File metadata
- Download URL: contactmechanics-1.5.0.tar.gz
- Upload date:
- Size: 61.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5da0b2e2c0230235436ead71c918e838e3dbbe88e8c08a5b786d6e9dad0cab0 |
|
MD5 | b064de9efa5f521472cb7dd43df40c10 |
|
BLAKE2b-256 | 83faddbb85e9623ca32f1c723902e2dffcd62212ef782172c602b268ee791bc7 |
File details
Details for the file contactmechanics-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: contactmechanics-1.5.0-py3-none-any.whl
- Upload date:
- Size: 85.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f9a8f34925173d6a7984de54b3d04b8b9a5d01a363f2d2f1ad283e9625bac99 |
|
MD5 | 15e162fdd7f348f475ce33bebc0c4398 |
|
BLAKE2b-256 | 0f03a74a79cd120534dd097aacfc0d8bedbd6ee84949c777a93a68f464bfab08 |