Physics-based Modeling to Structural Geology and Seismology
Project description
fem2geo
Physics-Based Modeling to Structural Geology and Seismology
A library that aims to perform traditional structural geology or seismology analyses on data generated by finite element models (FEM) or boundary element models (BEM).
- Read and Load Simulation
- Visualizing stress orientations in stereo-plots
- Creating slip/dilation tendency analysis.
- Compare simulations to real data
Table of Contents
Installation and Setup
Latest version
The package requires a python version >= 3.10 and the following dependencies:
sudo apt install git python3-pip python3-virtualenv
Create a virtual environment, clone the repository and install fem2geo with:
git clone https://github.com/pabloitu/fem2geo
cd fem2geo
python3 -m venv venv
source venv/bin/activate
pip install -e .
From PyPI
The package requires a python version >= 3.10. Create a virtual environment and install using:
python -m venv venv
pip install fem2geo
From conda
- Install a
condadistribution. Anaconda is recommended if you use Windows and want to have a GUI/IDE for python with spyder, but Miniforge is recommended for a lightweight Linux installation. Run in the terminal:
conda create -n fem2geo python=3.12
conda install -c conda-forge fem2geo
Run
Run an example from the examples folder with:
cd examples
python3 A_principal_directions.py
The currently supported inputs are .vtk or .vtu files from the Adeli 3D FEM program. The code consists in two parts:
-
Parse and handle
vtkfiles, as well as extracting from region of interests (e.g., a sphere, a box within the model). -
Post-process the scalar/vector/tensor data and visualize structural-geology variables of interests.
Roadmap and Known Issues
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 Distributions
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.0.1-py3-none-any.whl.
File metadata
- Download URL: fem2geo-0.0.1-py3-none-any.whl
- Upload date:
- Size: 21.2 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 |
bda89425f467582ea5a766c092f060e6c136fe072dd8223ff62537bb48f1fead
|
|
| MD5 |
59ff9f718b69cec4d780521a1ff60ace
|
|
| BLAKE2b-256 |
d55ed16fe8eb99a6c94f3ddab091c5ebb854b3f3835dcc95c5f1d7fec7421d71
|
Provenance
The following attestation bundles were made for fem2geo-0.0.1-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.0.1-py3-none-any.whl -
Subject digest:
bda89425f467582ea5a766c092f060e6c136fe072dd8223ff62537bb48f1fead - Sigstore transparency entry: 1031786259
- Sigstore integration time:
-
Permalink:
pabloitu/fem2geo@5a3146471d91d0476ec35f6b07558441f263d39e -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/pabloitu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5a3146471d91d0476ec35f6b07558441f263d39e -
Trigger Event:
push
-
Statement type: