|
[Sponsors] |
December 15, 2001, 12:10 |
I / O problem???
|
#1 |
Guest
Posts: n/a
|
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"); C_CENTROID(x,cell,thread); L=x[1]; 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 ? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |