|
[Sponsors] |
Impementing test case after installation - Error shown in plot_pressure.py |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 6, 2014, 02:44 |
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 |
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 |
|
February 6, 2014, 20:45 |
|
#2 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14 |
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 |
|
February 7, 2014, 07:49 |
|
#3 |
New Member
Sukratu Barve
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Thanks. Have passed this on to my team. Will post again confirming success.
S |
|
February 21, 2014, 06:29 |
|
#4 |
New Member
Sukratu Barve
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
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. |
|
February 24, 2014, 12:59 |
|
#5 | |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14 |
Quote:
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 |
||
|
|
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 |