TeraGrid Example

This forum is for issues related to parallel processing
and OpenSees using the new interpreters OpenSeesSP and OpenSeesMP

Moderator: selimgunay

Post Reply
brag006
Posts: 173
Joined: Wed Feb 15, 2012 1:26 pm
Location: University of Auckland

TeraGrid Example

Post by brag006 » Mon Nov 25, 2013 1:28 pm

In Example3 in the TeraGrid folder in OpenSees there are the following lines which I didn't understand. I'm sure it has a simple explanation:

set Gaccel "PeerDatabase $gMotionDir $gMotionName -accel 384.4 -dT dT -nPts nPts"
pattern UniformExcitation 2 1 -accel $Gaccel

So that line sets the ground motion and as I understand the time step is dT and the number of points is nPts

doDynamic [expr $dT*$nPts] $dT

then when the dynamic procedure is called in the above line, I don't understand why we multiply dT by nPts, especially considering the proc is defined as follow:

proc doDynamic {dT nPts} {

which if I understand correctly means we are passing the procedure the wrong values?

I am sure there is an explanation for it..

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: TeraGrid Example

Post by fmk » Wed Nov 27, 2013 10:44 am

yes it was a mistake in the example file. i have fixed it. thanks.

Post Reply