This Error occure:
LinearCrdTransf2d::ComputeElemtLenghtAndOrien :0 Lenght
ForceBeamColumn2d ::set Domain<>: Error initializing coordinate transformation
when this code run
set transftag 1;
geomTransf Linear $transftag
node 0 0.0 0.0
fix 0 1 1
for {set i 0} {$i< $Nspan} {incr i} {
set nele [lindex $Nele $i];
set lele [expr [lindex $Lspan $i]/$nele];
for {set j 0} {$j<= $nele} {incr j} {
set Lbridge [expr $Lbridge + $lele];
if {$j == $nele} {
fix $j 0 1 1
}
if {$Lbridge != $Xdamage} {
incr Bridgenode
node $Bridgenode $Lbridge 0.0 -mass[expr $A*$lele*7.67]
incr ElementCounter
element nonlinearBeamColumn $ElementCounter [expr $Bridgenode-1] $Bridgenode $numintgrpts $sectagundamaged $transftag
#element elasticBeamColumn $ElementCounter [expr $Bridgenode-1] $Bridgenode $A $Es $Iz $transftag
} else {
incr Bridgenode
node $Bridgenode $Lbridge 0.0
incr ElementCounter
element nonlinearBeamColumn $ElementCounter [expr $Bridgenode-1] $Bridgenode $numintgrpts $sectagundamaged $transftag
# element elasticBeamColumn $ElementCounter [expr $Bridgenode-1] $Bridgenode $A $Es $Iz $transftag
incr Bridgenode
node $Bridgenode $Lbridge 0.0
incr ElementCounter
set damagedelement $ElementCounter;
element zeroLengthSection $ElementCounter [expr $Bridgenode-1] $Bridgenode $sectagdamaged
}
};
};
Transformation Error
Moderators: silvia, selimgunay, Moderators
Re: Transformation Error
you have defined a beam column element with zero length somewhere .. use a "puts eleTag: $ElementCounter" before the element command
to see which one if you cannot find it .. you can also use the "puts [nodeCoord $nodeTag]' in there as well if you want.
to see which one if you cannot find it .. you can also use the "puts [nodeCoord $nodeTag]' in there as well if you want.