Recent Posts

Pages: 1 ... 8 9 [10]
91
General Questions / Re: Monte Carlo (OpenSeespy)
« Last post by pellumbz on October 07, 2022, 10:54:33 AM »
Hi again

When I'm checking the path in command prompt it shows me this one for python: C:\Users\pellumb.zogu\AppData\Local\Microsoft\WindowsApps\python.exe
But, when I go from quoFEM in this path I can't choose this path it shows me this error (please see the attachment).

BR.
92
General Questions / Re: Monte Carlo (OpenSeespy)
« Last post by pellumbz on October 07, 2022, 08:48:12 AM »
Hi again
I think my issue is with versions you are right.
I changed inside file preference and I putted the path from one I found in command prompt but now I'm getting another type of error:
it shows:
An error occurred in the Python script, the exit code is 9009
Analysis complete with errors
Filed to run the workflow

Can you please tell me how did you make it run? What version are you using since you got the results that I need!
I had similar problem also when I was running my script in spyder, and the only way to make it work is If I let the version as you can seen in attachment, otherwise was not working.
SO, since it run in your case I would try to adopt the same versions with you maybe it will work than also for me.
Thank you very much for helping me!
Best regards,
93
General Questions / Re: Monte Carlo (OpenSeespy)
« Last post by Sang-ri on October 06, 2022, 03:56:51 PM »
Hi

Thanks much for sharing the input files. It was very helpful. The following was needed for me to make it run on quoFEM

1. Uncomment the last three lines
Those look like the correct way of writing results.out for the maximum load.

2. Change the python path to your own system python path
Currently, the Windows version of quoFEM is distributed with its own python exe (v3.8) and OpenSeesPy (v3.3.0.1). But I think some of your functions only work with OpenSeesPy v3.4, which requires python v3.9. To solve this issue, you can make quoFEM use your system python exe instead the default one. To do this, go to file-preferences and check 'custom python' and change the path to the system python path (You can find the system python path by typing 'where.exe python' on the command prompt). Also, to make sure all the SimCenter dependencies are installed in this python exe, do 'pip install nheri_simcenter --upgrade'

3. Comment out IPython and matplotlib
I commented out the lines related to IPython and plt.show(). When I tested the input script (by typing 'python Benchmarked_Rectangular_Encased_column_quoFEM.py'), these parts were blocking the analysis.

4. Created params.py file
I picked up the following lines from the main script and moved them to params.py
  • hp=280 #height of the profile
  • bp=280 #width of the profile
  • fy=426 #profile yield
  • Ey=210000 #profile E modul

Please do #2 and then try running the analysis with the attached scripts (to have #1,#2, and #4) and let us know how it goes!

Sang-ri

94
General Questions / Re: Monte Carlo (OpenSeespy)
« Last post by pellumbz on October 06, 2022, 01:44:09 PM »
Please find attached my openseespy script.
This script is used to calculate maximum force in composite column (maxforce).
I putted as parameter the Elastic modulus, yielding, width and height of steel profile (I choose randomly just to try the software quoFEM).
When I'm trying to run the analysis it shows this error:

Error Running Dakota: Error: cannot open results file "workdir.4\results.out" for evaluation 4

Based on what I read online, the problem should be related to "results.out file", but I don't know how to create this file inside my script?
Thank you in advance
95
General Questions / Re: Monte Carlo (OpenSeespy)
« Last post by pellumbz on October 06, 2022, 07:38:16 AM »
Hi again
Thank you for you replay.
The workdir file number is changing everytime I'm trying to run the analysis.
I will upload an attachment of the error for you, so maybe than is more clear what is the error.
96
General Questions / Re: Monte Carlo (OpenSeespy)
« Last post by Sang-ri on October 05, 2022, 03:42:59 PM »
Can you check the below to help us identify the issue?

1. Is the 'results.out' (in workdir.23) empty?

2. Is 'ops.out' created in workdir.23? The error log from OpenSeespy should be written here. If ops.out is not there, can you try the following? (1) open Command Prompt (if Windows) or terminal (if Mac) (2) navigate to workdir.23 using 'cd' command (3) type driver.bat (windows) or ./driver (mac) (4) check if you get any errors and if results.out is properly written.

Please let me know if you have questions.
97
General Questions / Re: Monte Carlo (OpenSeespy)
« Last post by pellumbz on October 05, 2022, 11:41:49 AM »
Hi
Yes the file results.out is created, but the analysis is not running.
Based what I search on internet, I think my issue is how to make inside the input file the code to create the results.out file?
98
Uncertainty Quantification (quoFEM) / Re: Custom Analysis Engine
« Last post by AakashBS on October 05, 2022, 06:18:03 AM »
This is in addition to creating the driver script and any post-processing script that is necessary
99
Uncertainty Quantification (quoFEM) / Re: Custom Analysis Engine
« Last post by AakashBS on October 05, 2022, 05:45:39 AM »
One should provide read and execute permissions to all (user, group, and other) for all items in the path from the user's home directory to the custom analysis application on DesignSafe.
100
General Questions / Re: Monte Carlo (OpenSeespy)
« Last post by Sang-ri on October 04, 2022, 04:07:06 PM »
Hello! Can you check if ops.out file is created in workdir.23 and share the contents with us?
Pages: 1 ... 8 9 [10]