Fast Efficient Meshing for OpenSees-based Resilience Analysis
Project description
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.
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
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 femora-0.1.0.7.tar.gz.
File metadata
- Download URL: femora-0.1.0.7.tar.gz
- Upload date:
- Size: 403.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3405148d54df8fb728db37890b960f44c5fb55fbf9c8f2a6e1f75a27c7f18d9
|
|
| MD5 |
3a97a32fcd364e92903c0913a2369546
|
|
| BLAKE2b-256 |
77a4c5e3d91ed71e4937117a42736f909bd50464611625540469717f2116a534
|
File details
Details for the file femora-0.1.0.7-py3-none-any.whl.
File metadata
- Download URL: femora-0.1.0.7-py3-none-any.whl
- Upload date:
- Size: 463.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
321fb4ef779c7edb6a647f0bdc9116809deedefe88d41d1c78d27f7b63023755
|
|
| MD5 |
e5fb5b8ca332c2084115f9085090c158
|
|
| BLAKE2b-256 |
dca533cdc976382a1bc024e04c16765c74b79db24f5fa7508d62437aef1c6c26
|