|April 14, 2013, 07:53||
Cannot Execute on Demand
Join Date: Apr 2013
Posts: 2Rep Power: 0
Dear forum users,
I am new to Fluent and have the following problem:
I compile an ON_DEMAND UDF:
d = Get_Domain(1);
It compiles without errors, then I Load it. When I go to Define-> User-Defined -> Execute on Demand, choose "on_demand_calc::libudf", and press Execute, totally nothing happens (no any new text is coming in the Fluent console). Then when I quit Fluent, the "Hello World" text appears in the console (that many times as I have pressed the Execute button) just half a second before Fluent closes. Or sometimes the text appears when I unload the "libudf" in "Manage".
I have this issue for serial and parallel(3 cores) sessions of Fluent.
My software and system:
MS Visual Studio 2010.
Can anybody please give a suggestion what is going wrong?
Thanks in advance!
Last edited by Denis; April 14, 2013 at 14:25.
|April 15, 2013, 05:33||
Join Date: Mar 2009
Posts: 133Rep Power: 10
Your code is definitely ok, maybe there is something in the GUI going on.
Try Message0("Hello World\n") instead of printf and see what happens.
|Thread||Thread Starter||Forum||Replies||Last Post|
|execute udf after convergence||wanghaojie||Fluent UDF and Scheme Programming||4||January 24, 2012 19:01|
|execute udf in ss & transient simulation||hosseinhgf||FLUENT||0||December 1, 2010 09:41|
|error while execute on demand||Anderson||Main CFD Forum||4||October 17, 2008 11:48|
|On demand UDF error||RS||FLUENT||0||May 10, 2007 12:54|
|execute on demand||pourak||FLUENT||0||April 20, 2007 06:24|