BuildingTcl -- addMaterial: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 42: Line 42:




== Example ==
== Examples ==
*Reinforced-Concrete Materials
*[[BuildingTcl -- addMaterial Examples -- Reinforced-Concrete Materials]]
<h4 style="background:#f5faff"> <source lang="Tcl">
*[[BuildingTcl -- addMaterial Examples -- Structural-Steel Materials]]
#########################
## BuildingTclFiles
##
## Silvia Mazzoni, 2008
##    University of California, Berkeley
#########################
# RC MATERIALS -----------------------------------------------------------------------------------------------------
#----------------------------------------- CONCRETE -----------------------------------------
# Cover Concrete
addMaterialData MaterialLabel 4ksiConcrete
# no strength increase by default:
addMaterialData MaterialModelLabel ConfinedConcrete;
addMaterialData Fc 4.*\$ksi
addMaterial
 
# Cover Concrete
addMaterialData MaterialLabel 4ksiUnconfinedConcrete
addMaterialData MaterialModelLabel UnconfinedConcrete
addMaterialData Fc 4.*\$ksi
addMaterial
 
# Core Concrete (Default confinement effects)
addMaterialData MaterialLabel 4ksiConfinedConcrete
# actual compressive strength is 1.3*Fc:
addMaterialData MaterialModelLabel ConfinedConcrete;
addMaterialData Fc 4000.*\$psi;
addMaterial
 
#  Highly-Confined Concrete
addMaterialData MaterialLabel 4ksiVeryConfinedConcrete
addMaterialData MaterialModelLabel ConfinedConcrete
addMaterialData Fc 4000*\$psi
# ratio of maximum strength to nominal concrete strength (confinement effect)
addMaterialData rFc1 1.35;
# ratio of residual maximum strength to nominal concrete strength (confinement effect)
addMaterialData rFu 0.85;
addMaterial
 
 
#--------------------------------- REINFORCING STEEL -----------------------------------------
# Elastic
addMaterialData MaterialLabel ElasticSteel; # Label identifying this material
addMaterialData MaterialModelLabel Elastic; # Select from library of MaterialModelLabel
addMaterialData E 29000*\$ksi; # Modulus of Elasticity
addMaterial; # This step must be done last
 
# Reinforcing Steel
addMaterialData MaterialLabel 60ksiSteel
addMaterialData MaterialModelLabel Steel
addMaterialData fY 68.8*\$ksi
addMaterial
 
# Use a trilinear curve to get strenth degradation in steel
addMaterial -MaterialLabel 60ksiTrilinearSteel -fY 66.8*\$ksi -MaterialModelLabel Steel
 
# Reinforcing Steel -- make this a very ductile steel
addMaterialData MaterialLabel 40ksiSteel
addMaterialData MaterialModelLabel TrilinearHysteretic
addMaterialData f1 46.8*\$ksi
addMaterialData f2 1.35*46.8*\$ksi
addMaterialData f3 1.30*46.8*\$ksi
addMaterialData eps1 46.8*\$ksi/(29000.*\$ksi)
addMaterialData eps2 0.015
addMaterialData eps3 0.15
addMaterial
 
# Reinforcing Steel -- make this a very ductile steel
addMaterialData MaterialLabel 40ksiSteelFunky
addMaterialData MaterialModelLabel TrilinearHysteretic
addMaterialData f1 46.8*\$ksi
addMaterialData f2 1.35*46.8*\$ksi
addMaterialData f3 1.60*46.8*\$ksi
addMaterialData eps1 46.8*\$ksi/(290000.*\$ksi)
addMaterialData eps2 0.0015
addMaterialData eps3 0.015
addMaterial
 
# Reinforcing Steel -- make this a very ductile steel
addMaterialData MaterialLabel 40ksiSteelFunkier
addMaterialData MaterialModelLabel TrilinearHysteretic
addMaterialData f1 46.8*\$ksi
addMaterialData f2 1.35*46.8*\$ksi
addMaterialData f3 1.30*46.8*\$ksi
addMaterialData eps1 46.8*\$ksi/(290000.*\$ksi)
addMaterialData eps2 0.0015
addMaterialData eps3 0.015
addMaterial
 
