OpenSees as an Engine for
Web-Based Applications
Yadong Jiang, Rui Barros and José Miguel Castro
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Contents
• Objectives
• Analysis of Composite Cross-Sections in OpenSees
• Implementation of the web service
• Development of the web application
• Conclusions
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Objectives• Test the implementation of OpenSees as the engine for
web service applications
• Development of a web application for cross-section analysis (steel, composite, etc.) FLANGE+WEB
• Derivation of N-M interaction curves using OpenSees for the case of complex cross-sections
• Implementation of a web API Turn the calculation scripts accessible from any client software
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Cross-section• N-M interaction curves are widely used in engineering
design
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Analysis of Composite Cross-Sections in OpenSees
• Problem description:
M
N
z
x
H
Moment-Curvature analysis
Workshop on Multi-Hazard Analysis of Structures using OpenSees
• FiberSection
Steel
σ
ε
σ
εz
y
Steel
Concrete
Steel
Steel
(a) Section division (b) Concrete constitute law (c) Steel constitute law
B
H
t
• Zero-length Element
Analysis of Composite Cross-Sections in OpenSees
Workshop on Multi-Hazard Analysis of Structures using OpenSees
• Biaxial Bending
z
yx
N
My
Mz
My/Mz ranges from 0 to +∞
Analysis of Composite Cross-Sections in OpenSees
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Analysis of Composite Cross-Sections in OpenSees
-2500
-2000
-1500
-1000
-500
0
500
1000
1500
0 50 100 150
Forc
e [k
N]
Moment [kNm]
EC4
OpenSees
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Implementation of the web service• User input data:
B, H, (D), t, fc, fy
Python
Rendered ScriptTemplate
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Implementation of the web service
Web Apps
Other Clients(Excel,
Matlab, etc)
WEB Service
API(Python)
Circular Section A(Python)
Rectangular Section B(Python)
Script A(Tcl)
Script B(Tcl)
Tcl TemplateOpenSees
Server Internet
D,t,fc,fy
B,H,t,fc,fy
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Implementation of the web service
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Implementation of the web service
http://openg.fe.up.pt/api/sections/composite/circular?D=200&t=3&fck=25.0&fy=275.0
http://openg.fe.up.pt/api/
sections/composite/circular?D=200&t=3&fck=25.0&fy=275.0
Section Type Parameters
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Development of the web applicationhttp://openg.fe.up.pt/flangeplusweb2.0/
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Conclusions• A web application developed for cross-section analysis
• OpenSees serves as the engine for the web service calculations Extremelly efficient for relatively simple problems
• Implementation of new types of cross-section in the web service
• Parallelization of the analysis for cases in which the requests may take longer to process 3D interaction curves
Future works
Workshop on Multi-Hazard Analysis of Structures using OpenSees
Thank you for your attention!
Top Related