Error about UDF
I defined a constant density for mixture material by UDF as follow, but there are some errors information as following. Do you know what is problem? Thanks.
return den; } cc: "den.c", line 4: error 1000: Unexpected symbol: "den". cc: "den.c", line 4: error 1588: "real" undefined. cc: "den.c", line 5: error 1588: "den" undefined. *** Error exit code 1
Re: Error about UDF
Just change the name of the variable den to something different, like "rho_mix", or easier, write the function as follow:
From the error message, it seems that the internal compiler of FLUENT has some problem to manage the symbol you have choosen for the variable.
|All times are GMT -4. The time now is 10:25.|