CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   How can i check that my UDF is being used in fluent istead of its internal data (http://www.cfd-online.com/Forums/fluent-udf/102991-how-can-i-check-my-udf-being-used-fluent-istead-its-internal-data.html)

chemkin June 7, 2012 20:47

How can i check that my UDF is being used in fluent istead of its internal data
 
Dear all
I have written a UDF of volumetric reaction rate and hooked it in fluent. i want to know that is fluent using my UDF or the data i have given by user interface in material options.
and i also want to know that can i use " relax to chemical equilibrium" along with UDF in fluent.
Thanks in advance for your time and concern.

ghost82 June 8, 2012 03:20

I think you can add to your udf some i/o functions, such as printf and verify from the console (a sort of debug)..

But why fluent shouldn't use your options/udf?:confused:

Daniele

chemkin June 8, 2012 05:19

thanks buddy for help
actually first i hook the UDF and after some iterations unhook it. there is no effect. but when i change the data , in place of which this udf is being used, in fluent user interface effect came into pic. thatswhy i was confused that does this usf is being used or not.
by the way the function that you are talking about, cna you describe it a bit deep???

ghost82 June 8, 2012 07:53

Check this:
http://hpce.iitm.ac.in/website/Manua...df/node260.htm

You can place some printf inside your udf to see values which fluent is using during the simulation.

chemkin June 8, 2012 08:07

thanks man thanks a lot for the link. i used Message built in macro instead of printf . it is working .. thanks again


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