eleLoad

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

Moderators: silvia, selimgunay, Moderators

Post Reply
juanolarte
Posts: 5
Joined: Thu Sep 05, 2013 4:12 pm
Location: University of Colorado

eleLoad

Post by juanolarte »

Hi,

I am trying to put a distributed load on a beam by:

pattern Plain 2 Linear { eleLoad -ele 2 -type -beamUniform -0.32275 }

But it shows: "expected integer but got "-type",can someone tell me what could be happen?

Thanks in advance

Juan
yekose
Posts: 50
Joined: Thu May 15, 2008 5:46 am
Location: Turkey

Re: eleLoad

Post by yekose »

pattern Plain 2 Linear { eleLoad -ele 2 -type -beamUniform -0.32275 }

Try pattern Plain 2 Linear { eleLoad -ele 2 -type beamUniform -0.32275 }
Or pattern Plain 2 Linear { eleLoad -ele 2 -beamUniform -0.32275 }
juanolarte
Posts: 5
Joined: Thu Sep 05, 2013 4:12 pm
Location: University of Colorado

Re: eleLoad

Post by juanolarte »

Hi yekose,

thanks for reply.

for Try pattern Plain 2 Linear { eleLoad -ele 2 -type beamUniform -0.32275 }

it shows: "expected integer but got "-type""

for pattern Plain 2 Linear { eleLoad -ele 2 -beamUniform -0.32275 }

it shows: "WARNING eleLoad - expecting -type option but got -beamUniform" and "WARNING - error reading load pattern information in { } expected integer but got "-beamUniform"
yekose
Posts: 50
Joined: Thu May 15, 2008 5:46 am
Location: Turkey

Re: eleLoad

Post by yekose »

When NDM=3, the beam column elements all accept eleLoad commands of the following form:
eleLoad -ele $eleTag1 <$eleTag2 ....> -type -beamUniform $Wy $Wz <$Wx>
If your model is 3d you are supposed to use at least 2 parameters as per this statement so i guess your problem is about that.
juanolarte
Posts: 5
Joined: Thu Sep 05, 2013 4:12 pm
Location: University of Colorado

Re: eleLoad

Post by juanolarte »

Hi yekose, I am working on 2D model, NDM=2.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: eleLoad

Post by fmk »

your original command should work for 2d case. you may have some crap characters in the line that you are not seeing .. try copying from below.

pattern Plain 2 "Linear" {
eleLoad -ele 2 -type -beamUniform -0.32275
}
Post Reply