BuildingTcl -- Initialize Input

From OpenSeesWiki
Revision as of 22:34, 28 October 2009 by Silviamazzoni (talk | contribs)
Jump to navigation Jump to search

BuildingTcl and BuildingTclViewer Program Files

The BuildingTcl and BuildingTclViewer procedures need not included into the Tcl interpreter before they can be used. This is done by the installation files myBuildingTcl.tcl and myBuildingTclViewer.tcl. All the user needs to do is souce one of these files:

** OpenSees.exe : myBuildingTcl.tcl
** OpenSeesTk.exe : myBuildingTclViewer.tcl

Because these files specify the path of the program files, myBuildingTcl.tcl and myBuildingTclViewer.tcl can be copied and pasted into the working directory where your input files are located. At the OpenSees prompt, all the user has to do is type:

source myBuildingTcl.tcl


Specifying Simulation Data Directory

The setDataDir command is sued to define the subfolder where simulation data will be placed (optional, Default: Data):

setDataDir $DataDirectoryLabel

All output files will be placed in a tree structure within the set folder. The subfolders will be laid out in the following order:

  • $DataDirectoryLabel
    • MainInputFilename.tcl
      • ModelLabel1
        • LoadCombination1
          • ProcessedData
        • LoadCombination2
          • ProcessedData
      • ModelLabel2
        • LoadCombination1
          • ProcessedData
        • LoadCombination2
          • ProcessedData





Return to BuildingTcl