powered by Open Sees Building Tcl Building Tcl
& powered by Open. Sees Building. Tcl & Building. Tcl. Viewer Getting Started Guide Release 1. 8, October 2009 Silvia Mazzoni University of California, Berkeley
Building. Tcl Installation 1. Download & Install Tcl (may have done so already): http: //opensees. berkeley. edu/Open. Sees/user/download. php 2. Download & Extract file: Building. Tcl. zip – The “C: /Program Files/Building. Tcl” folder is recommended 3. The extracted Building. Tcl folder will contain: Installation File 4. Double-click installation file Documentation Files: Demo & Documents Do NOT touch Working Files: Copy into the working directory Double-click to run Building. Tcl. Viewer Copy these files into each and every working directory 5. Make sure that the latest versions of Open. Sees. exe and Open. Sees. Tk. exe are stored in Open. Sees. Program. Files folder. The names must be exact. 6. Working Files, these files specify the path of the program set up specifically on YOUR computer: – My. Building. Tcl. tcl: • • Copy this file into working directory -- where input files are located Source this file from within Open. Sees. exe or Open. Sees. Tk. exe – My. Building. Tcl. Viewer. tcl • • Copy this file into working directory -- where input files are located Source this file from within Open. Sees. Tk. exe, or – My. Building. Tcl. Viewer. bat • • Double-click to start-up Building. Tcl. Viewer directly This batch file starts up Open. Sees. Tk, sources My. Building. Tcl. Viewer. tcl and starts up the Building. Tcl. Viewer program. It can be copied into the working directory, or can be executed directly in the program directory.
Introduction • Building. Tcl 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. Structural models can be Elevations, Plans, or 3 DModels which combine elevations and plans. Procedures are included to perform the numerical simulation using Open. Sees. • Building. Tcl. Viewer is a Tcl/Tk widget (program) that provides a graphical user interface to view the Building. Tcl database, run the numerical simulations using Open. Sees interactively, and view the results interactively. Building. Tcl Commands # SET UP source my. Building. Tcl. tcl <set. Data. Dir Data> <set. Units -Length $Basic. Length. Unit -Force $Basic. Force. Unit -Time Basic. Time. Unit> Building. Tcl Script # DEFINE INPUT DATA add. Material. Data …. . add. Material # Define Materials Library add. Section. Data …. . add. Section # Define Sections Library add. Element. Model. Data …. . add. Element. Model # Define Element. Model Library add. Analysis. Model. Data …. . add. Analysis. Model # Define Analysis. Model Library add. Model. Data …. . add. Model # Define Structural-Models Library: Elevations, Plans, 3 DModels add. Load. Data …. . add. Load # Define Loads Library add. Load. Combination. Data …. . add. Load. Combination # Define Load-Combinations Library # BUILD ANALYZE Select. Model …. . Select. Load. Combination …. . Build. Analyze This is done via a Building. Tcl script, or interactively using Buiding. Tcl. Viewer
Run Building. Tcl • my. Building. Tcl. tcl – no graphics – Incorporates Building. Tcl commands into the Tcl Interpreter – The Building. Tcl commands are used within Open. Sees. exe or Open. Sees. Tk. exe. – Run: 1. Run Open. Sees. exe or Open. Sees. Tk. exe 2. Source my. Building. Tcl. tcl at Open. Sees prompt 3. Source input and analysis files at Open. Sees prompt C: > cd Building. Tcl. Getting. Started. Files C: > Open. Sees. . Open. Sees > source my. Building. Tcl. tcl. . Open. Sees > source Getting. Started. Data. File. tcl. . Open. Sees > source Getting. Started. Run. File. tcl. . Run Building. Tcl. Viewer • my. Building. Tclviewer. tcl – Building. Tcl with graphical interface – Incorporates Building. Tcl & Building. Tclviewer commands into the Tcl/Tk Interpreter – This file needs to be sourced from the Open. Sees. Tk. exe prompt, or by doubleclicking on the Building. Tcl. Viewer. bat file 1. Run from Open. Sees Prompt: 1. Run Open. Sees. Tk. exe – a Tk window opens up (do not close it). 2. Source my. Building. Tclviewer. tcl at the Open. Sees prompt -- the Tk window becomes the Building. Tclviewer Open. Sees > source my. Building. Tcl. Viewer. tcl Or 2. Double-click on my. Building. Tclviewer. bat
Getting. Started. Input. File. tcl – Setup & Materials This file contains all the input data for the building model and simulation. It is used by both Building. Tcl and the Building. Tcl. Viewer. • Building. Tcl: Open. Sees > source my. Building. Tcl. tcl Open. Sees > source Getting. Started. Input. File. tcl To perform the analyses: Open. Sees > source Getting. Started. Buildind. Analyze. tcl • Building. Tcl. Viewer: Open. Sees > source my. Building. Tcl. Viewer. tcl Building. Tcl. Viewer menu: File>Load> Getting. Started. Input. File. tcl To perform the analyses: Building. Tcl. Viewer menu: Models and Load Combinations Building. Tcl. Viewer menu: Analysis>Analyze
Getting. Started. Input. File. tcl – Element Section
Getting. Started. Input. File. tcl – Gravity Loads Gravity-Load Labels are used for the values gravity-load cases in the definition of the models. They are then used in the Load. Combinations as well.
Getting. Started. Input. File. tcl – Structural Models: Elevations
Getting. Started. Input. File. tcl – Structural Models: Plan & 3 DFrame
Getting. Started. Input. File. tcl – Lateral Loads
Getting. Started. Input. File. tcl –Load Combinations
Getting. Started. Build. Analyze. tcl This file is used by Building. Tcl without the interactive capabilities of Building. Tcl. Viewer. Because there are no graphics, these simulations will run faster. Building. Tcl does postprocess the analysis data. The results of these simulations can then be viewed using Building. Tcl. Viewer as a subsequent step.
Building. Tcl. Viewer Overview 1 a. Building. Tcl. Viewer Window Interactive Window: 1 b. Companion Open. Sees Window: Non-interactive window: error warnings and communication 2. Load Main Input File: Getting. Started. Input. File. tcl 3. Select Models & Load. Combinations 4. Analyze 5 a. View Results 5 b. Click on individual element: 6. Play
- Slides: 13