OpenSeesPy: Python library for the OpenSees finite element framework

Minjie Zhu, Frank McKenna, Michael H. Scott

SoftwareX · 2017 · 406 citations · 7 references

DOIFull text

Open access

Concepts

TL;DR

OpenSees is an open‑source finite element framework widely used in earthquake engineering to simulate seismic responses of structural and geotechnical systems, historically driven by Tcl scripting and enabling serial and parallel analysis applications. The authors refactored the OpenSees interpreter interface to offer multi‑interpreter support, particularly adding Python as a scripting option. This refactoring produced OpenSeesPy, a Python module built on an abstract interpreter interface with concrete implementations for various scripting languages. The resulting interface allows users to develop applications that combine the strengths of multiple scripting languages while exploiting advanced finite element models and algorithms.

Abstract

OpenSees, an open source finite element software framework, has been used broadly in the earthquake engineering community for simulating the seismic response of structural and geotechnical systems. The framework allows users to perform finite element analysis with a scripting language and for developers to create both serial and parallel finite element computer applications as interpreters. For the last 15 years, Tcl has been the primary scripting language to which the model building and analysis modules of OpenSees are linked. To provide users with different scripting language options, particularly Python, the OpenSees interpreter interface was refactored to provide multi-interpreter capabilities. This refactoring, resulting in the creation of OpenSeesPy as a Python module, is accomplished through an abstract interface for interpreter calls with concrete implementations for different scripting languages. Through this approach, users are able to develop applications that utilize the unique features of several scripting languages while taking advantage of advanced finite element analysis models and algorithms.

References

7