|May 28, 2015, 07:06||
having problems with udf debugging
Join Date: Feb 2013
Posts: 11Rep Power: 5
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: http://www.cfd-online.com/Wiki/Udf_debug 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,
|fluent, pbm, udf|
|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 10:33|
|Problems with interpolating UDF||Topspin||Fluent UDF and Scheme Programming||1||March 30, 2014 22: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 10:43|
|udf begin_c_loop problems||Abigail||FLUENT||0||September 27, 2006 09:41|