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

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 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;


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