CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   SU2, unable to run .py files ,Epistemic Uncertainty Quantification of RANS ,NACA 0012 (https://www.cfd-online.com/Forums/su2/230632-su2-unable-run-py-files-epistemic-uncertainty-quantification-rans-naca-0012-a.html)

kiloWatt September 29, 2020 09:54

SU2, unable to run .py files ,Epistemic Uncertainty Quantification of RANS ,NACA 0012
 
Hello,
I'm new to SU2 and I have a problem related to python scripts in SU2 v7.0.6: I work on MS Win10 and I have Python 3.8 installed and I use Powershell. Here I list of my issues:

-I can run SU2 in serial using "SU2_CFD filename.cfg" but can't run in parallel using "parallel_computation.py -n NP -f unsteady_NACA0012.cfg"

-the only way I can run in parallel is by typing " mpiexec -n 2 SU2_CFD unsteady_naca0012.cfg"

-In the tutorial https://su2code.github.io/tutorials/UQ_NACA0012/ I tried to follow the instructions and run the "compute_uncertainty.py" script, but as soon as I type "compute_uncertainty.py -f turb_NACA0012_uq.cfg -n 2" in Powershell, no actions are performed.

So I think my problems are all related to the python scripts: could you please give me some help?

Thanks in advance and kind regards to everybody

aero_amit November 29, 2020 00:07

in case your python script is still not working, you can proceed by using the individual .cfg files for 1c, 2c, 3c , p1c1 and p1c2 perturbations separately (It has been mentioned in tutorial as well)....

kiloWatt December 3, 2020 04:11

Thank you so much Amit :)

nitin123garg June 20, 2021 13:51

Hi,


I am having a similar issue. However, I need to use python scripts for the optimization, is there a work-around that as well? or, how to make sure that my python scripts work?


Any help will be really appreciated.



Thanks,
Nitin


All times are GMT -4. The time now is 17:57.