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
RajArora
Posts: 8
Joined: Mon Oct 19, 2020 5:39 am

expected integer but got "-type"

Post by RajArora » Sun Oct 25, 2020 5:49 am

pattern Plain 1 Linear {
eleLoad -ele 10 -beamUniform -10
eleLoad -ele 11 -beamUniform -10
}
Error: expected integer but got "-type"
anyone..?

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

Re: expected integer but got "-type"

Post by mhscott » Sun Oct 25, 2020 7:47 am

I think you want to do
eleLoad -ele 10 -type beamUniform -10

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

Re: expected integer but got "-type"

Post by RajArora » Sun Oct 25, 2020 8:03 am

hey, Scott thanks for replying but still I am getting the same error.
I just want to assign a UDL of 10 on element 10 & 11

selimgunay
Posts: 913
Joined: Mon Sep 09, 2013 8:50 pm
Location: University of California, Berkeley

Re: expected integer but got "-type"

Post by selimgunay » Mon Oct 26, 2020 10:28 am

Please follow the syntax here: https://opensees.berkeley.edu/wiki/inde ... ad_Command

I would recommend typing things yourself rather than copy and paste, as sometimes spaces, tabs, etc, can create an issue

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

Re: expected integer but got "-type"

Post by RajArora » Mon Oct 26, 2020 10:40 pm

I have not pasted from anywhere, I write it by myself what I think there is some minor mistake but I am not able to rectify that. Yes, I am getting the answer but that's not the point. I should know what's the problem there.

Post Reply