BuildingTcl -- addMaterial: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 44: Line 44:
== Examples ==
== Examples ==
*[[BuildingTcl -- addMaterial Examples -- Reinforced-Concrete Materials]]
*[[BuildingTcl -- addMaterial Examples -- Reinforced-Concrete Materials]]
 
*[[BuildingTcl -- addMaterial Examples -- Structural-Steel Materials]]
*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