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

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:


This file contains all the input data for the building model and simulation. It is used by both BuildingTcl and the BuildingTclViewer.


*BuildingTcl:
[tcl] # Initialize Input
OpenSees > source myBuildingTcl.tcl
# make sure you source the BuildingTcl library files first:
 
setDataDir Data;
OpenSees > source GettingStartedInputFile.tcl
setUnits -Length in -Force kip -Time sec;
 
  ''To perform the analyses:''
 
OpenSees > source GettingStartedBuildindAndAnalyze.tcl
 
 
*BuildingTclViewer:
OpenSees > source myBuildingTclViewer.tcl
 
BuildingTclViewer menu: File>Load> GettingStartedInputFile.tcl
 
''To perform the analyses:''
 
BuildingTclViewer menu: Models and Load Combinations
BuildingTclViewer menu: Analysis>Analyze


# 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-- 
[\tcl]





Revision as of 05:09, 28 October 2009


[tcl] # Initialize Input

  1. make sure you source the BuildingTcl library files first:

setDataDir Data; setUnits -Length in -Force kip -Time sec;

  1. MATERIALS ---------------------------------------
  2. Core Concrete (Default confinement effects)

addMaterialData MaterialLabel 4ksiConfinedConcrete addMaterialData MaterialModelLabel ConfinedConcrete; addMaterialData Fc 4000.*\$psi; addMaterial

  1. Cover Concrete

addMaterialData MaterialLabel 4ksiUnconfinedConcrete addMaterialData MaterialModelLabel UnconfinedConcrete addMaterialData Fc 4.*\$ksi addMaterial

  1. Reinforcing Steel

addMaterialData MaterialLabel 60ksiReinforcingSteel addMaterialData MaterialModelLabel Steel addMaterialData fY 68.8*\$ksi addMaterial puts --DoneMaterials-- [\tcl]




Return to BuildingTcl