FEMORA - Fast Efficient Meshing for OpenSees-based Resilience Analysis
A powerful framework for finite element meshing and seismic analysis
Overview
FEMORA (Fast Efficient Meshing for OpenSees-based Resilience Analysis) is a Python-based framework designed to simplify the creation, management, and analysis of complex finite element models for seismic analysis. Built on top of OpenSees, FEMORA provides an intuitive API for mesh generation, material definition, and analysis configuration with a focus on soil dynamics and seismic simulations.
Key Features
- Powerful Mesh Generation: Create complex 3D soil and structural models with minimal code
- Domain Reduction Method (DRM): Advanced seismic analysis technique for realistic wave propagation
- Material Library: Comprehensive collection of soil and structural materials
- Analysis Components: Full suite of solvers, algorithms, integrators, and convergence tests
- Visualization Tools: Built-in visualization capabilities for model inspection and result analysis
- OpenSees Integration: Seamless export to OpenSees TCL files for simulation
- GUI Support: Optional graphical interface for model construction and visualization
Installation
Requirements
- Python 3.9 or higher
Using Virtual Environments (Recommended)
It's recommended to install FEMORA in a virtual environment to avoid conflicts with other Python packages:
# Create a virtual environment
python -m venv femora-env
# Activate the virtual environment
# On Windows
femora-env\Scripts\activate
# On Unix or MacOS
source femora-env/bin/activate
Method 1: Using pip
# Basic installation
pip install femora
# With GUI support
pip install femora[gui]
# Full installation with all dependencies
pip install femora[all]
Method 2: From Source
git clone https://github.com/amnp95/Femora.git
cd Femora
pip install -e . # Basic installation
pip install -e ".[gui]" # With GUI support
pip install -e ".[all]" # Full installation with all dependencies
Documentation
Comprehensive documentation is available at amnp95.github.io/Femora including:
- Getting Started Guide
- Installation Instructions
- Quick Start Tutorial
- Examples and Tutorials
- Technical Documentation
- Developer Guide
Examples
FEMORA includes several comprehensive examples:
Example files are available in the examples/ folder.
Contributing
Contributions are welcome! Please check out our contribution guidelines for details.
Code Style
FEMORA follows these style guidelines:
- Imports: PEP 8 order (stdlib → third-party → local)
- Classes: PascalCase with descriptive names
- Methods/Variables: snake_case
- Private attributes: Leading underscore (_variable_name)
- Type annotations: For all function parameters and returns
- Documentation: Google-style docstrings for classes and methods
- Error handling: Explicit exceptions with descriptive messages
License
This project is licensed under the [License Name] - see the LICENSE file for details.
Citing FEMORA
If you use FEMORA in your research, please cite:
@software{femora2025,
author = {Pakzad, Amin and Arduino, Pedro},
title = {FEMORA: Fast Efficient Meshing for OpenSees-based Resilience Analysis},
year = {2025},
url = {https://github.com/amnp95/Femora}
}
Contact
For questions or support, please contact email@example.com.
Metadata
Release files for femora 0.1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| femora-0.1.0.7.tar.gz | 403.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| femora-0.1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 866.8 kB
Release files / femora-0.1.0.7.tar.gz
| Download URL | femora-0.1.0.7.tar.gz |
|---|---|
| Size | 403.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3405148d54df8fb728db37890b960f44c5fb55fbf9c8f2a6e1f75a27c7f18d9
|
|
BLAKE2b-256 checksum How to use checksums |
77a4c5e3d91ed71e4937117a42736f909bd50464611625540469717f2116a534
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / femora-0.1.0.7-py3-none-any.whl
| Download URL | femora-0.1.0.7-py3-none-any.whl |
|---|---|
| Size | 463.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
321fb4ef779c7edb6a647f0bdc9116809deedefe88d41d1c78d27f7b63023755
|
|
BLAKE2b-256 checksum How to use checksums |
dca533cdc976382a1bc024e04c16765c74b79db24f5fa7508d62437aef1c6c26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|