Report errors in defining pattern for gravity analysis of 3-d frame

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

Moderators: silvia, selimgunay, Moderators

Post Reply
wchvik
Posts: 1
Joined: Sat Oct 05, 2019 6:36 pm

Report errors in defining pattern for gravity analysis of 3-d frame

Post by wchvik » Tue Dec 21, 2021 10:07 am

Dear all,

Errors is reported as the following when I was defineing a pattern for gravity analysis of 3-d frame
expected integer but got "-type"
Part of the code of defineing the pattern is as follow

Code: Select all

pattern Plain 101 Linear {

eleLoad -ele 112101 -type -beamUniform 0. 0. -9.349200;	#Column
eleLoad -ele 112102 -type -beamUniform 0. 0. -9.349200;
eleLoad -ele 112103 -type -beamUniform 0. 0. -9.349200;
eleLoad -ele 112201 -type -beamUniform 0. 0. -9.349200;
eleLoad -ele 212103 -type -beamUniform -38.940000 0.;	#Beam
eleLoad -ele 212203 -type -beamUniform -38.940000 0.;
eleLoad -ele 212303 -type -beamUniform -38.940000 0.;
}
I double chekced the above codes and I am sure I follow the correct rule in defineing element loads. So could anyone tell me what's wrong with this problem?

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

Re: Report errors in defining pattern for gravity analysis of 3-d frame

Post by mhscott » Tue Dec 21, 2021 11:58 am

There's a parsing issue with eleLoads. Try adding some new lines after the closing brace }

Post Reply