|
[Sponsors] |
SU2 does not rebuild some codes on latest Develop version |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 16, 2020, 01:16 |
SU2 does not rebuild some codes on latest Develop version
|
#1 |
New Member
Marrie
Join Date: Dec 2014
Posts: 13
Rep Power: 0 |
Greetings,
I've been playing around with the SU2 code to try to add things and contribute. On the latest develop branch, as of April 15th 2020, some codes do not recompile after I make some changes. I am not sure if this will affect other files too but currently, I have problem with the file SU2_SOL.cpp within SU2_SOL/src directory. My test problem is the Inviscid Bump. Steps to reproduce 1. Go to SU2_SOL/src/SU2_SOL.cpp, I change just the string at line 725, which outputs "Solver Postprocessing". I didnt want to break other things so I figure changing string is a safe option. 2. In other words, I change: Code:
cout << endl <<"------------------------- Solver Postprocessing -------------------------" << endl; Code:
cout << endl <<"------------------------- CHANGE Solver Postprocessing -------------------------" << endl; 3. I also changed the output string of the file CSinglezoneDriver.cpp within SU2_CFD/src/drivers directory. This is to check if only SU2_SOL.cpp are affected. For this file, I changed line 270 which outputs "Solver Exit" like this: Code:
cout << endl << "----------------------------- Solver Exit -------------------------------" << endl; Code:
cout << endl << "---------------------------CHANGE Solver Exit -------------------------------" << endl; Code:
./meson.py build --reconfigure --buildtype=debug 5. Then to reinstall the code, I do: Code:
./ninja -C build install 6. I run the code to solve the Inviscid Bump using: Code:
SU2_CFD inv_channel.cfg Code runs and exits normal. The file CSinglezoneDriver.cpp is updated, but not the SU2_SOL.cpp. I tried removing the build folder to do a fresh build and install, still the same problem. The only thing I changed within the config file is setting ROE as flow numerical method (line 145). I also changed the iteration on line 102 to like 2 iteration, because I only want to see if the files get updated. I have not created an Issue on Github yet, just want to know the suggestions here first. Please let me know and I appreciate the inputs |
|
April 16, 2020, 14:46 |
|
#2 |
New Member
Marrie
Join Date: Dec 2014
Posts: 13
Rep Power: 0 |
I figured out the problem. I was editing the wrong file, every solver has the "Exit" and "Deleted" messages printed out. I was editting the SU2_SOL.cpp, but in fact the file that needs to be changed is the CDrivers.cpp within SU2_CFD.
|
|
Tags |
build, compile from source, update |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems with CGNS mesh and develop version | BopngMa | SU2 | 2 | September 15, 2015 17:38 |
Porting FoamX to cygwin using the latest version of MICO | 7islands | OpenFOAM Pre-Processing | 17 | December 31, 2008 02:27 |
What is Fluent's latest version number and service | JollyP | FLUENT | 1 | October 30, 2006 17:34 |
The latest version | Ivan | Siemens | 1 | August 29, 2006 10:28 |
latest version of fluent | masood yooceframandi | FLUENT | 10 | January 22, 2005 19:21 |