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

reverse flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
reverse flow error message Kiraka FLUENT 12 June 3, 2021 20:56
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 104 February 16, 2006 05:44
Reverse flow in the VOF model yan FLUENT 1 May 26, 2005 09:14
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 04:48.