Impementing test case after installation - Error shown in plot_pressure.py
Installation of SU2 has been completed.
I do ./SU_EDU in my bin directory
Then at the next user input I do the following
 Inviscid (Euler)
 Viscous (RANS)
Select simulation type : 0
Then I provide the aerofoil coordinates
Enter the airfoil coordinate file: airfoil_e174.dat
Select coordinate file type : 0
Close the airfoil (Y/N)? [N]: Y
Then the programme runs till the end. i.e.
History file, closed.
Completed in 60.170000 seconds on 1 core.
------------------------- Exit Success (SU2_EDU) ------------------------
Then at my command line prompt I
python plot_pressure.py -f surface_flow.csv
I get this error message.
Traceback (most recent call last):
File "plot_pressure.py", line 24, in <module>
import pandas as pd
ImportError: No module named pandas
Help requested. Thanks in anticipation.
It looks like you are missing the pandas python package. This is a package for data analysis. You can download it according to the instructions on their site, but it also comes built in to the canopy distribution of python from Enthought: https://www.enthought.com/products/canopy/. It contains preinstalled versions of the typical packages needed for scientific computing/numerical analysis in python (numpy, scipy, etc.), and a free version is available.
Also, note that we will likely update this simple python script in the future.
Hope this helps,
Thanks. Have passed this on to my team. Will post again confirming success.
Looks like our 'panda' installation is demanding dependencies one after the other.
(But that is a problem of panda not SU2) Will keep the forum updated.
By the way, the panda package is only used to sort the data, which makes the plot look a little nicer. You could remove this dependency by commenting out lines 41-43, and it is likely that you won't notice the difference (the nodes along the airfoil surface are essentially indexed in order anyway).
Hope this helps,
|All times are GMT -4. The time now is 16:00.|