|
[Sponsors] |
May 2, 2008, 06:33 |
Reg. Parse error in line 3
|
#1 |
Guest
Posts: n/a
|
this is the program
#include "udf.h" #include "random.h" DEFINE_DPM_INJECTION_UNIT(init_random_diameter,I) { particle *p; CX_Message("Initializing Injection: %s with random diameter\n", I->name; loop(p,I->p) { p->flow_rate = 1.e-4; P_DIAM(p) = 1.e-5+fabs(cheap_gauss_random())*1.e-3; P_RHO(p)=1.0; P_MASS(p)=P_RHO(p)*M_PI*pow(P_DIAM(p),3.0)/6.0; } } when i try to interpret this udf in fluent, it is giving error as parse error in line 3... can anybody please clear the doubt thanks in advance |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF line 1 parse error | Dimitrios | Fluent UDF and Scheme Programming | 24 | March 18, 2015 22:53 |
UDF:line 6: parse error. | Jiying Liu | FLUENT | 4 | July 6, 2008 21:24 |
line 91 parse error | brusly | FLUENT | 1 | January 29, 2007 05:54 |
UDF Parse Error Line 1 | Brian | FLUENT | 1 | October 29, 2005 12:12 |
UDF: Parse error line 3 | CJ | FLUENT | 2 | March 1, 2005 10:12 |