GettingStartedInputFile.tcl -– Setup & Materials: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
(New page: == GettingStartedInputFile.tcl -– Setup & Materials == This file contains all the input data for the building model and simulation. It is used by both BuildingTcl and the BuildingTclV...)
 
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
[[Image:BuildingTclLogo.gif|link=BuildingTcl|right]]
<source lang="Tcl">
# Initialize Input
# make sure you source the BuildingTcl library files first:
setDataDir Data;
setUnits -Length in -Force kip -Time sec;


 
# MATERIALS ---------------------------------------
== GettingStartedInputFile.tcl -– Setup & Materials ==
# Core Concrete (Default confinement effects)
 
addMaterialData MaterialLabel 4ksiConfinedConcrete
This file contains all the input data for the building model and simulation. It is used by both BuildingTcl and the BuildingTclViewer.
addMaterialData MaterialModelLabel ConfinedConcrete;
 
addMaterialData Fc 4000.*\$psi;
*BuildingTcl:
addMaterial
OpenSees > source myBuildingTcl.tcl
# Cover Concrete
 
addMaterialData MaterialLabel 4ksiUnconfinedConcrete
OpenSees > source GettingStartedInputFile.tcl
addMaterialData MaterialModelLabel UnconfinedConcrete
 
addMaterialData Fc 4.*\$ksi
  ''To perform the analyses:''
addMaterial
 
# Reinforcing Steel
OpenSees > source GettingStartedBuildindAndAnalyze.tcl
addMaterialData MaterialLabel 60ksiReinforcingSteel
 
addMaterialData MaterialModelLabel Steel
 
addMaterialData fY 68.8*\$ksi
*BuildingTclViewer:
addMaterial
OpenSees > source myBuildingTclViewer.tcl
puts --DoneMaterials-- 
 
BuildingTclViewer menu: File>Load> GettingStartedInputFile.tcl
 
''To perform the analyses:''
 
BuildingTclViewer menu: Models and Load Combinations
BuildingTclViewer menu: Analysis>Analyze
 
 




</source>


----
----


Return to [[BuildingTcl]]
Return to [[Getting Started with BuildingTcl]]

Latest revision as of 17:12, 30 October 2009

# Initialize Input
# make sure you source the BuildingTcl library files first:
setDataDir Data;										
setUnits -Length in -Force kip -Time sec;

# MATERIALS ---------------------------------------  
# Core Concrete (Default confinement effects)
addMaterialData MaterialLabel 4ksiConfinedConcrete
addMaterialData MaterialModelLabel ConfinedConcrete;
addMaterialData Fc 4000.*\$psi;								
addMaterial
# Cover Concrete
addMaterialData MaterialLabel 4ksiUnconfinedConcrete
addMaterialData MaterialModelLabel UnconfinedConcrete
addMaterialData Fc 4.*\$ksi
addMaterial
# Reinforcing Steel
addMaterialData MaterialLabel 60ksiReinforcingSteel
addMaterialData MaterialModelLabel Steel
addMaterialData fY 68.8*\$ksi
addMaterial
puts --DoneMaterials--

Return to Getting Started with BuildingTcl