Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xln

Pages: [1]
1
Hello, thanks for posting the issue!

Perhaps the model output file (results.out) is not written in the correct format. To check this, please inspect the "results.out" file under the cache folder "LocalWorkDir\tmp.SimCenter\workdir.1". The file should contain only the numbers and spaces (or tabs) and not the brackets. Dakota uses brackets to indicate the gradient values of the model - so having additional brackets there could have prompted the error.

If this is the case, please modify your main or postprocessing FEM scripts such that it only writes the numbers. If this is not the case, can you please share the below two files with us to help us identify the cause of the error?
(1)LocalWorkDir\tmp.SimCenter\workdir.1\results.out
(2)LocalWorkDir\tmp.SimCenter\dakota.in

Thanks,
Sang-ri

Sang-ri, thank you so much! You pointed out the real problem! I changed the 'write file' statement of post.py, and then quoFEM successfully displayed the simulation result data. The key is the way Dakota.in is set up, stating no gradients and no hessians.

2
Hi, I tried to run my own case using quoFEM and it works fine locally. The logs report a Dakota error that I don't understand.

Code: [Select]
14:27:05 Running response simulation
FMK COMMAND: "D:\quoFEM_Windows_Download\applications\python\python.exe" "D:\quoFEM_Windows_Download\applications\performUQ\dakota\DakotaUQ.py" "--workflowInput" "scInput.json" "--driverFile" "driver" "--workflowOutput" "EDP.json" "--runType" "runningLocal"
         Simulation command:

"D:\quoFEM_Windows_Download\applications\python\python.exe" "D:\quoFEM_Windows_Download\applications\performUQ\dakota\DakotaUQ.py" "--workflowInput" "scInput.json" "--driverFile" "driver" "--workflowOutput" "EDP.json" "--runType" "runningLocal"

Output:

EVAL CONCURRENCY: 20
CWD: D:\Documents\quoFEM\LocalWorkDir\tmp.SimCenter\templatedir
running Dakota:  dakota -input dakota.in -output dakota.out -error dakota.err


         Response simulation finished successfully.
         -----------------------------------------------------------------------

14:29:23 - Analysis done
14:29:23 - Error Running Dakota: Expected 0 gradients but found 1.
14:29:23 - Analysis complete

This is a time history analysis to calculate the top-level displacement of a reinforced concrete frame in an earthquake. Forward propagation LHS is used with a total of 6 random variables. I looked up the local cache path tmp.SimCenter and found that the calculation stops at workdir.20. Theoretically there should be workdir.50. Anyone who can help me is greatly appreciated :)

Pages: [1]