UDF error !!
xr xr plaese
|
Hey, hello stage81! I got it.
for your problem, I think UDF is: /**************************************/ #include "udf.h" DEFINE_SOURCE(energy_source,c,t,dS,eqn) { real x[ND_ND]; real source; C_CENTROID(x,c,t); if (x[1]==10.) source = 10000.; else source = 0.; return source; } /******************************************/ Best wish for you! |
Quote:
for the UDF, I improved it :) |
You haven't correctly write UDF :)
|
Quote:
|
All times are GMT -4. The time now is 07:12. |