CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   PRINT VALUE FROM UDF (http://www.cfd-online.com/Forums/fluent/30367-print-value-udf.html)

Pravesh Kumar October 8, 2002 08:02

PRINT VALUE FROM UDF
 
Hi I am using UDF for the momentum exchange terms using DEFINE_EXCHANGE_PROPERTY for multiphase flow.I want to print the value of these interaction term calculated by UDF. Plz Help.


Alexandre October 8, 2002 08:55

Re: PRINT VALUE FROM UDF
 
use Message("text"); in a compiled udf

Pravesh Kumar October 8, 2002 09:05

Re: PRINT VALUE FROM UDF
 
I am using INTERPRETED UDF then how to print calculated by UDF.


Alexandre October 8, 2002 09:18

Re: PRINT VALUE FROM UDF
 
printf ?

or compile it !

Pravesh Kumar October 9, 2002 01:23

Re: PRINT VALUE FROM UDF
 
hi It is printing continuously for all the time steps but i want to print it only once just to cross check it with hand calculation.

Alexandre October 9, 2002 01:53

Re: PRINT VALUE FROM UDF
 
It is printing each time the udf is called e.g. in each cell, which is whath you asked.


All times are GMT -4. The time now is 21:26.