|
[Sponsors] |
April 28, 2010, 13:52 |
Udf help
|
#1 |
New Member
H F
Join Date: Apr 2010
Posts: 1
Rep Power: 0 |
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. |
|
|
|
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 |