BuildingTcl -- Initialize Input: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
** MainInputFilename.tcl
** MainInputFilename.tcl
***ModelLabel1
***ModelLabel1
:LoadCombination1
****LoadCombination1
:ProcessedData
*****ProcessedData
****LoadCombination2
****LoadCombination2
*****ProcessedData
*****ProcessedData

Revision as of 20:47, 29 October 2009

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