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

Problems Running Transonic Airfoil Tutorial

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2015, 14:17
Default Problems Running Transonic Airfoil Tutorial
  #1
New Member
 
Matt Mellon
Join Date: Oct 2015
Posts: 1
Rep Power: 0
mmellon is on a distinguished road
Hello,

I am trying to run the Transonic Airfoil Optimization Tutorial and I keep getting this error when I run it:

File "shape_optimization.py", line 35, in <module>
import SU2
ImportError: No module named SU2


I am not sure how to go about fixing this error. I am using the Windows version of SU2, running it in the DOS Command Prompt with the following command: python shape_optimization.py -f inv_NACA0012_basic.cfg

I have also downloaded the Python libraries required to run the optimization.

Any thoughts would be appreciated.
mmellon is offline   Reply With Quote

Old   October 23, 2015, 04:33
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 7
talbring is on a distinguished road
Hi mmellon,

you need to add the installation directory to the environment variables like it is explained here: https://github.com/su2code/SU2/wiki/...s-Installation
talbring is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
running cylinder tutorial of reactingParcelFilmFoam in parallel BPeters OpenFOAM Running, Solving & CFD 3 March 11, 2020 01:26
[BEGINNER] Problems running tutorials (incompressible) in OF 2.xx Jaro OpenFOAM Running, Solving & CFD 8 March 16, 2016 07:27
potentialFoam/cylinder tutorial problems Nkl OpenFOAM Running, Solving & CFD 2 March 5, 2015 10:17
Problem in running simpleFoam tutorial Lana OpenFOAM Running, Solving & CFD 1 April 10, 2013 11:08
Problem running cavityGrade Tutorial CFDMike OpenFOAM Running, Solving & CFD 0 September 23, 2010 07:46


All times are GMT -4. The time now is 16:50.