Important

Version 3.5.1.12 is released!

Python 3.11 is required for Windows.

OpenSeesPy is on PyPi (Windows, Linux, Mac).

OpenSeesPy is free for research, education, and internal use. Commercial redistribution of OpenSeesPy, such as, but not limited to, an application or cloud-based service that uses import openseespy, requires a license similar to that required for commercial redistribution of OpenSees.exe. Contact Dr. Minjie Zhu (zhum@oregonstate.edu) for commercial licensing details.

Note

OpenSees Cloud is a SaaS implementation of OpenSees using cloud computing. Analyses run in the cloud on AWS while the front end integrates input, output, documentation, and a model viewer.

OpenSees Amazon Machine Image is a virtual machine that runs OpenSeesPy and OpenSeesMP with no additional compilation or installation required at low cost.

Note

Questions including modeling issues and the use of OpenSeesPy, please post on OpenSeesPy Forum.

You are very welcome to contribute to OpenSeesPy with new command documents and examples by sending pull requests through github pulls.

For errors in this document, submit on github issues.

The OpenSeesPy Library

OpenSeesPy is a Python 3 interpreter of OpenSees. A minimum script is shown below:

# import OpenSeesPy
import openseespy.opensees as ops

# wipe model
ops.wipe()

# create model
ops.model('basic', '-ndm', 2, '-ndf', 3)

# print model
ops.printModel()

Developer

Minjie Zhu

Research Associate
Civil and Construction Engineering
Oregon State University