Getting Started with BuildingTcl: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
Most BuildingTcl Library commands consists of a series of parameter-defining add-Data commands, concluded by an add-Object command, which takes the previously defined parameters and assembles them into an individual library object.
Most BuildingTcl Library commands consists of a series of parameter-defining add-Data commands, concluded by an add-Object command, which takes the previously defined parameters and assembles them into an individual library object.


# SET UP
* SET UP
source myBuildingTcl.tcl
source myBuildingTcl.tcl
<setDataDir Data>
<setDataDir Data>
<setUnits -Length $BasicLengthUnit -Force $BasicForceUnit -Time BasicTimeUnit>
<setUnits -Length $BasicLengthUnit -Force $BasicForceUnit -Time BasicTimeUnit>


# DEFINE INPUT DATA
* DEFINE INPUT DATA
addMaterialData …..  
addMaterialData …..  


Line 42: Line 42:


''The following commands are Building-Tcl specific. They are used to run the OpenSees simulation.''
''The following commands are Building-Tcl specific. They are used to run the OpenSees simulation.''
# BUILD AND ANALYZE
* BUILD AND ANALYZE
SelectModel …..
SelectModel …..



Revision as of 20:36, 27 October 2009

BuildingTcl Commands

Most BuildingTcl Library commands consists of a series of parameter-defining add-Data commands, concluded by an add-Object command, which takes the previously defined parameters and assembles them into an individual library object.

  • SET UP

source myBuildingTcl.tcl <setDataDir Data> <setUnits -Length $BasicLengthUnit -Force $BasicForceUnit -Time BasicTimeUnit>

  • DEFINE INPUT DATA

addMaterialData …..

addMaterial ; # define Materials Library


addSectionData …..

addSection; # define Section Library


addElementModelData …..

addElementModel; # define ElementModel Library


addAnalysisModelData …..

addAnalysisModel; # define AnalysisModel Library


addModelData …..

addModel; # define Model (Elevation, Plan, 3DModel) Library

addLoadData ….. addLoad; # define Loads Library


addLoadCombinationData …..

addLoadCombination; # define LoadCombination Library

The following commands are Building-Tcl specific. They are used to run the OpenSees simulation.

  • BUILD AND ANALYZE

SelectModel …..

SelectLoadCombination …..

BuildAndAnalyze