Documente Academic
Documente Profesional
Documente Cultură
for SE 207: Nonlinear Structural Analysis by Quan Gu, Andre Barbosa, and Joel Conte
1
PDF "pdfFactory Pro" www.fineprint.cn
Introduction to OpenSees
OpenSees (Open System for Earthquake Engineering Simulation) is an open source software framework used to model structural and geotechnical systems and simulate their earthquake response. This framework has been under development by the Pacific Earthquake Engineering Research Center (PEER) since 1997. OpenSees has been recently adopted as a NEESgrid simulation component. Website: http://opensees.berkeley.edu
2
PDF "pdfFactory Pro" www.fineprint.cn
3
PDF "pdfFactory Pro" www.fineprint.cn
Public methods
void setE (double passedE) {E=passedE;} void setStrain (double pStrain) { strain = pStrain;} double getStrain (void) {return strain;} double getStress (void) { stress = strain*E; return stress; } double getTangent (void) { return E; } private: double E; double strain; double stress; };
Material object
Set value of E Set value of Get value of Get value of Get Tangent
E, ,
Private members
4
Matlab: theMat.E = 2.1E11; int main (int argc, char* argv[]) { Material theMat; //create an object and allocate the memory for this object theMat.setE(2.1e11); //call the objects method to modify its variable theMat.setStrain(0.001); //call the objects method to modify its variable double stress = theMat.getStress(); //call the objects method printf("stress is: %f \n", stress); In Matlab: getStress( 0.001); return 0; } Output: stress is: 210000000.000000
5
PDF "pdfFactory Pro" www.fineprint.cn
};
II. III.
K dyn T
0
n +1
0 n+1 n
un
2 n+1
n+1
n = 0
u1 n u
1 n +1
u 2 n u
2 n +1
u3 n u
3 n +1
7
PDF "pdfFactory Pro" www.fineprint.cn
Private methods are called only by themselves Private data are managed only by themselves
8
PDF "pdfFactory Pro" www.fineprint.cn
C:\>dir C:\> 9
Using Tcl
10
PDF "pdfFactory Pro" www.fineprint.cn
Using Tcl
12
PDF "pdfFactory Pro" www.fineprint.cn
13
PDF "pdfFactory Pro" www.fineprint.cn
14
PDF "pdfFactory Pro" www.fineprint.cn
y x
15
PDF "pdfFactory Pro" www.fineprint.cn
16
PDF "pdfFactory Pro" www.fineprint.cn
17
PDF "pdfFactory Pro" www.fineprint.cn
18
PDF "pdfFactory Pro" www.fineprint.cn
Axial Load, P
Concrete crushes before steel yields Steel yields before concrete crushes Moment
19
General Procedure
For various levels of axial load, increase curvature of the section until a concrete strain of 0.003 is reached. Files used:
Axial Load, P P M
Mp.tcl model.tcl
Output:
mp.out
Moment = f()
20
PDF "pdfFactory Pro" www.fineprint.cn
21
PDF "pdfFactory Pro" www.fineprint.cn
Fiber section
$epsU $eps0 stress
Concrete01
strain
y
z1 -z1
y1
cover
stress
-y1
Steel01
$b*E0
22
PDF "pdfFactory Pro" www.fineprint.cn
Interaction Diagram
Reinforced Concrete: Mechanics and Design (4th Edition) by James G. MacGregor, James K. Wight
0.003 c= d1 ; where s1 = Z y 0.003 s1 c di f si = si Es ; f si f y si = 0.003 c f c 1 = 1.05 0.05 1000 psi Cc = ( 0.85 f c)( ab ) ; a = 1c if a < di Fsi = f si Asi (positive in compression) else Fsi = ( f si 0.85 f c) Asi
Pn = Cc + Fsi
i =1
a n M n = Cc y + Fsi ( y di ) 2 i =1
y= h for symmetric sections 2
23
Interaction Diagram
Column Interaction Diagram 1600 1400 Axial Load [kips] 1200 1000 800 600 400 200 0 0 100 200 300 Moment [kips-ft] 400 OpenSees Textbook
24
PDF "pdfFactory Pro" www.fineprint.cn