GettingStartedInputFile.tcl -– Setup & Materials

From OpenSeesWiki
Jump to navigation Jump to search
# 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