Page 1 of 1
parallel Examples
Posted: Mon Sep 06, 2010 7:16 am
by Alexandros
Dr. McKenna
We talked at OpenSees Days and I asked you for some more examples on parallel analysis. Can you please upload or email them . What I am interested in mostly, is the case of multiple runs of the same model for different ground motion records.
Thank you in advance
Re: parallel Examples
Posted: Thu Nov 24, 2011 12:09 am
by nicolecivil
I do not understand this thread
Re: parallel Examples
Posted: Thu Dec 15, 2011 1:53 pm
by fmk
there are some in the TeragridExamples directory found under EXAMPLES.
In addition, I have started a simple article on the wiki.
http://opensees.berkeley.edu/wiki/index ... eter_Study
Re: parallel Examples
Posted: Thu Dec 22, 2011 10:36 am
by pikalaina
What is this topic about?
Seems someone is tryin to spam or something?
Re: parallel Examples
Posted: Sat Dec 24, 2011 2:09 am
by Roe11
These are some illustrations examples for this thread
http://opensees.berkeley.edu/wiki/index ... nSees_User
Re: parallel Examples
Posted: Tue Jan 03, 2012 9:55 am
by Marty101
Roe11 wrote:
> These are some illustrations examples for this thread
>
http://opensees.berkeley.edu/wiki/index ... nSees_User
Thanks, better with examples !
Re: parallel Examples
Posted: Sat Feb 25, 2012 7:21 pm
by EasterSudharta
Example:
set pid [getPID]
set numP [getNP]
set count 0;
source ReadRecord.tcl
set g 386.4
foreach scaleFactor {0.5 0.75 1.0 1.5 2.0} {
foreach gMotion [glob -nocomplain -directory ./ *.AT2] {
if {[expr $count % $numP] == $pid} {
source model.tcl
source analysis.tcl
set ok [doGravity]
loadConst -time 0.0
if {$ok == 0} {
set gMotionName [string range $gMotion 0 end-4]
ReadRecord $gMotion $gMotionName$scaleFactor.dat dT nPts
timeSeries Path 1 -filePath $gMotionName$scaleFactor.dat -dT $dT -factor [expr $g*$scaleFactor]
recorder EnvelopeNode -file $gMotionName$scaleFactor.out -node 100 -dof 1
doDynamic $dT $nPts
file delete $gMotionName$scaleFactor.dat
}
}
incr count 1
}
}
Re: parallel Examples
Posted: Thu Mar 15, 2012 11:12 am
by james2sw12
@ EasterSudharta
You are incrementing with the condiions and it seems working at the end nice to get the answer.. I was lacking this logic just forgot to increment...
Thank You..
Re: parallel Examples
Posted: Wed Jul 04, 2012 6:26 am
by Neilsutton
The note in regard to spamming is confusing. There were some helpful links posted so I have no idea what the user is referring to. Anyway thanks so much for the active participation and information. I haven't posted before but have browsed over the past few months and found much of the information helpful to my activities.
Neil