BuildingTcl: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:


== '''BuildingTcl:'''==
== '''BuildingTcl:'''==
  *High-level scripting tool
  *High-level scripting tool
  *Generate building-model data
  *Generate building-model data
Line 31: Line 30:


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

Revision as of 02:33, 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>