|
[Sponsors] |
October 30, 2012, 12:19 |
error: udf_names.c ??
|
#1 |
New Member
Join Date: Oct 2012
Posts: 1
Rep Power: 0 |
Hi all,
I keep having this error, while trying to compile a small UDF in FLUENT: udf_names.c udf_names.c(7) : error C2059: syntax error : '}' udf_names.c(8) : warning C4034: sizeof returns 0 Can you please help me ? Below is the small code: __________________________________________________ ____ #include"udf.h" enum { MASS_ACCRETED, NUM_OF_USED_UDM }; /* Accretion model - mass flow 24 october 2012 name = accreout */ DEFINE_DPM_EROSION(accreout, p, t, f, normal, alpha, Vmag, Mdot) { F_UDMI(f,t,MASS_ACCRETED) += Mdot; return; } ___________________________________________ Thanks |
|
|
|