# Reinforcing Steel -- make this a very ductile steel
addMaterialData MaterialLabel 40ksiSteelFunkiest
addMaterialData MaterialModelLabel TrilinearHysteretic
addMaterialData f1 50*\$ksi
addMaterialData f2 100*\$ksi
addMaterialData f3 -50*\$ksi
addMaterialData eps1 0.001
addMaterialData eps2 0.0015
addMaterialData eps3 0.015
addMaterial
 
# Reinforcing Steel -- make this a very ductile steel
addMaterialData MaterialLabel 40ksiSteelFunkiestofAll
addMaterialData MaterialModelLabel TrilinearHysteretic
addMaterialData f1 50*\$ksi
addMaterialData f2 100*\$ksi
addMaterialData f3 0*\$ksi
addMaterialData eps1 0.001
addMaterialData eps2 0.0015
addMaterialData eps3 0.015
addMaterial
 
# Reinforcing Steel -- make this a very ductile steel
addMaterialData MaterialLabel 40ksiSteelFunkiestofAllyet
addMaterialData MaterialModelLabel TrilinearHysteretic
addMaterialData f1 100*\$ksi
addMaterialData f2 50*\$ksi
addMaterialData f3 0*\$ksi
addMaterialData eps1 0.01
addMaterialData eps2 0.015
addMaterialData eps3 0.05
addMaterial
 
 
</source >
</h4>
 
 
*Steel Materials
<h4 style="background:#f5faff"> <source lang="Tcl">
#########################
## BuildingTclFiles
##
## Silvia Mazzoni, 2008
##    University of California, Berkeley
#########################
 
# STEEL MATERIALS -----------------------------------------------------------------------------------------------------
 
# ELASTIC
addMaterialData MaterialLabel Elastic; # Label identifying this material
addMaterialData MaterialModelLabel Elastic; # Select from library of MaterialModelLabel
addMaterialData E 29000*\$ksi; # Modulus of Elasticity
addMaterial; # This step must be done last
 
# Default
addMaterialData MaterialLabel A36Steel
addMaterialData MaterialModelLabel Steel
addMaterialData fY 36*\$ksi;
addMaterial
 
# BILINEAR
addMaterialData MaterialLabel A36SteelBilinear; # Label identifYing this material
addMaterialData MaterialModelLabel Steel02
addMaterialData fY 36*\$ksi; # yield stress
addMaterial
 
# TRILINEAR
addMaterialData MaterialLabel A36SteelTrilinear
addMaterialData MaterialModelLabel Steel
addMaterialData fY 36*\$ksi;
addMaterial
 
 
 
</source>
</h4>
 
 
 





Latest revision as of 00:04, 5 November 2009

Commands

addMaterialData MaterialLabel $MaterialLabel
addMaterialData MaterialModelLabel $MaterialModelLabel
addMaterialData $RequiredArgument1Label $RequiredArgument1Value
addMaterialData $RequiredArgument2Label $RequiredArgument2Value
<addMaterialData $InputArgument1Label $InputArgument1Value>
<addMaterialData $InputArgument2Label $InputArgument2Value>
addMaterial

Different MaterialModels have different input arguments:


Arguments

$MaterialLabel
Unique Analysis Label for reference
$MaterialModelLabel
Specifies which MaterialModel is being used.
$RequiredArgument1Label $RequiredArgument1Value ...
Labels and corresponding values for MaterialModel-specific required argument.
$InputArgument1Label $InputArgument1Value …
Labels and corresponding values for MaterialModel-specific Input Arguments (Optional)

Notes

The addMaterial command must be placed at the end of each Material-data definition, as it takes all data defined since the last addMaterial command and define the Material.


Options

Examples



BuildingTcl -- addSection

Return to BuildingTcl Command Language Manual