Important
Version |opspy_version| is released!
OpenSeesPy is on :doc:`src/pypi`.
The latest version of this document can be found at https://openseespydoc.readthedocs.io/en/latest/.
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.
`OpenSeesPy`_ is a `Python 3`_ interpreter of `OpenSees`_. A minimum script is shown below:
# import OpenSeesPy
import openseespy.opensees as ops
# import OpenSeesPy plotting commands
import openseespy.postprocessing.Get_Rendering as opsplt
# wipe model
ops.wipe()
# create model
ops.model('basic', '-ndm', 2, '-ndf', 3)
# plot model
opsplt.plot_model()
To run a test of the pip installation:
pytest --pyargs openseespy.test
Minjie Zhu
Research Associate
Civil and Construction Engineering
Oregon State University
.. toctree:: :maxdepth: 1 :numbered: :caption: Contents src/installation src/compile src/changelog src/modelcmds src/analysiscmds src/outputcmds src/utilitycmds src/fsicmds src/senscmds src/reliabilitycmds src/parallelcmds src/preprocessing src/postprocessing src/examples