CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   i need help (https://www.cfd-online.com/Forums/fluent/86975-i-need-help.html)

rubis April 7, 2011 15:12

i need help
 
hi ,
please help i have this udf
#include <udf.h>
DEFINE_PROPERTY (dyn_surf_tension, cell, thread)
{
real dst;
real t=CURRENT_TIME;
dst=141121*pow(t,5) - 38978*pow(t,4) + 3817.5*pow(t,3) - 148.84*pow(t,2) +
1.3033*pow(t,1) + 0.071;
return dst;
}
How do I get the dst versus time?????please answer me

Amir April 8, 2011 02:49

Hi rose,
you can set volume monitor during iteration:
solve->monitors->volume .....

rubis April 8, 2011 06:59

display dst
 
thank you Amir ;
but in solve---monitor---volume I did not find dst in field variable and my second question for dst what is the type of the rapport ?

cordially

Amir April 8, 2011 10:16

you should select properties in field variable panel and select your desired one in sub division panel that you wrote UDF for.
because your field variable hasn't spatial dependencies, so you would achieve same results if you select min or max or volume average.

regards,


All times are GMT -4. The time now is 04:09.