Skip to main content

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:

  1. Parse and subset FEM/BEM outputs (e.g., regions of interest like spheres/boxes).
  2. 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 .vtu input 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fem2geo-0.1.0.tar.gz (47.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fem2geo-0.1.0-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

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

Hashes for fem2geo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3dbd822fd219b86c7007981f9216145b52c8b15b3a34f928764591f9e48712a4
MD5 7c03b75078e23c4991edfe246f22281c
BLAKE2b-256 0101722d151f5443589924df0c3f8db9f4bc4636f47beb07a26daccdcd9529ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for fem2geo-0.1.0.tar.gz:

Publisher: publish-pypi.yml on pabloitu/fem2geo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for fem2geo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd1b7f93a49dcee6a7e6379d39b90ce2a66c9ef6dc5281cb999c488ff229608d
MD5 f3e0a27fcc3e910488007acb33c1fb0f
BLAKE2b-256 2e042354377ba2a58f63cb2cb40fd77f6cc8676a9228b0147a9591249623e8cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for fem2geo-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on pabloitu/fem2geo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page