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

Best OS to run SU2 solver?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2014, 13:49
Question Best OS to run SU2 solver?
  #1
New Member
 
Norman
Join Date: Apr 2014
Posts: 2
Rep Power: 0
mmcap64 is on a distinguished road
Is it necessary to run SU2 solver on linyx OS? Surely the solver can be run on a windows 7 or 8 OS since there appears to be downloads for “Windows”. Is using linyx easier than windows? I have downloaded the “Windows” version, the full sorce code, test cases, and paraview. I have tried numerous times to start the quick start tutorial but was never able to find the appropriate place to “run” the solver. It keeps giving me an error. The guy at work who functions as the IT guy couldn’t seem to make anything work in win7 either. Im sure I am overlooking something very simple. Any help with setting up the tutorial solver in windows would be greatly appreciated. I am willing to install linyx if it is easier to use than win7 or win8.
mmcap64 is offline   Reply With Quote

Old   April 18, 2014, 06:59
Default
  #2
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
Quote:
Originally Posted by mmcap64 View Post
I have tried numerous times to start the quick start tutorial but was never able to find the appropriate place to “run” the solver. It keeps giving me an error.
What error you got?

You can copy the solver, the cfg and the grid file all under one folder. Then run.
shirazbj is offline   Reply With Quote

Old   April 29, 2014, 12:22
Default Error
  #3
New Member
 
Norman
Join Date: Apr 2014
Posts: 2
Rep Power: 0
mmcap64 is on a distinguished road
How do you “RUN” the solver? I have the full source code, the full set of test cases, notepad++ , and paraview all contained in the same folder. I open the “ inv_NACA0012.cfg” file in notepad++ and set the output to paraview. Then if I open a command prompt inside notepad++ and type “SU2_CFD inv_NACA0012.cfg” exactly as instructed in the users manual, all I get is, ‘SU2_CFD’ is not recognized as an internal or external command, operable program or batch file. This computer Has windows 8 if that makes any difference.

Last edited by mmcap64; April 29, 2014 at 19:52.
mmcap64 is offline   Reply With Quote

Old   April 30, 2014, 00:29
Default
  #4
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
Quote:
Originally Posted by mmcap64 View Post
How do you “RUN” the solver? I have the full source code, the full set of test cases, notepad++ , and paraview all contained in the same folder. I open the “ inv_NACA0012.cfg” file in notepad++ and set the output to paraview. Then if I open a command prompt inside notepad++ and type “SU2_CFD inv_NACA0012.cfg” exactly as instructed in the users manual, all I get is, ‘SU2_CFD’ is not recognized as an internal or external command, operable program or batch file. This computer Has windows 8 if that makes any difference.
If you only have the source code, you have to compile it first.
In your command window, it is looking for a su2_cfd.exe file.
Use "dir" to list if you have that su2_cfd.exe file.

If you don't have that, download the binary version. You don't need the source code to run it.
ceanwang is offline   Reply With Quote

Old   July 12, 2014, 10:12
Default
  #5
New Member
 
Selmar
Join Date: Jul 2014
Posts: 17
Rep Power: 12
Buxxy is on a distinguished road
Is the SU2 executable path added to the PATH environment variable? That is what was missing for me.

I don't believe this is in the documentation? However, I believe I had an environment variable editor open and saved something during installation, so it may have been my own fault.
Buxxy is offline   Reply With Quote

Old   March 15, 2015, 08:32
Default
  #6
New Member
 
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12
remir is on a distinguished road
Hello,

I am new to SU2 and am facing the same problem you had, even though I think I have set up the environment variable as explained in https://github.com/su2code/SU2/wiki/...s-Installation.

Maybe the problem comes from windows 8(.1).

Any idea on how to fix this?

Edit: adding to system variable /path also solved this problem.

Using python scripts is still challenging though. Do I have to place the file.py in the same directory as the working directory when trying to solve tutorial 7 (rotating airfoil ) ? I also added the python.exe to my path. The error I get is:
python: can't open file 'shape_opimization.py': [Errno 2] No such file or directory.

Last edited by remir; March 18, 2015 at 04:51.
remir 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
Error message after solver finished the run mejahan CFX 0 November 20, 2013 16:46
Why run the solver twice ("cavity" tutorial section 2.1.8.2)? a330 OpenFOAM Running, Solving & CFD 0 February 27, 2012 12:15
HOW can I run a solver without installatiom waynezw0618 OpenFOAM Installation 1 December 12, 2007 01:39
Help, can't stop solver run...Windows OS ben akih CFX 2 November 13, 2006 11:05
Customized solver to run in parallel hsieh OpenFOAM Running, Solving & CFD 3 September 21, 2006 05:59


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