Hello Prof Mazzoni,
I have gone through your video "Optimizing Parametric Analyses via Parallelization in OpenSees::, and tried to replicate it in my model, but unfortunately, it is not working. The script is:
set ParameterIndex 0
# in case you send in input
if {[info exists argv]} {
if {[llength $argv]>0} {
set ParameterIndex [expr [lindex $argv 0] -1]
}
}
set P "10. 50."
set LLT [lindex $P $ParameterIndex]
puts LLT_$LLT
wipe
set fDir "Data/";
file mkdir $fDir;
source body.tcl
source wall1.tcl
source strucload1.tcl
source Analysis.tcl
loadConst
set noder 50033
recorder Node -file Data/Gdispwall${LLT}.out -closeOnWrite -node $noder -dof 1 disp
timeSeries Constant 2
pattern Plain 300 2 {
load $noder $LLT 0. 0.
}
integrator LoadControl 0.1
analysis Static
analyze 10
puts "Model${LLT} analysis was done"
wipe
Can you help me with this issue? Thank you.