Hello all,
I am getting this error when I use QuoFEM for my Opensees model subjected to a ground motion input to do forward propagation analysis.
"Error(s) encountered reading results file workdir.32\results.out for Evaluation 32:-- Expected 1 function value(s) but found 0."
I checked the workdir folders and the analysis converges to the end for all the samples, but for some reason, QueFEM is unable to generate the results.out correctly and the file is empty. I generated the postproc.tcl myself and it only needs two input files from Opensees which are correctly generated and available in workdir folder. If I run the postproc manually it gives me the correct results.out file with no issue, so I am confused why I am getting this error. I checked the opt.out file to and I saw the following error when the postproc file is running by QuoFEM:
missing operand at _@_
in expression "(0.498816-_@_)"
(parsing expression "(0.498816-)")
invoked from within
"expr ($TopDisp($i)-$BaseDisp($i))"
("for" body line 2)
invoked from within
"for {set i 1} {$i <= [expr ($m-2)]} {incr i} {
set RelativeDisp [expr ($TopDisp($i)-$BaseDisp($i))]
set RelativeDisp [expr abs($RelativeDisp)]
i..."
(file "TowerEQPostProc.tcl" line 24)
invoked from within
"source TowerEQPostProc.tcl"
(file "SimCenterInput.tcl" line 7)
Since both of the required input files for this postproc are available in the directory and both have 5000 data points, I am not sure why there is an error in reading them. Surprisingly, if I use other ground motions sometimes I get the same error and sometimes it works perfectly and gives me the results. To me, it seems there is an issue by QuoFEM when it calls the postproc. In other words, it seems the postproc is called before the Opensees analysis is over and as a result, the data is not available. However, this is only my guess and I might be wrong. Would you please help me to find the source of this problem and fix it?
Thank you so much,