hello, everyone
When I run a simple example which is from http://opensees.berkeley.edu/OpenSees/OpenSeesExamples1.1.pdf, the program would not run and would give the "MapOfTaggedObjects::addComponent - not adding as one with similar tag exists, tag:1. WARNING could not add material to the domain." error. The corresponding tcl file is given herein. Why is this? What can I do to deal with it?
#======================the tcl file=========================================
# Simply Supported Beam
model basic -ndm 2 -ndf 2
# create the material
nDMaterial ElasticIsotropic 1 1000 0.25 6.75
# Define geometry
# set Quad quad
# set Quad bbarQuad
# set Quad enhancedQuad
# if {$Quad == "enhancedQuad"}{
# set eleArgs "PlaneStrain2D 1"
# }
# if {$Quad == "quad"}{
# set eleArgs "1 PlaneStrain2D 1"
# }
# if {$Quad == "bbarQuad"}{
# set eleArgs "1"
# }
# Note: nx Must be even for this example
set nx 8
set ny 2
set bn [expr $nx + 1 ]
set l1 [expr $nx/2 + 1 ]
set l2 [expr $l1 + $ny*($nx+1)]
# Create the nodes and elements using the block2d command
# block2D $nx $ny 1 1 $Quad $eleArgs {
block2D $nx $ny 1 1 quad "1 PlaneStrain2D 1" {
1 0 0
2 40 0
3 40 10
4 0 10
}
# Single point constraints
fix 1 1 1
fix $bn 0 1
# Gravity loads
pattern Plain 1 Linear {
load $l1 0.0 -1.0
load $l2 0.0 -1.0
}
#===========================================================
# Start of static analysis (creation of the analysis & analysis itself)
#===========================================================
integrator LoadControl 1.0 1 1.0 10.0
test EnergyIncr 1.0e-12 10 0
algorithm Newton
numberer RCM
constraints Plain
system ProfileSPD
analysis Static
analyze 10
# =================end of Static analysis =======================
recorders Node Node.out disp -time -node $l1 -dof 2
recorders plot Node.out CenterNodeDisp 625 10 625 450 -columns 1 2
# Create the display
recorders display g3 10 10 800 200 -wipe
prp 20 5.0 100.0
vup 0 1 0
viewWindow -30 30 -10 10
display 10 0 5
# ==============================end of tcl file===============================
Thank you very much.
Help for Static analysis of Simply Supported Beam
Moderators: silvia, selimgunay, Moderators