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

different su2 versions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2015, 21:54
Default different su2 versions
  #1
New Member
 
Zhang Rui
Join Date: Oct 2014
Posts: 15
Rep Power: 11
gina07 is on a distinguished road
I am new in su2 and linux system. I first installed su2 3.2.3, and then I tried some cases in Testcases and met some problems with python scripts. And then in the forum I was noticed that maybe I needed a new verson of su2. But after I installed su2-3.2.7, I came across errors with the old Testcases but the new Testcases-master can run successfully. So I am wondering if the program only matches with the Testcases in the same version.
I didn`t change the configure files but I met divergence when solving naca0012 euler case. Could you help me about these two problems?Many thanks.
gina07 is offline   Reply With Quote

Old   January 11, 2015, 01:47
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 13
hlk is on a distinguished road
Quote:
Originally Posted by gina07 View Post
I am new in su2 and linux system. I first installed su2 3.2.3, and then I tried some cases in Testcases and met some problems with python scripts. And then in the forum I was noticed that maybe I needed a new verson of su2. But after I installed su2-3.2.7, I came across errors with the old Testcases but the new Testcases-master can run successfully. So I am wondering if the program only matches with the Testcases in the same version.
I didn`t change the configure files but I met divergence when solving naca0012 euler case. Could you help me about these two problems?Many thanks.
Thank you for your interest in SU2.
Generally you should using testcases and su2 with matching version numbers.
The first thing to try is "make clean" prior to the normal installation of the newer su2 version, in order to make sure that the older version is uninstalled.

What were the problems you encountered with the python scripts?
hlk is offline   Reply With Quote

Old   January 11, 2015, 02:17
Default su2 python error
  #3
New Member
 
Zhang Rui
Join Date: Oct 2014
Posts: 15
Rep Power: 11
gina07 is on a distinguished road
Quote:
Originally Posted by hlk View Post
Thank you for your interest in SU2.
Generally you should using testcases and su2 with matching version numbers.
The first thing to try is "make clean" prior to the normal installation of the newer su2 version, in order to make sure that the older version is uninstalled.

What were the problems you encountered with the python scripts?
Thank you~
When I used the command "shape_optimization -f inv_oneram6_adv.cfg -n 8",the following errors occured just as in the link. I am not familiar with the source code. So I am wondering where the problem is.
Hope for your reply~~~
[IMG]data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIi EmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Oz s7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCACwALADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJ xFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3O Dk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIW Gh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx 8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRM iMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2N zg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goO EhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPEx cbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwCaP4uxRvuOmysOcK14CAPT7n69fekk+Lc ckgcWE6DJ+VbtcEEYxzH+PrkemQe6eeSC1W5EWsXKG4EQUWaB2 Bwd5XAYIMFeQDyeD8pqxseXVZbNW1GMGMSCb7KghToNoYjJPzb i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line   Reply With Quote

Old   January 11, 2015, 02:21
Default error printscreen
  #4
New Member
 
Zhang Rui
Join Date: Oct 2014
Posts: 15
Rep Power: 11
gina07 is on a distinguished road
Quote:
Originally Posted by hlk View Post
Thank you for your interest in SU2.
Generally you should using testcases and su2 with matching version numbers.
The first thing to try is "make clean" prior to the normal installation of the newer su2 version, in order to make sure that the older version is uninstalled.

What were the problems you encountered with the python scripts?
The error printscreen is as the picture~~
Attached Images
File Type: jpg error.jpg (62.6 KB, 24 views)
gina07 is offline   Reply With Quote

Old   January 11, 2015, 02:35
Default
  #5
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 13
hlk is on a distinguished road
Quote:
Originally Posted by gina07 View Post
The error printscreen is as the picture~~
It looks like you may be using a python script from an older version in combination with the newest SU2 version (there was a change to whether mesh partition files with "_n.su2" were generated). If you set your PYTHONPATH when you were installing SU2 make sure that it is pointing to the directory with the updated scripts and that you run "make clean" prior to "make install" for the new version to make sure that the old version is cleaned out. If you are using a copy of the python script in your run directory, make sure to update it to the newer version.
hlk is offline   Reply With Quote

Old   January 11, 2015, 07:57
Default
  #6
New Member
 
Zhang Rui
Join Date: Oct 2014
Posts: 15
Rep Power: 11
gina07 is on a distinguished road
Quote:
Originally Posted by hlk View Post
It looks like you may be using a python script from an older version in combination with the newest SU2 version (there was a change to whether mesh partition files with "_n.su2" were generated). If you set your PYTHONPATH when you were installing SU2 make sure that it is pointing to the directory with the updated scripts and that you run "make clean" prior to "make install" for the new version to make sure that the old version is cleaned out. If you are using a copy of the python script in your run directory, make sure to update it to the newer version.

Many thanks,hlk!
I`ve tried what you said and I am now using the newest versions of SU2 and testcases 3.2.7. But I am still coming across such errors. Could you help me?
Attached Images
File Type: jpg 01.jpg (70.8 KB, 6 views)
File Type: jpg 02.jpg (96.5 KB, 6 views)
gina07 is offline   Reply With Quote

Old   January 11, 2015, 14:44
Default
  #7
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 13
hlk is on a distinguished road
Quote:
Originally Posted by gina07 View Post
Many thanks,hlk!
I`ve tried what you said and I am now using the newest versions of SU2 and testcases 3.2.7. But I am still coming across such errors. Could you help me?
When the program outputs the same line N times when you are trying to run on N processors, that is a symptom that SU2 may not have been installed with parallel support.

Check if this process works on a single processor. If you still get the error in the picture, check the location of the binaries (it is saying that it cannot find SU2_PRT, at the path specified in the error).
hlk is offline   Reply With Quote

