BuildingTcl -- addMaterial: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
== | == Examples == | ||
* | *[[BuildingTcl -- addMaterial Examples -- Reinforced-Concrete Materials]] | ||
*Steel Materials | *Steel Materials |
Revision as of 00:01, 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:
- BuildingTcl -- addMaterial: MaterialModelLabel Elastic
- BuildingTcl -- addMaterial: MaterialmodelLabel Steel
- BuildingTcl -- addMaterial: MaterialmodelLabel ConfinedConcrete
- BuildingTcl -- addMaterial: MaterialmodelLabel UnconfinedConcrete
- BuildingTcl -- addMaterial: MaterialmodelLabel TrilinearHysteretic
- BuildingTcl -- addMaterial: MaterialmodelLabel Steel02
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
- Steel Materials
#########################
## 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
#########################
## 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
Return to BuildingTcl Command Language Manual