error with defining a node

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

Moderators: silvia, selimgunay, Moderators

Post Reply
aaataha
Posts: 15
Joined: Sun Oct 13, 2019 1:44 pm

error with defining a node

Post by aaataha » Sat Oct 24, 2020 6:46 am

I defined a node using this command

node 08010 6.00 0.00 -1.00

however, i get this error when running the model:

WARNING invalid nodeTag
Want: node nodeTag? [ndm coordinates?] <-mass [ndf values?]>
expected integer but got "08010"
while executing
"node 08010 6.00 0.00 -1.00"
(file "model5dist.tcl" line 245)
invoked from within
"source model5dist.tcl"
(file "THForceAnalysis.tcl" line 8)

so, why is this node tag not considered an integer?

mhscott
Posts: 874
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: error with defining a node

Post by mhscott » Sat Oct 24, 2020 7:30 am

The node tag cannot start with 0, Tcl will interpret the number as not an integer. Try 8010.

RajArora
Posts: 8
Joined: Mon Oct 19, 2020 5:39 am

Re: error with defining a node

Post by RajArora » Sat Oct 24, 2020 8:57 pm

try using a different node number that doesn't start with zero

Post Reply