GNU General Public License v3.0

项目介绍

yexiang92/opstool 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前获得 145 个 Star、35 次 Fork。

仓库全名
yexiang92/opstool
开源许可证
GNU General Public License v3.0
Star 数
145
Fork 数
35
未关闭 Issue
14

README 摘要

opstool: Pre-Processing, Post-Processing, and Visualization for OpenSeesPy and OpenSees opstool is a powerful and user-friendly package designed to simplify and enhance structural analysis workflows with OpenSees and OpenSeesPy. It provides advanced tools for preprocessing, postprocessing, and visualization, making structural simulations more efficient and accessible. Installation The package is still under…

完整内容见 GitHub 原始 README 或本页 。

常见问题

opstool 用什么语言开发?

主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前有 145 个 Star。

opstool 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 opstool 的源码?

可以直接克隆仓库:git clone https://github.com/yexiang92/opstool.git,默认分支为 master;安装与运行步骤见仓库 README。

opstool 最近还在维护吗?

仓库最近一次更新为 9月20日,当前有 14 个未关闭 Issue;Star 数为 145,可作为社区活跃度的参考。

关于

Pre-Processing, Post-Processing, and Visualization Tailored for OpenSeesPy

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
217
价值分
97
活跃状态
活跃

语言占比

Dockerfile
Makefile
Python
Shell

Release

README

opstool: Pre-Processing, Post-Processing, and Visualization for OpenSeesPy and OpenSees

pypi Downloads Documentation Status github stars GitHub License CodeFactor

opstool is a powerful and user-friendly package designed to simplify and enhance structural analysis workflows with OpenSees and OpenSeesPy. It provides advanced tools for preprocessing, postprocessing, and visualization, making structural simulations more efficient and accessible.

Installation

The package is still under development. To use, install opstool from opstool-PyPI:

pip install --upgrade opstool

The restriction on the python version mainly depends on openseespy, it is recommended that you use Miniconda or Anaconda Distribution to avoid library version incompatibilities.

After installing, open Anaconda Prompt to execute the following code:

conda create -n opensees python=3.12 numpy scipy pandas xarray notebook matplotlib
conda activate opensees
pip install openseespy
pip install opstool

image.png

  • The first line of code will create an environment called opensees and install Python 3.12 and libraries such as numpy, scipy, pandas, xarray, notebook, matplotlib, etc.
  • Please use conda activate opensees to activate the environment, and then you can install various third-party packages in the environment, such as pip install openseespy and pip install opstool.
  • You can also install the packages from anaconda / packages, such as conda install conda-forge::scikit-learn.

Document

Latest: See https://opstool-doc.readthedocs.io/en/latest/.

For v1.0.20 and earlier versions See https://opstool.readthedocs.io/en/v1.0.20/

Tip 提示

Since an opstool version v1.0.1, the API and features have undergone significant changes and upgrades. As a result, it feels more like a new library, and you should take some time to familiarize yourself with the new interface usage.

Citing

If you use opstool in your work, please cite the following publication:

Yexiang Yan and Yazhou Xie. “opstool: A Python library for OpenSeesPy analysis automation, streamlined pre-and post-processing, and enhanced data visualization.” SoftwareX 30 (2025): 102126. DOI: https://doi.org/10.1016/j.softx.2025.102126

Acknowledgements

I sincerely thank EOS for the Honorable Mention in Pre/Post-processing & Implementations at the 1st EOS OpenSees Research and Innovation Awards.

🎉 Announcing the Winners of the 1st EOS OpenSees Research and Innovation Awards! 🎉

Key Features

  1. Preprocessing Tools:
    • Fiber Section Meshing: Generate detailed fiber meshes for various geometries.
    • GMSH Integration: Import and convert Gmsh models, including geometry, mesh, and physical groups.
    • Unit System Management: Ensure consistency with automatic unit conversions.
    • Mass Generation: Automate lumped mass calculations.
  2. Postprocessing Capabilities:
    • Easy retrieval and interpretation of analysis results using xarray.
  3. Visualization:
    • Powered by Pyvista (VTK-based) and Plotly (web-based).
    • Nearly identical APIs for flexible visualization of model geometry, modal analysis, and simulation results.
    • Supports most common OpenSees elements.
  4. Intelligent Analysis:
    • Features like automatic step size adjustment and algorithm switching to optimize simulation workflows. See Smart Analysis.
    • Moment-Curvature Analysis: Generate moment-curvature curves for various sections.

Why Choose opstool?

  • Efficiency: Streamlines complex workflows, reducing time spent on repetitive tasks.
  • Flexibility: Provides nearly identical interfaces for different visualization engines.
  • Accessibility: Makes advanced structural analysis tools like OpenSeesPy more approachable to users of all levels.

opstool is actively evolving, with continuous additions of new features planned for the future. With opstool, you can focus on what matters most: understanding and solving your structural engineering challenges. Whether you are building models, visualizing results, or interpreting data, opstool is your go-to solution for OpenSeesPy workflows.

[!NOTE]
This project is a non-profit open-source initiative. Use at your own risk.

License

This software is published under the GPLv3 license.

评论

暂无评论