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

terminate called after throwing an instance of 'int' Aborted error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2015, 13:27
Default terminate called after throwing an instance of 'int' Aborted error
  #1
New Member
 
Join Date: Jul 2015
Posts: 3
Rep Power: 11
sunny09 is on a distinguished road
Hello everyone,

i am new to this forum, i am trying to work on inviscid flow with navierstokes instead of Euler,
implementing SA solver, when i am trying to run, i got this error, please help me out.

Thanks & regards
sunny09 is offline   Reply With Quote

Old   July 29, 2015, 20:40
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
Quote:
Originally Posted by sunny09 View Post
Hello everyone,

i am new to this forum, i am trying to work on inviscid flow with navierstokes instead of Euler,
implementing SA solver, when i am trying to run, i got this error, please help me out.

Thanks & regards
Are you modifying the code? It's not clear how you are trying to simulate inviscid flow - navier stokes is a viscous solver, and SA is a turbulence model, which means you are not simulating inviscid flow. If you are trying to use a turbulence model and viscous flow, use RANS instead of navier stokes - navier stokes does not use the turbulence models.
hlk is offline   Reply With Quote

Old   August 3, 2015, 07:08
Default
  #3
New Member
 
Join Date: Jul 2015
Posts: 3
Rep Power: 11
sunny09 is on a distinguished road
hello, thank you for your reply, yes i am trying to change the code using navierstokes on in-viscid flow, i want to check the output based on the bump problem..
sunny09 is offline   Reply With Quote

Old   August 3, 2015, 09:13
Default
  #4
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
Quote:
Originally Posted by sunny09 View Post
hello, thank you for your reply, yes i am trying to change the code using navierstokes on in-viscid flow, i want to check the output based on the bump problem..
First of all, I want to give you the link to the developer docs, which has lots of information relevant to modifying the code:
https://github.com/su2code/SU2/wiki/Developer-Docs

It is not clear what you are trying to do, as the navier stokes equations generally do not apply to inviscid flow, and this error will depend highly on exactly how you are modifying the code. However, my first guess would be that the problem lies in the option_structure.* or config_structure.*.

I would recommend using and IDE such as Xcode or Eclipse to find all the instances of the options related to the closest existing functionality. For example, starting from solver option in config_structure.cpp you can see that it depends on the solver_map for the list of options. That map is in option_structure.cpp, where you can see that to add another option you need to modify both solver_map and ENUM_SOLVER. Using an IDE to find all the instances of a particular solver name will help you find all the places in the code where modifications are needed to introduce a new solver.

For finding specific problems (due to the nature of coding, you will have more of these as you continue to modify the code, and the general error type will only be useful if you know what has changed in the code), I recommend introducing print statements or looking into debugging programs to help you figure out exactly where the problem is occurring. IDEs sometimes provide hints as well.
hlk is offline   Reply With Quote

Old   August 5, 2015, 07:01
Default
  #5
New Member
 
Join Date: Jul 2015
Posts: 3
Rep Power: 11
sunny09 is on a distinguished road
thanks a lot, i will do that.
sunny09 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
[OpenFOAM] an error in Calculator's equation immortality ParaView 12 June 29, 2021 01:10
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 05:53
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 08:11
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


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