Solver for Linear Elastic Fracture Mechanics problems
Project description
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 .
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gcrack-2026.1.26.tar.gz.
File metadata
- Download URL: gcrack-2026.1.26.tar.gz
- Upload date:
- Size: 40.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
073b7ab20c4a09457e2f5e3abdd919aa68a6af2e7920862db969f84745914ed8
|
|
| MD5 |
86b823a88fbde6f56cc0d6c489a02edd
|
|
| BLAKE2b-256 |
616b5bc660286ed8ea051db588d40c053fd6abd19e39558c3b9c336a8203360c
|
Provenance
The following attestation bundles were made for gcrack-2026.1.26.tar.gz:
Publisher:
deploy_pypi_package.yml on floiseau/gcrack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gcrack-2026.1.26.tar.gz -
Subject digest:
073b7ab20c4a09457e2f5e3abdd919aa68a6af2e7920862db969f84745914ed8 - Sigstore transparency entry: 855357170
- Sigstore integration time:
-
Permalink:
floiseau/gcrack@546298400f31d50a482d22edf68614c50de89f9c -
Branch / Tag:
refs/tags/v2026.01.26 - Owner: https://github.com/floiseau
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy_pypi_package.yml@546298400f31d50a482d22edf68614c50de89f9c -
Trigger Event:
release
-
Statement type:
File details
Details for the file gcrack-2026.1.26-py3-none-any.whl.
File metadata
- Download URL: gcrack-2026.1.26-py3-none-any.whl
- Upload date:
- Size: 45.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64bde1cda0b6b77ffca51b708499ca5cc6b331182674a712f893f3dbb54ff71f
|
|
| MD5 |
323174517e2ea63fdf3b9b5e711c95ca
|
|
| BLAKE2b-256 |
9723b24e4658cc382055253a2a35c36fe94903a39afaa981771caa3e34002ffa
|
Provenance
The following attestation bundles were made for gcrack-2026.1.26-py3-none-any.whl:
Publisher:
deploy_pypi_package.yml on floiseau/gcrack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gcrack-2026.1.26-py3-none-any.whl -
Subject digest:
64bde1cda0b6b77ffca51b708499ca5cc6b331182674a712f893f3dbb54ff71f - Sigstore transparency entry: 855357181
- Sigstore integration time:
-
Permalink:
floiseau/gcrack@546298400f31d50a482d22edf68614c50de89f9c -
Branch / Tag:
refs/tags/v2026.01.26 - Owner: https://github.com/floiseau
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy_pypi_package.yml@546298400f31d50a482d22edf68614c50de89f9c -
Trigger Event:
release
-
Statement type: