CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

having problems with udf debugging

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2015, 08:06
Default having problems with udf debugging
New Member
solmaz aryafar
Join Date: Feb 2013
Posts: 11
Rep Power: 9
solmaz aryafar is on a distinguished road
Hello friends!

I have a udf for modifying the "Aggregation Kernel" of the PBM (Population Balance Model) of Fluent that repeatedly results in divergence. I found this article on wiki: on debugging the udf's; but I don't know how exactly I can use this, because it's a bit unclear. So is there any one who already debugged his/her udf with this tool who could help me, please?

For example in the 3th step it's written: "search for CFLAGS_LNAMD64 (or your appropriate platform)", but when I look into the "libudf" made after compiling the udf, I see two folders: "lnamd64" and "src", and one file: "makefile". In the step 4, it's said: "change the option "-O" with "-O0 -g" and save the file", but in the makefile I don't see any -O, whearas when I open "Lnamd64" I see 3 "makefile"s which containe this mentioned -O. So I'm wondering if I have to change "-O" to "-O0 -g" and proceed with the rest of steps.

I really appreciate your help! I'm kind of stuck with this udf , which at the first glance seems to be very straight forward to get convergence from.

Thanks in advance,
solmaz aryafar is offline   Reply With Quote


fluent, pbm, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Windows Environment variables- to solve problems in compiling UDF in Fluent Modest Cat Fluent UDF and Scheme Programming 39 May 18, 2016 11:33
Problems with interpolating UDF Topspin Fluent UDF and Scheme Programming 1 March 30, 2014 23:23
Problems in the UDF for DPM erosion Messi Fluent UDF and Scheme Programming 0 January 23, 2014 06:29
problems with UDF to set contact angle poiuy219 Main CFD Forum 0 April 30, 2009 11:43
udf begin_c_loop problems Abigail FLUENT 0 September 27, 2006 10:41

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