You are on page 1of 39

OpenSees:

Future Directions
Frank McKenna

First European Conference on OpenSees


Porto, Portugal June 19-20 2017
Outline
1. Python Interpreter
2. OpenSeesIDE
3. SimCenter
OpenSees Python Interpreter
We are releasing a beta version of a Python
interpreter.
Python is the most widely used programming
language taught in universities
We will release both Tcl and Python
interpreters for OpenSees(the python
interpreter might lack some functionality in
terms of available options)
# create model
ops.wipe()
ops.model("BasicBuilder", "-ndm",2, "-ndf",2)
ops.node(1, 0.0, 0.0)
ops.node(2, 144.0, 0.0)
ops.node(3, 168.0, 0.0)
ops.node(4, 72.0, 96.0)
ops.fix(1, 1, 1)
ops.fix(2, 1, 1)
ops.fix(3, 1, 1)
ops.uniaxialMaterial("Elastic", 1, 3000.0)
ops.element("truss", 1, 1, 4, 10.0, 1)
ops.element("truss", 2, 2, 4, 5.0, 1)
ops.element("truss", 3, 3, 4, 5.0, 1)

ops.timeSeries("Linear", 1)
ops.pattern("Plain", 1, 1, "-fact", 1.0)
ops.load(4, 100.0, -50.0)
ops.system("BandSPD")

ops.numberer("RCM")
ops.constraints("Plain")
ops.algorithm("Linear")
ops.integrator("LoadControl", 1.0)
ops.analysis("Static")

ops.recorder("Node", "-file", "example.out", "-time", "-node", 4, "-dof", 1, 2, "disp")


ops.analyze(1)
Outline
1. Python Interpreter
2. OpenSeesIDE
3. SimCenter
OpenSeesIDE
An integrated development environment for
developing OpenSees scripts. Contains:
File editor
Tcl Interpreter
3d Renderer
Outline
1. Python Interpreter
2. OpenSeesIDE
3. SimCenter
A Nation at Risk from Natural Hazards

Hurricanes
Tornadoes
Floods
Tsunami
Earthquake - High
Earthquake - Moderate
After: Crisis HQ (2012)
NHERI 10
A Cyberinfrastructure for the
Natural Hazards Community

11
DesignSafe-ci.org Vision
A CI that is an integral and dynamic part of research
discovery
Cloud-based tools that support the analysis,
visualization, and integration of diverse data types
Key to unlocking the power of big data
Support end-to-end research workflows and the
full research lifecycle, including data
sharing/publishing
Enhance, amplify, and link the capabilities of the
other NHERI components

12
DesignSafe-ci Cyberinfrastructure

Data Depot
Discovery Workspace

13
DesignSafe Data Depot

14
DesignSafe Data Depot

15
Discovery Workspace
Simulation and analysis tools
OpenSees, ADCIRC, OpenFOAM, Matlab, Paraview

16
The Simulation Applications Experts
Say We Need

Simulation Applications Identified:


1) Applications that generate Uncertainty in Response Quantities:
Earthquake
Wind
Water
2) Applications to perform Performance Based Engineering (PBE)
3) Applications for Community Resiliency

17
NHERI Computational
Modeling and
Simulation Center

NHERI
Leadership Group

Steve Mahin Ahsan Kareem Laura Lowes Greg Deierlein


UC Berkeley Notre Dame Washington Stanford

Sanjay Govindjee Camille Crittenden Frank McKenna Matt Schoettler


UC Berkeley UC Berkeley UC Berkeley UC Berkeley
We are providing a Software
Applications
The applications:
1) Applications that generate UQ in Response Quantities:
2) Applications to perform Performance Based Engineering
3) Applications for Community Resiliency

5 Year Project BUT 10-20 Year Vision


UQ Tool: Dakota-FEM

Application Developed to demonstrate


UQ to user. To allow user to take
existing input files (not SAM), identify
the parameters that should be
considered as random variables, assign
a distribution to those variables, define
EDP parameters and obtain the UQ in
the output.
SimCenter Framework
The applications will be developed using a new software framework.
A framework provides the developer a pre-defined set of interfaces
and an existing set of components that will allow them to build an
application.
The developer can extend the application by providing and integrating
their own component as long as it meets the interface.
The applications our framework will enable are workflow applications
in Natural Hazards Engineering.
A workflow application is a software application which
automates a process or processes (Wikipedia)

Basically we are combining multiple applications together to form super applications


SimCenter Workflow Applications

OpenSees of course is central to the framework!


PBE Application Sequence Diagram

