BuildingTcl: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
== '''BuildingTcl:'''==
== '''BuildingTcl:'''==


  - High-level scripting tool
  *High-level scripting tool
  - Generate building-model data
  *Generate building-model data
   - Materials
   - Materials
   - Sections
   - Sections
Line 21: Line 21:
   - Plan
   - Plan
   - 3D Frames
   - 3D Frames
  - Generate analysis-model data
  *Generate analysis-model data
  - Generate loading and load-combination data
  *Generate loading and load-combination data
  - Create OpenSees model of building
  *Create OpenSees model of building
  - Perform OpenSees numerical simulations
  *Perform OpenSees numerical simulations
  - Post-Process OpenSees recorder output into formatted data
  *Post-Process OpenSees recorder output into formatted data
  - Generate OpenSees input files
  *Generate OpenSees input files




Line 32: Line 32:
== '''BuildingTclViewer:'''==
== '''BuildingTclViewer:'''==


  - Graphical User Interface (GUI) for BuildingTcl
  *Graphical User Interface (GUI) for BuildingTcl
  - Generate and/or visualize ALL BuildingTcl input graphically
  *Generate and/or visualize ALL BuildingTcl input graphically
  - Save ALL input into BuildingTcl script
  *Save ALL input into BuildingTcl script
  - Perform numerical simulations using OpenSees interactively
  *Perform numerical simulations using OpenSees interactively
  - Visualize OpenSees simulation real-time
  *Visualize OpenSees simulation real-time
  - Pause and/or stop OpenSees analysis real-time
  *Pause and/or stop OpenSees analysis real-time
  - Visualize simulation results interactively
  *Visualize simulation results interactively
  - Export simulation results
  *Export simulation results




== '''[http://www.tcl.tk/ Tcl/Tk:]'''==
== '''[http://www.tcl.tk/ Tcl/Tk:]'''==
  - Tcl is the scripting language used by OpenSees.exe. It runs on Windows, Unix and Macintosh platforms.
  *Tcl is the scripting language used by OpenSees.exe. It runs on Windows, Unix and Macintosh platforms.
  - Tk is the graphical user interface toolkit associated with Tcl.
  *Tk is the graphical user interface toolkit associated with Tcl.
  - [http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm Tcl/Tk Commands]
  *[http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm Tcl/Tk Commands]




== Documentation ==
== Documentation ==
* [[BuildingTcl Installation Instructions]]
* [[BuildingTcl Installation Instructions]]
* [[Getting Started with BuildingTcl]]
* [[Getting Started with BuildingTcl]]
* [[BuildingTcl Command Language Manual]]
* [[BuildingTcl Command Language Manual]]






== Resources ==


* [http://peer.berkeley.edu/~silvia/BuildingTcl/BuildingTclBuildingTclViewer_files/slide0001.htm  Official BuildingTcl Web Site]
* [http://peer.berkeley.edu/~silvia/BuildingTcl/BuildingTclBuildingTclViewer_files/slide0001.htm  Official BuildingTcl Web Site]

Revision as of 02:32, 30 October 2009

&

BuildingTcl is a library of Tcl procedures (commands) used to build a database for numerical simulation of building frames. Structural model, loading and analysis data are included in this database. Additional procedures are available to perform the numerical simulation using OpenSees. BuildingTclViewer is a Tcl/Tk widget (program) that provides a graphical user interface to view the BuildingTcl database, run the numerical simulations using OpenSees interactively, and view the results interactively.


BuildingTcl:

*High-level scripting tool
*Generate building-model data
 - Materials
 - Sections
 - Element Types
 - Analysis Models
 - Loads (Gravity & Lateral)
 - Load Combinations
 - Models
 - Elevations
 - Plan
 - 3D Frames
*Generate analysis-model data
*Generate loading and load-combination data
*Create OpenSees model of building
*Perform OpenSees numerical simulations
*Post-Process OpenSees recorder output into formatted data
*Generate OpenSees input files


BuildingTclViewer:

*Graphical User Interface (GUI) for BuildingTcl
*Generate and/or visualize ALL BuildingTcl input graphically
*Save ALL input into BuildingTcl script
*Perform numerical simulations using OpenSees interactively
*Visualize OpenSees simulation real-time
*Pause and/or stop OpenSees analysis real-time
*Visualize simulation results interactively
*Export simulation results


Tcl/Tk:

*Tcl is the scripting language used by OpenSees.exe. It runs on Windows, Unix and Macintosh platforms.
*Tk is the graphical user interface toolkit associated with Tcl.
*Tcl/Tk Commands


Documentation


Resources



  • Test
# Create ModelBuilder (with two-dimensions and 2 DOF/node)
model BasicBuilder -ndm 2 -ndf 2
 
# Create nodes
# ------------
 
# Create nodes & add to Domain - command: node nodeId xCrd yCrd
node 1  0.0  0.0
node 2  10.0 0.0 -mass  1.0 1.0
node 3  20.0 0.0 -mass  1.0 1.0

<tcl>Example1.1.tcl</tcl>