CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

Impementing test case after installation - Error shown in plot_pressure.py

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2014, 02:44
Default Impementing test case after installation - Error shown in plot_pressure.py
  #1
New Member
 
Sukratu Barve
Join Date: Mar 2009
Posts: 16
Rep Power: 17
sukratu is on a distinguished road
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
sukratu is offline   Reply With Quote

Old   February 6, 2014, 20:45
Default
  #2
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14
economon is on a distinguished road
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
economon is offline   Reply With Quote

Old   February 7, 2014, 07:49
Default
  #3
New Member
 
Sukratu Barve
Join Date: Mar 2009
Posts: 16
Rep Power: 17
sukratu is on a distinguished road
Thanks. Have passed this on to my team. Will post again confirming success.

S
sukratu is offline   Reply With Quote

Old   February 21, 2014, 06:29
Default
  #4
New Member
 
Sukratu Barve
Join Date: Mar 2009
Posts: 16
Rep Power: 17
sukratu is on a distinguished road
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.
sukratu is offline   Reply With Quote

Old   February 24, 2014, 12:59
Default
  #5
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14
economon is on a distinguished road
Quote:
Originally Posted by sukratu View Post
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
economon is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Viscositymodel tutorial, problems when changing test case to cavity sur4j OpenFOAM Programming & Development 1 December 8, 2013 10:53
T3c2 flat plate test case rajeshamech Main CFD Forum 0 November 21, 2013 06:21
Interfoam Droplet under shear test case adona058 OpenFOAM Running, Solving & CFD 3 May 3, 2010 19:46
Porous Media test case Alex FLUENT 0 April 9, 2006 09:23
c1 body test case Eric Lenormand Main CFD Forum 0 March 2, 2000 07:54


All times are GMT -4. The time now is 23:43.