CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

I / O problem???

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 15, 2001, 12:10
Default I / O problem???
  #1
kevin
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 ?

  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 06:57.