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 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

  1. Install a conda distribution. 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:

  1. Parse and handle vtk files, as well as extracting from region of interests (e.g., a sphere, a box within the model).

  2. Post-process the scalar/vector/tensor data and visualize structural-geology variables of interests.

Roadmap and Known Issues

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

fem2geo-0.0.1-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

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

Hashes for fem2geo-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bda89425f467582ea5a766c092f060e6c136fe072dd8223ff62537bb48f1fead
MD5 59ff9f718b69cec4d780521a1ff60ace
BLAKE2b-256 d55ed16fe8eb99a6c94f3ddab091c5ebb854b3f3835dcc95c5f1d7fec7421d71

See more details on using hashes here.

Provenance

The following attestation bundles were made for fem2geo-0.0.1-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