CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

reverse flow

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 28, 2010, 13:52
Unhappy Udf help
  #1
New Member
 
H F
Join Date: Apr 2010
Posts: 1
Rep Power: 0
Engr.Hala is on a distinguished road
Hi everybody
In my model i have two phase flow (vapor water carrying water droplets
) passing though a tube banks. I need to add UDF which describes the growth in the water droplet as a function of time and when it reaches a certain size it deletes.

I have wrote the following UDF
/************************************************/
/*UDF that simulates deleting particles when particle diamaetr */
/*which is a function of time is greater than 1 mm */
/************************************************/

#include "udf.h"

DEFINE_PROPERTY(particle_diamater,c,t)
{

real pdiameter=C_PHASE_DIAMETER(c,t);

if (pdiameter >= 0.0001)
DIAMETER = 0.;

else
DIAMATER = pdiamater;

return DIAMETER;

}
I don't have C+ program installed on my machine is that necessary. When i am reading the UDF in FLUENT i am receiving the following : parse erro

Can anybody help please? It is urgent !!!!

Last edited by Engr.Hala; May 1, 2010 at 11:50.
Engr.Hala 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 105 November 20, 2009 05:19
Reverse flow in the VOF model yan FLUENT 1 May 26, 2005 09:14
reverse flow error message Kiraka FLUENT 11 May 22, 2002 18:09
reverse flow Giovanni FLUENT 11 October 15, 2001 03:01
reverse flow in pressure-outlet? hanjun FLUENT 3 August 29, 2001 21:46


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