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?
[Solve]Problem: expected integer but got "-type"
Moderators: silvia, selimgunay, Moderators
-
- Posts: 5
- Joined: Thu Apr 04, 2019 11:00 pm
- Location: California
-
- Posts: 5
- Joined: Thu Apr 04, 2019 11:00 pm
- Location: California
Re: [Solve]Problem: expected integer but got "-type"
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]
[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]