CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   SU2 Installation (http://www.cfd-online.com/Forums/su2-installation/)
-   -   Impementing test case after installation - Error shown in plot_pressure.py (http://www.cfd-online.com/Forums/su2-installation/129473-impementing-test-case-after-installation-error-shown-plot_pressure-py.html)

sukratu February 6, 2014 02:44

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

[0] Inviscid (Euler)
[1] Viscous (RANS)
Select simulation type [0]: 0

Then I provide the aerofoil coordinates

Enter the airfoil coordinate file: airfoil_e174.dat

[0] Selig
[1] Lednicer
Select coordinate file type [0]: 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
enter

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.

Sincerely,

Sukratu Barve

economon February 6, 2014 20:45

Hi Sukratu,

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,
Tom

sukratu February 7, 2014 07:49

Thanks. Have passed this on to my team. Will post again confirming success.

S

sukratu February 21, 2014 06:29

Hello!

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.

economon February 24, 2014 12:59

Quote:

Originally Posted by sukratu (Post 476002)
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.

Sukratu,

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,
Tom


All times are GMT -4. The time now is 01:13.