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.
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
- muGrid - https://github.com/muSpectre/muGrid
- 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.
Metadata
Release files for ContactMechanics 1.8.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| contactmechanics-1.8.3.tar.gz | 65.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| contactmechanics-1.8.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 154.8 kB
Release files / contactmechanics-1.8.3.tar.gz
| Download URL | contactmechanics-1.8.3.tar.gz |
|---|---|
| Size | 65.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c25663d8ebead9490a0f451f3bb75bee4574939f94212f3cf800d2375f6d31c3
|
|
BLAKE2b-256 checksum How to use checksums |
fe6bad2711425f5787e794a7a10f4f8324298f2f18374291a113ceef40cb5561
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / contactmechanics-1.8.3-py3-none-any.whl
| Download URL | contactmechanics-1.8.3-py3-none-any.whl |
|---|---|
| Size | 89.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31ed322d9f76a8bdfd065062706340973a0a0ebdfa8b53613318006cd3c9d1d4
|
|
BLAKE2b-256 checksum How to use checksums |
92559d6ec4cab5233cc0936690cda72a83cf3af831959502504340baeae81215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|