Old   January 11, 2015, 21:49
Default
  #8
New Member
 
Zhang Rui
Join Date: Oct 2014
Posts: 15
Rep Power: 11
gina07 is on a distinguished road
Quote:
Originally Posted by hlk View Post
When the program outputs the same line N times when you are trying to run on N processors, that is a symptom that SU2 may not have been installed with parallel support.

Check if this process works on a single processor. If you still get the error in the picture, check the location of the binaries (it is saying that it cannot find SU2_PRT, at the path specified in the error).
Hello,hlk!
Are you a member of the ADL who developed the code SU2? I would like to do further study with SU2. And when I used the newest version with the same version of testcases, I found that without parallel the computation can continue ,however, coming out with a wrong result when I use tecplot to see the data file.Have you used the newest version to compute the testcases successfully? I wonder if it is the problem of my own or the source code.
Besides, I found there was no SU2_PRT model in the version 3.2.7 source code package, but I could get the error of" cannot find the SU2_PRT".I am confused now.

Sorry to bother you again~
Many thanks~
gina07 is offline   Reply With Quote

Old   January 11, 2015, 22:00
Default
  #9
New Member
 
Zhang Rui
Join Date: Oct 2014
Posts: 15
Rep Power: 11
gina07 is on a distinguished road
Quote:
Originally Posted by hlk View Post
When the program outputs the same line N times when you are trying to run on N processors, that is a symptom that SU2 may not have been installed with parallel support.

Check if this process works on a single processor. If you still get the error in the picture, check the location of the binaries (it is saying that it cannot find SU2_PRT, at the path specified in the error).
Hi~
Pic 1 is the result of pressure coefficient of naca0012 euler that I got.It seemed that something went wrong. Since version3.2.7 lacked of SU2_PRT, I copy the module from version3.2.3 to it, and the error of SU2_PRT cannot find was gone. However, I still met such errors as in pic 2.
Attached Images
File Type: jpg untitled.jpg (36.1 KB, 9 views)
File Type: jpg 12-01.jpg (79.9 KB, 3 views)
gina07 is offline   Reply With Quote

Old   January 11, 2015, 22:28
Default
  #10
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 13
hlk is on a distinguished road
Quote:
Originally Posted by gina07 View Post
Hi~
Pic 1 is the result of pressure coefficient of naca0012 euler that I got.It seemed that something went wrong. Since version3.2.7 lacked of SU2_PRT, I copy the module from version3.2.3 to it, and the error of SU2_PRT cannot find was gone. However, I still met such errors as in pic 2.
You're right, SU2_PRT was taken out of the newest version. Since the program is still apparently looking for it, that indicates that there is a mix up between versions. To be completely sure that you get a clean install, you can delete the current SU2 directory, pull down the 3.2.7 files, and reinstall. It is recommended to update your PYTHONPATH so that you will always be using the version of the python scripts in the SU2/bin folder. Sometimes paths can end up searching in folders you don't expect - say, if you add two folders that have SU2_CFD in them, it will use whichever version it finds first, so you will also want to check the paths for the python scripts and the executables to make sure that's not happening. This can be done with "which SU2_CFD" at the command line, which will show you the path to the SU2_CFD executable being used.
hlk is offline   Reply With Quote

Old   January 12, 2015, 09:05
Default
  #11
New Member
 
Zhang Rui
Join Date: Oct 2014
Posts: 15
Rep Power: 11
gina07 is on a distinguished road
Quote:
Originally Posted by hlk View Post
You're right, SU2_PRT was taken out of the newest version. Since the program is still apparently looking for it, that indicates that there is a mix up between versions. To be completely sure that you get a clean install, you can delete the current SU2 directory, pull down the 3.2.7 files, and reinstall. It is recommended to update your PYTHONPATH so that you will always be using the version of the python scripts in the SU2/bin folder. Sometimes paths can end up searching in folders you don't expect - say, if you add two folders that have SU2_CFD in them, it will use whichever version it finds first, so you will also want to check the paths for the python scripts and the executables to make sure that's not happening. This can be done with "which SU2_CFD" at the command line, which will show you the path to the SU2_CFD executable being used.
Hi hlk~
I have done what you advised me to do. And I confirmed that no problem existed with the versions and paths. Now I am still facing such errors like before.EvaluationFailure and DivergenceFailure~
Could you help me ? Thanks~
Attached Images
File Type: jpg 01.jpg (98.8 KB, 5 views)
File Type: jpg 02.jpg (99.7 KB, 4 views)
gina07 is offline   Reply With Quote

Old   September 8, 2015, 08:22
Default
  #12
New Member
 
Yang Muchen
Join Date: Jan 2015
Posts: 7
Rep Power: 11
ymc11 is on a distinguished road
Hi!
i am using su2 v4.0.0 to run the optimization_euler/steady_naca0012 case and i got the SU2.DivergenceFailure error too. Could you please give me some advice to fix it?
Any help would be appreciated.

Thanks!

ymc11 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
Official Release of SU2 V3.2 economon SU2 News & Announcements 6 April 17, 2015 23:28
Pointwise-SU2 joint webinar (April 29th) and SU2 v3.1.0 new release fpalacios SU2 News & Announcements 1 April 30, 2014 02:40
Official release of SU2 V3.0 and SU2 Educational V1.0 fpalacios SU2 News & Announcements 2 January 22, 2014 05:28
Incorrect calculation of forces/moments coefficients with older versions of SU2 diwakaranant SU2 2 August 16, 2013 04:17
Welcome to the Stanford University Unstructured (SU2) forum! economon SU2 0 January 7, 2013 02:48


All times are GMT -4. The time now is 09:34.