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

I have a problem with UDF importing .dat datas.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2018, 08:06
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. For example when the software is showing to me a segmentation fault the gdb is just 'segmentation fault' as show in the attachment below. So, I can't see which variable has problems. And 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, 3 views)

Last edited by pianaCFD; November 25, 2018 at 07:17.
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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 07:05
Problem with DPM simulation with particles injection and EXECUTE_AT_THE_END UDF. Ari Fluent UDF and Scheme Programming 4 May 31, 2016 09:51
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 01:53
udf loading problem santu Fluent UDF and Scheme Programming 1 May 22, 2015 16:47
Vaporization pressure UDF property problem? lehoanganh07 Fluent UDF and Scheme Programming 1 September 13, 2014 11:59


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