CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Printing Values From UDF (https://www.cfd-online.com/Forums/fluent/30408-printing-values-udf.html)

Pravesh Gangwar October 18, 2002 14:21

Printing Values From UDF
 
hi I have written UDF for the DEFINE_EXCHANGE_PROPERTY. I want to continuosly monitor the drag force(momentum exchange)between the phases which is being calculated by UDF.How can I do this.

Regards Pravesh

Anthony Wachs October 22, 2002 06:08

Re: Printing Values From UDF
 
It seems to me that you only have to use something like

Message("drag force = %f",toto);

where toto is the variable name of the drag force in your UDF.

Hope it could help,

Anthony


All times are GMT -4. The time now is 12:34.