24
Its all about defining INTERFACES
and FUNCTIONALITY of the
applications.
Defining Common Interfaces for the applications, i.e.
all take the same input and produce the same
output, with accomodation for application specific
information
Input & output files will be in JSON format. A number
of file types:
BM
EVENT
SAM
EDP
DL
Building Model (BM)
BM

1 0,1 0,1 0,1 0,1

GBI SIM XIM CIM RV

name
#floor
Area columnLines columnLines
type floorLines floorLines
Beams xPanels = composition
Columns (composed of)
Braces BM = Building Model
location
Walls GBI = General Building Info
Dampers SIM = Structural Info Model
Braces XIM = eXternal Info Model
Sections CIM = Contents Info Model
Materials
26
SAM Structural Analysis Model

SAM

Node Element Material Section RV

Uniform
Normal
Rvfield? Lognormal
Shell Beta
Shifted Exponential
Quad Gamma
ForceBeamColumn Chi-Square
Shifted Rayleigh
ConcentratedHingeBeamColumn Type I Largest Value
Type I Smallest Value
Type II Largest Value (also called F
Type III Smallest Value
Gumbel (same as Type I Largest Va
Weibull (special case of Type III Sm
= composition Laplace
Pareto
= inheritance Truncated Normal
Triangular
Inverse Gamma
Wishart distribution
27
Inverse Wishart distribution
EDP Engineering Demand Parameters

EDP

FloorDisp FloorAccel StoryDrift PanelPressure

columnLine columnLine columnLine columnLines[]


Floor Floor floor1 floors[]
data data Floor2 data
data

= Inheritance
(is a)
data: scalar or vector
EDP = Engineering
initially empty
Demand Parameter
single values
distribution (UQ)
28
Event (boundary condition & forces for model)
Event RV

Earthquake Wind Hydro

Uniform MultiSupport RockOutcrop Regional RegionalSim

AccelRecord DispRecord DRM Herceles


BoreHole
Lysmer ActiveEvent
File File
DB DB SoilLayer SW4
Synthetic Synthetic Dr. Arthur Rodgers, 29
Lawrence Livermore National Lab
Event (boundary condition & forces for model)
Event RV

Earthquake Wind Hydro

File DB CFD CFD- CFD- WRF


(LES/RANS) MultiFidelity MultiScale

Weather Forecast
Weather Event
Virtual
Other
OpenFoam Wind Collaborators
tunnel Codes
The Data is Passed Between
APPLICATIONS
Given Inputs and Outputs, what are the applications
to work on the DATA.
AI-M (BM,Event[]) -> SAM
FEM-UQ (BM,Event[],SAM)->EDP
DL (BM,Event[],SAM, EDP)->DL
Pre- and Post processors for a applications (python)
AI-M
AI to return the FEM Model Description(s) using information in the
knowledge base about how to model. The FEM Model
Descriptions to contain information as to uncertain variables and
information on credibility of the model.

AI-M KB-M

AI-M-NoSIM AI-M-Sim

Prof. Xinzheng Lu,


Tsinghua University,
P.R. China In 5 years we cannot do all building types
Will return models for a limited set of structure:
Regular Steel and Concrete Moment Frames
Braced Frame Buildings
Shear Wall Buildings 32
KB-M KB-M

Observational Data Numerical Simulation

GEI BM EDP Event EDP SAM

1 1 0,1 0,1 WE NEED EXPERIMENTAL


TESTS AND SIMULATION
GBI SIM XIM CIM INPUT FILES THAT
ATTEMPT TO PREDICT THE
RESPONSE
DB will stores the relation between observational data and numerical
simulation data AI-M can query the DB for these relations and the data, MOOC
e.g. get observational data and associated numerical simulations for all 33
concrete shear wall buildings.
FEM-UQ
FEM-UQ

FEM-UQ-ENGINE FEM

Dakota Matlab Rt FEAPpv OpenSees ESSI

Prof. Boris Jeremic,


Prof. Terje Haukaas,
UC Davis
University of British
Columbia, Canada

34
DL
DL KB-DL

Pact OpenSLAT Matlab


Functions

Prof. Brendon Bradley,


University of Canterbury, NZ.

35
Resilience
Ultimate goal to perform regional simulations and allow
decision makers to make informed decisions as to best
way to facilitate recovery from disaster
KB-BE + Regional Simulation + UrbanSIM (or other)
Integrating the Tools to Develop and Evaluate Sustainability Plans

UrbanSim:
A simulation platform for supporting planning and analysis of urban development, incorporating the interactions between
land use, transportation, the economy, and the environment.

37
Exploring a Connected Graph of the Metropolis

Micro

Macro
38
UrbanSim

Simulating individual choices such as household location, for entire populations, at an agent level.

39

You might also like