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 Distribution

fem2geo-0.0.2.tar.gz (25.1 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.0.2-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file fem2geo-0.0.2.tar.gz.

File metadata

  • Download URL: fem2geo-0.0.2.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for fem2geo-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3276a605ebeb5e2c70e631b301e168f17b70a66b2e9ba537657956771047b00e
MD5 7f2bd2291cb92f945466d0a89afe1327
BLAKE2b-256 f96c2db35a0597f68f1f650717b07d2d08a01ecdd1ec7010fee5f24973bf870b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fem2geo-0.0.2.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.0.2-py3-none-any.whl.

File metadata

  • Download URL: fem2geo-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 22.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd1350316eb3cf67635ed25f6790c6f6ac5a3304f03a6041e5a3054b6f38d8eb
MD5 b3e4d7e45bea973b7348b36f79cd4cbe
BLAKE2b-256 f20be68722237fc61e444aba900a62843e059348bb18aec0478b090e2270a6f3

See more details on using hashes here.

Provenance

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