gcrack
gcrack is a simulation tool designed to model crack propagation in anisotropic media. It is based on linear elastic fracture mechanics, specifically the GMERR (Generalized Maximum Energy Release Rate) criterion, to simulate incremental crack propagation with remeshing.
Features
- Incremental Propagation: Simulates crack growth step-by-step, with an explicit remeshing of the crack.
- Linear Elastic Fracture Mechanics: Utilizes GMERR for determine the direction of crack propagation.
- Anisotropic Media Simulation: Accurately models crack propagation in materials with directionally dependent properties.
Installation
To install gcrack, follow these steps:
-
Create and activate a new conda environment:
conda create -n gcrack conda activate gcrack
-
Install the required dependencies:
conda install -c conda-forge numpy sympy mpich python-gmsh fenics-dolfinx pyvista jax jaxlib=*=*cpu*
-
Install gcrack:
pip install . # If you cloned the repo pip install gcrack # If you want to install from pypi
How to Use
Examples are provided in the gcrack/examples/ directory. Each example typically includes:
run.py: Contains the problem definition and simulation setup.display_results.py: Script to visualize the simulation results.- Makefile: Automates the simulation process.
To run a simulation, follow these steps:
-
Activate the conda environment:
conda activate gcrack
-
Navigate to the example directory and run the simulation:
cd gcrack/examples/example_name make simulation
Metadata
Release files for gcrack 2026.6.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gcrack-2026.6.9.tar.gz | 45.3 kB | With provenance | Details for gcrack-2026.6.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gcrack-2026.6.9-py3-none-any.whl | Python 3 | none | any | Details for gcrack-2026.6.9-py3-none-any.whl |
Total release size: 97.4 kB
Release files / gcrack-2026.6.9.tar.gz
| Download URL | gcrack-2026.6.9.tar.gz |
|---|---|
| Size | 45.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fef06ed07938610bf1f769497f814b00503f414e4e49a83f4c1c4bd3c7392f88
|
|
BLAKE2b-256 checksum How to use checksums |
78c944ff1a9c4f6c344840bee136c2f88bead5c3c7216bc2d9503db2f7724492
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gcrack-2026.6.9-py3-none-any.whl
| Download URL | gcrack-2026.6.9-py3-none-any.whl |
|---|---|
| Size | 52.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5b7830d8f9a1d1d1237ce0898eb38b8feead29c1fd02f40d60740af46b2bd1b
|
|
BLAKE2b-256 checksum How to use checksums |
499986adc1bd1b1615791d7f97434fe3dcc4c22e776b4bf7b1c2f22f06a53520
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logSecurity for gcrack 2026.6.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for gcrack-2026.6.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.