BuildingTcl -- addSection Examples -- Structural-Steel Sections

From OpenSeesWiki
Jump to navigation Jump to search


#########################
## BuildingTclFiles
##
## Silvia Mazzoni, 2008
##    University of California, Berkeley
#########################

# W sections:
addSectionData SectionLabel Wsection_elastic1
addSectionData SectionDescription "Standard WSection Elastic Behavior"
addSectionData SectionModelLabel AISCWideFlangeElastic;		
addSectionData WideFlangeSize W24x370;				
addSectionData E 29000*\$ksi
addSection

# the WideFlangeSize need not be specified when the section name contains it before the underscore
addSectionData SectionLabel W24x370_elastic2; 
addSectionData SectionDescription "Standard WSection Elastic WideFlangeSize read from label"
addSectionData SectionModelLabel AISCWideFlangeElastic;		
addSectionData E 29000*\$ksi
addSection

addSectionData SectionLabel W24x370_Wsection_elastic4
addSectionData SectionDescription "generalized WSection Elastic"
addSectionData SectionModelLabel CustomWideFlangeElastic;		
addSectionData d 28.0*\$in
addSectionData bf 13.7*\$in
addSectionData tf 2.72*\$in
addSectionData tw 1.52*\$in
addSectionData E 29000*\$ksi
addSection

# fiber Wsection
addSectionData SectionLabel W12x16_Wsection_fiber1
addSectionData SectionDescription "Standard WSection Fiber Section"
addSectionData SectionModelLabel AISCWideFlangeFiber;		
addSectionData MaterialLabel A36Steel;				
addSection

addSectionData SectionLabel W24x370_Wsection_fiber2
addSectionData SectionDescription "Standard WSection Fiber Section, specify fibers"
addSectionData SectionModelLabel AISCWideFlangeFiber;		
addSectionData MaterialLabel A36Steel;				
addSectionData nfdw 8;
addSectionData nftw 8;
addSectionData nfbf 8;
addSectionData nftf 8;
addSection

addSectionData SectionLabel Wsection_fiber3
addSectionData SectionDescription "generalized W Section Simplified Fiber Section"
addSectionData SectionModelLabel CustomWideFlangeFiber;		
addSectionData d 28.0*\$in
addSectionData bf 13.7*\$in
addSectionData tf 2.72*\$in
addSectionData tw 1.52*\$in
addSectionData MaterialLabel A36Steel;				
addSection

addSectionData SectionLabel Wsection_fiber4
addSectionData SectionDescription "generalized W Section Simplified Fiber Section"
addSectionData SectionModelLabel CustomWideFlangeFiber;		
addSectionData d 28.0*\$in
addSectionData bf 13.7*\$in
addSectionData tf 2.72*\$in
addSectionData tw 1.52*\$in
addSectionData nfdw 8;
addSectionData nftw 8;
addSectionData MaterialLabel A36Steel;				
addSection


# DEFINE  ADDITIONAL SECTIONS
# column sections:
addSectionData SectionLabel W24x370;			
addSectionData SectionModelLabel AISCWideFlangeFiber
addSectionData MaterialLabel A36Steel;				
addSection;															

# addSectionData SectionLabel W16x26_Trilinear
# addSectionData SectionModelLabel AISCWideFlangeFiber;		
# addSectionData MaterialLabel A36SteelTrilinear
# addSection

# addSectionData SectionLabel W24x192_Trilinear
# addSectionData SectionModelLabel AISCWideFlangeFiber;		
# addSectionData MaterialLabel A36SteelTrilinear
# addSection
# addSectionData SectionLabel W30x173_Trilinear
# addSectionData SectionModelLabel AISCWideFlangeFiber;		
# addSectionData MaterialLabel A36SteelTrilinear
# addSection

# or:
set iColumnSectionList "W24x335 W24x306 W24x279 W24x250 W24x192 W24x229 W24x207 W16x26"
foreach ColumnSectionLabel $iColumnSectionList {
	addSectionData SectionLabel $ColumnSectionLabel
	addSectionData SectionModelLabel AISCWideFlangeFiber
	addSectionData MaterialLabel A36Steel
	addSection
	addSectionData SectionLabel ${ColumnSectionLabel}_Trilinear
	addSectionData SectionModelLabel AISCWideFlangeFiber
	addSectionData MaterialLabel A36SteelTrilinear
	addSection
}

# Girder sections
set iGirderSectionList "W30x148 W30x132 W30x173 W30x124 W30x108 W33x141 W14x22 W12x16"
foreach GirderSectionLabel $iGirderSectionList {
	addSectionData SectionLabel $GirderSectionLabel
	addSectionData SectionModelLabel AISCWideFlangeFiber
	addSectionData MaterialLabel A36Steel
	addSection
	addSectionData SectionLabel ${GirderSectionLabel}_Trilinear
	addSectionData SectionModelLabel AISCWideFlangeFiber
	addSectionData MaterialLabel A36SteelTrilinear
	addSection
}
# Brace Sections:
set iBraceSectionList "W12x22 W12x14"
foreach BraceSectionLabel $iBraceSectionList {
	addSectionData SectionLabel $BraceSectionLabel
	addSectionData SectionModelLabel AISCWideFlangeFiber
	addSectionData MaterialLabel A36Steel
	addSection
	addSectionData SectionLabel ${BraceSectionLabel}_Trilinear
	addSectionData SectionModelLabel AISCWideFlangeFiber
	addSectionData MaterialLabel A36SteelTrilinear
	addSection
}



BuildingTcl -- addSection

Return to BuildingTcl Command Language Manual