caricato da dio

# Esempio Portale Passo Passo

```OpenSees and NEESgrid Simulation Component
User Workshop, 2-3 Sept 2004
Structural Example –
Reinforced-Concrete Frame:
Building the Model
Silvia Mazzoni
University of California, Berkeley
Sponsored by the National Science Foundation
through the Pacific Earthquake Engineering Research Center
and the NEESgrid System Integration Project
problem statement
• Reinforced-Concrete Portal Frame
these elements can be replaced by more refined element
models)
• use kip, inch and sec as basic units
GEOMETRY
4000kip
B
5’
B
A
A
A
A
5’
36’
8’
5’
Y
Z
X
42’
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
section A-A
section B-B
2
1
Model Builder command
• Defining the model builder expands the Tcl command
library to include OpenSees-specific commands,
such as node and element definition, etc. Currently,
there is only one model builder available, basic model
builder, this is the model builder that includes all the
commands presented in this library.
• The model builder also defines the number of
dimensions (ndm) and degrees of freedom per node
(ndf).
• For a 2-D problem, you really only need three
degrees of freedom at each node, the two
translations in the plane and the rotation about the
plane's normal:
model basic -ndm 2 -ndf 3
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
3
Nodes
• nodal coordinates:
fix 1 1 1 1
fix 2 1 1 1
fix 3 0 0 0
fix 4 0 0 0
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
1
3
node
4
2
element
1
node
Y
X
node
2
4000. kip
• nodal masses:
mass 3 5.18 0. 0.
mass 4 5.18 0. 0.
3
element
• bondary conditions:
node
element
node 1 0 0
node 2 504 0
node 3 0 432
node 4 504 432
mass
2
ft . 12. inch
32.2.
sec
1. ft
5.18
4
2
Elements -- properties
columns
area
3600
inch
( 5. ft ) . 12.
ft
moment of
inertia Iz
beam
5760
. ( 5. ft ) . 12. inch
ft
inch
( 5. ft ) . 12.
ft
1080000
1.
inch
( 5. ft ) . 12.
12
ft
. ( 8. ft ) . 12. inch
ft
4423680
. ( 5. ft ) . 12. inch
ft
3
1.
12
inch
( 5. ft ) . 12.
ft
. ( 8. ft ) . 12. inch
ft
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
3
5
Elements – orientation and
connectivity
• transformation:
– local element coordinates &Icirc; global model coordinates. In a
2D problem, element orientation does not need to be
considered, and same for all elements
geomTransf Linear 1
• connectivity:
– arguments: \$eleTag \$iNode \$jNode \$A \$E \$Iz \$transfTag
element elasticBeamColumn 1 1 3 3600 4227 1080000 1
element elasticBeamColumn 2 2 4 3600 4227 1080000 1
element elasticBeamColumn 3 3 4 5760 4227 4423680 1
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
6
3
• Gravity loads are independent of the type of
part of the structural model.
• Equivalend member-end forces for distributed
Force
Force
4000. kip
2
2000. kip
4000. kip
inch
( 42. ft ) . 12.
ft
Moment
Moment
Moment
Y
kip
7.94.
inch
X
kip .
inch
7.94.
42. ft. 12.
inch
ft
12
12
2
Force
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
2
168074. kip. in
7
pattern Plain 1 Linear {
}
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
8
4
Recorders
• horizontal and vertical displacements at node 3 into a file
named Node3.out:
recorder Node file Node3.out -time -node 3 -dof 1 2 disp
• local element forces for element 1 into file Element1.out:
recorder Element -file Element1.out -time -ele 1 force
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
9
Summary: example.tcl
model basic -ndm 2 -ndf 3
# nodal coordinates:
node 1 0 0
node 2 504 0
node 3 0 432
node 4 504 432
# bondary conditions:
fix 1 1 1 1
fix 2 1 1 1
fix 3 0 0 0
fix 4 0 0 0
# nodal masses:
mass 3 5.18 0. 0.
mass 4 5.18 0. 0.
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
# transformation:
geomTransf Linear 1
# connectivity:
element elasticBeamColumn 1 1 3 3600 4227 1080000 1
element elasticBeamColumn 2 2 4 3600 4227 1080000 1
element elasticBeamColumn 3 3 4 5760 4227 4423680 1
pattern Plain 1 Linear {
}
# recorders
recorder Node file Node3.out -time -node 3 -dof 1 2 disp
recorder Element -file Element1.out -time -ele 1 force
10
5
execute: line commands
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
11
execute: source input file
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
12
6
demo
Silvia Mazzoni, UC Berkeley
OpenSees User Workshop 2004
13
7
```