ospgrillage is a python wrapper of the OpenSeesPy package to speed up the creation of bridge deck grillage models. OpenSeesPy is a python interpreter of the well-know Open System for Earthquake Engineering Simulation (OpenSees) software framework. ospgrillage provides a simple python API which allows users to:
- Quickly generate and analyze a bridge deck grillage model in the OpenSeesPy model space, including many forms of loading and load cases;
- Export a py file containing the OpenSeesPy commands, which on execution, creates the prescribed OpenSeesPy grillage model.
The ability to use ospgrillage directly to do bridge deck analysis, or to export the OpenSeesPy command file for further editing, facilites an enormous range of use cases in both practice and research.
ospgrillage's full documentation can be found here.
Install using pip:
pip install ospgrillage
Refer to installation for more information.
Check out our contributing guide to learn more on contributing, coding rules, community Code of Conduct and more.
If you use ospgrillage in you work, please cite the corresponding JOSS paper:
Ngan J.W. and Caprani, C.C. (2022), "ospgrillage: A bridge deck grillage analysis preprocessor for OpenSeesPy", Journal of Open Source Software, 7(77), 4404, doi.org/10.21105/joss.04404
- Beam elements only - a traditional form of model
- Beam elements with rigid links - a modification of the traditional form for box sections
- Shell and beam elements - the modern form of modelling, but with more complex results interpretation
- Single-span decks
- Skewed (Oblique) and Orthogonal meshes
- Positive and negative skew angles
- Allows for skew mesh to be set up to 30 degrees
- Allows for orthogonal mesh to be set no less than 11 degrees
- Grillage elements grouped automatically for easy assignment of properties
- Autodetect edges of spans as supporting nodes
- Allows for diaphragms / end slabs
- Allows for unit width properties for transverse slab/members
- Pinned and roller supports
The following OpenSees element types are supported:
elasticBeamColumn
TimoshenkoBeamColumn
- Shell elements
- A JSON materials library file for codified common material properties
- Nodal loads
- Point loads
- Line loads
- Patch loads
- Compound loads (any combination of the above load types)
- Load cases contain arbitrary multiple load types, including compound loads
- Moving load analysis of arbitrary load types through compound loads
- Output results utilise python's
xarray
format - Retrieve result envelopes from
xarray
results - Query options for moving load
- Plotting displacement and force component from the results
- Mayer Melhem for producing the documentation illustrations and the design of the ospgrillage logo.