[Solve]Problem: expected integer but got "-type"

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

Moderators: silvia, selimgunay, Moderators

Post Reply
rensorensi
Posts: 5
Joined: Thu Apr 04, 2019 11:00 pm
Location: California

[Solve]Problem: expected integer but got "-type"

Post by rensorensi »

My code is :
[b]
element nonlinearBeamColumn 3 3 4 $numIntgrPts $BeamSecTag $ColTransfTag

pattern Plain 1 "Linear" {
eleLoad -ele 3 -type -beamUniform -1 ; # distributed superstructure-weight on beam
}
[/b]

And Opensees.exe return
[b]
expected integer but got "-type"
[/b]
i Try to change from -1 to 1, and write code manually but dont solve the problem.(ITA : ho visto che è un problema che c'è da anni, potrebbe essere il nonlinearBeamColumn?)
How to solve it?
rensorensi
Posts: 5
Joined: Thu Apr 04, 2019 11:00 pm
Location: California

Re: [Solve]Problem: expected integer but got "-type"

Post by rensorensi »

add a load command after eleload command like this:
[b]
element nonlinearBeamColumn 3 3 4 $numIntgrPts $BeamSecTag $ColTransfTag

pattern Plain 1 "Linear" {
eleLoad -ele 3 -type -beamUniform -1 ; # distributed superstructure-weight on beam
load 2 0. 0. 0.
}
[/b]
Post Reply