CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF-Fluent debug on Ubuntu.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2018, 04:48
Default UDF-Fluent debug on Ubuntu.
  #1
New Member
 
Join Date: Nov 2018
Posts: 14
Rep Power: 8
pianaCFD is on a distinguished road
Good morning,
I'm working with Ansys Fluent and the UDFs on Ubuntu. Is there an efficient way to debug a code?

I've already tried those two guides:

1) https://www.cfd-online.com/Wiki/Udf_debug
The point is that I can't debug my code efficiently or maybe I just don't know how to do it. For example when Fluent is giving me a segmentation fault, the gdb from terminal is just showing me 'segmentation fault' as you can see in the attachment below. So, I can't see which variable has problems. Moreover, is there a useful meaning on the number 0x00007fdada76afb7 that you can also see in the attachment?

2) [UDF compiling/debug]an integrated tool to edit/compile/debug UDF in Visual Studio
Is this tool also working on Ubuntu? I've installed it with Wine, but it seems like I can't charge my VC version and my Fluent version to run on Ubuntu.

Is there a way to debug an UDF that shows also where is the problem? Or is there a way to show where is the problem following the previous guides?

Thank you for any help.
Attached Images
File Type: png gdb_screenshoot.png (27.4 KB, 5 views)
pianaCFD 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
A Problem of Fluent Interpreted UDF: parse error knight Fluent UDF and Scheme Programming 25 August 16, 2018 11:26
Two questions on Fluent UDF Steven Fluent UDF and Scheme Programming 7 March 23, 2018 04:22
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
fluent UDF external library lapack problem Rick FLUENT 0 May 7, 2008 11:16
UDF problem caused by various version of Fluent Yurong FLUENT 3 January 15, 2006 11:57


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