BuildingTcl

From OpenSeesWiki
Revision as of 21:58, 28 October 2009 by Fmk (talk | contribs)
Jump to navigation Jump to search

&

  • Test

<source lang="tcl">

  1. Create ModelBuilder (with two-dimensions and 2 DOF/node)

model BasicBuilder -ndm 2 -ndf 2

  1. Create nodes
  2. ------------
  1. 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>


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 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