Physics-based Modeling to Structural Geology and Seismology
Project description
fem2geo
Physics-Based Modeling to Structural Geology and Seismology
A library to perform structural geology and seismology analyses on data generated by finite element (FEM) or boundary element (BEM) models.
Key capabilities:
- Read and load simulation outputs
- Visualize stress orientations in stereonets
- Slip/dilation tendency analysis
- Compare simulations with observational data
Table of Contents
Installation
Latest version
For the newest features:
sudo apt install git python3-pip python3-venv
git clone https://github.com/pabloitu/fem2geo
cd fem2geo
python3 -m venv venv
source venv/bin/activate
pip install -e .
Stable version (from PyPI)
Install the latest released version:
python3 -m venv venv
source venv/bin/activate
pip install fem2geo
Tutorials are distributed separately (not included in the PyPI package). Download the tutorials from the latest GitHub release into ./tutorials:
fem2geo download-tutorials
Run
Run an example from the tutorials/ folder:
cd tutorials
python3 A_principal_directions.py
Currently supported inputs are .vtk / .vtu files from Adeli 3D FEM models. The workflow is broadly:
- Parse and subset FEM/BEM outputs (e.g., regions of interest like spheres/boxes).
- Post-process scalar/vector/tensor data and compute/visualize structural geology variables of interest.
Roadmap / Known Issues
- Review/validate core functions; standardize function signatures and discretization defaults.
- Define a minimal
.vtuinput schema (names/units) and allow user mapping of field names (e.g.,Stress1_(MPa)variants). - Clarify/document effective stress / pore-pressure handling and orientation conventions (strike/dip, axes).
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 fem2geo-0.1.0.tar.gz.
File metadata
- Download URL: fem2geo-0.1.0.tar.gz
- Upload date:
- Size: 47.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dbd822fd219b86c7007981f9216145b52c8b15b3a34f928764591f9e48712a4
|
|
| MD5 |
7c03b75078e23c4991edfe246f22281c
|
|
| BLAKE2b-256 |
0101722d151f5443589924df0c3f8db9f4bc4636f47beb07a26daccdcd9529ed
|
Provenance
The following attestation bundles were made for fem2geo-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on pabloitu/fem2geo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fem2geo-0.1.0.tar.gz -
Subject digest:
3dbd822fd219b86c7007981f9216145b52c8b15b3a34f928764591f9e48712a4 - Sigstore transparency entry: 1123199733
- Sigstore integration time:
-
Permalink:
pabloitu/fem2geo@4e2a58160c91e935db3703e407d1f0f1372bf8f9 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/pabloitu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@4e2a58160c91e935db3703e407d1f0f1372bf8f9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fem2geo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fem2geo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 38.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd1b7f93a49dcee6a7e6379d39b90ce2a66c9ef6dc5281cb999c488ff229608d
|
|
| MD5 |
f3e0a27fcc3e910488007acb33c1fb0f
|
|
| BLAKE2b-256 |
2e042354377ba2a58f63cb2cb40fd77f6cc8676a9228b0147a9591249623e8cf
|
Provenance
The following attestation bundles were made for fem2geo-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on pabloitu/fem2geo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fem2geo-0.1.0-py3-none-any.whl -
Subject digest:
bd1b7f93a49dcee6a7e6379d39b90ce2a66c9ef6dc5281cb999c488ff229608d - Sigstore transparency entry: 1123199738
- Sigstore integration time:
-
Permalink:
pabloitu/fem2geo@4e2a58160c91e935db3703e407d1f0f1372bf8f9 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/pabloitu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@4e2a58160c91e935db3703e407d1f0f1372bf8f9 -
Trigger Event:
push
-
Statement type: