Académique Documents
Professionnel Documents
Culture Documents
Input from:
Vesna Terzic
& Selim Gunay
UC Berkeley
Agenda
• What is OpenSees?
• OpenSees Resources (command manual,
getting started manual, examples manual,
message board)
• Example of how to create model and run a
transient analysis of a cantilever column
• Capabilities of OpenSees
What is OpenSees?
• Command syntax:
command arg1 arg2 …
• Help:
http://www.tcl.tk/man/tcl8.5/tutorial/tcltutorial.html
Tcl examples (1)
•variables & variable substitution •lists
>set a 1 >set a {1 2 three}
1 1 2 three
>set b a >set la [llength $a]
a 3
>set b $a >set start [lindex $a 0]
1 1
>lappend a four
1 2 three four
•expression evaluation
>expr 2 + 3
5 •file manipulation
>set b [expr 2 + $b] >set fileId [open tmp w]
3 >puts $fileId “hello”
>close $fileID
>type tmp
•sourcing other files hello
>source Example1.tcl
http://opensees.berkeley.edu/wiki/index.php/Time_History
_Analysis_of_a_2D_Elastic_Cantilever_Column
Capabilities and Benefits of OpenSees
Freedom to change
the nonlinear
solution during the
analysis without a
requirement to
restart the analysis
Capabilities and Benefits of OpenSees