Nodalmasses in many elements

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

Moderators: silvia, selimgunay, Moderators

Post Reply
WhiteNoise
Posts: 14
Joined: Sun Nov 16, 2008 6:55 pm
Location: KU

Nodalmasses in many elements

Post by WhiteNoise »

Dear all, hope somebody knows the answer to the following:

1. How can I declare a large number of nodes having the same nodal mass?
Is there an abbreviation for:
mass 1 $Mass1 $Mass2 0
.
.
.
mass 500 $Mass1 $Mass2 0????

2. In a parallel case, how can I define a large number of elements having the same characteristics (element type, Area, E, etc...)??

Thank you!!
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

use tcl, it is a programming language,
e.g:

Code: Select all

for {set i 1} {$i<=500} {incr i 1} {
  mass $i $Mass1 $Mass2 0
}
WhiteNoise
Posts: 14
Joined: Sun Nov 16, 2008 6:55 pm
Location: KU

Post by WhiteNoise »

Thank you very much!
Post Reply