CFD Online URL
[Sponsors]
Home > Forums > FLUENT

i need help

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 7, 2011, 16:12
Default i need help
  #1
Member
 
rose
Join Date: Dec 2010
Posts: 30
Rep Power: 6
rubis is on a distinguished road
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
rubis is offline   Reply With Quote

Old   April 8, 2011, 03:49
Default
  #2
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 738
Blog Entries: 1
Rep Power: 13
Amir is on a distinguished road
Hi rose,
you can set volume monitor during iteration:
solve->monitors->volume .....
Amir is offline   Reply With Quote

Old   April 8, 2011, 07:59
Default display dst
  #3
Member
 
rose
Join Date: Dec 2010
Posts: 30
Rep Power: 6
rubis is on a distinguished road
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
rubis is offline   Reply With Quote

Old   April 8, 2011, 11:16
Default
  #4
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 738
Blog Entries: 1
Rep Power: 13
Amir is on a distinguished road
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,
Amir is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:57.