CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   I / O problem??? (

kevin December 15, 2001 12:10

I / O problem???
thanks , i have one problem about input and output data .

DEFINE_SOURCE(anode_mass,cell,thread,ds,eqn) { real x[ND_ND]; real source,I,L; cell_t c; FILE *file; file = fopen("current.dat","w");



I=3e+07*pow(L,6); source=-I*100; ds[eqn]=-100; fprintf(file,"%d %e \n",c,source); return source; fclose(file); } FLUNET's solver get me that have one error message

Error: error: udf compiler: unable to open udfconfig.h for write Error Object: () please help me to check and modify the problem ?

All times are GMT -4. The time now is 13:41.