A series of Tcl-script input-file components have been presented in this section. These components can be combined to perform a static lateral-load analysis of the portal frame under consideration using the source command:
# ----FullStaticAnalysis.tcl---------------------------------------------------------
wipe
model basic -ndm 3 -ndf 6
source Units&Constants.tcl
source MaterialParameters.tcl
source ElementParameters.tcl
source GravityParameters.tcl
source AnalysisParameters.tcl
source MatlabOutput.tcl
source BuildModel&Nodesw/Variables--portal.tcl
source materialsRC.tcl
source RCcircSec.tcl
source Elements.tcl
source Output.tcl
source DefineGravity.tcl
source runGravity.tcl
source DefinePushover.tcl
source RunPushover2Converge.tcl
This method of breaking the input file into components is convenient when the size of the problem does not permit manageability of a single input file.