OpenSees as an Engine for Web-based Applications

16
OpenSees as an Engine for Web-Based Applications Yadong Jiang, Rui Barros and José Miguel Castro

description

Presentation made by Yadong Jiang @ University of Porto during the OpenSees Days Portugal 2014 workshop

Transcript of OpenSees as an Engine for Web-based Applications

Page 1: OpenSees as an Engine for Web-based Applications

OpenSees as an Engine for

Web-Based Applications

Yadong Jiang, Rui Barros and José Miguel Castro

Page 2: OpenSees as an Engine for Web-based Applications

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

Page 3: OpenSees as an Engine for Web-based Applications

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

Page 4: OpenSees as an Engine for Web-based Applications

Workshop on Multi-Hazard Analysis of Structures using OpenSees

Cross-section• N-M interaction curves are widely used in engineering

design

Page 5: OpenSees as an Engine for Web-based Applications

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

Page 6: OpenSees as an Engine for Web-based Applications

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

Page 7: OpenSees as an Engine for Web-based Applications

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

Page 8: OpenSees as an Engine for Web-based Applications

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

Page 9: OpenSees as an Engine for Web-based Applications

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

Page 10: OpenSees as an Engine for Web-based Applications

Workshop on Multi-Hazard Analysis of Structures using OpenSees

Implementation of the web service

Page 11: OpenSees as an Engine for Web-based Applications

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

Page 12: OpenSees as an Engine for Web-based Applications

Workshop on Multi-Hazard Analysis of Structures using OpenSees

Implementation of the web service

Page 13: OpenSees as an Engine for Web-based Applications

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

Page 14: OpenSees as an Engine for Web-based Applications

Workshop on Multi-Hazard Analysis of Structures using OpenSees

Development of the web applicationhttp://openg.fe.up.pt/flangeplusweb2.0/

Page 15: OpenSees as an Engine for Web-based Applications

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

Page 16: OpenSees as an Engine for Web-based Applications

Workshop on Multi-Hazard Analysis of Structures using OpenSees

Thank you for your attention!