Transformation Error

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
mmb
Posts: 9
Joined: Fri Jun 27, 2014 3:55 am
Location: uc

Transformation Error

Post by mmb »

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
}
};
};
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Transformation Error

Post by fmk »

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.
Post Reply