CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF problem with Parallel Solver

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

LinkBack Thread Tools Display Modes
Old   January 24, 2008, 15:31
Default UDF problem with Parallel Solver
Posts: n/a
I've written a UDF that works perfectly on a "nomal" Fluent solver. Now I just want to lunch my simulation with a Parallel Solver but it arised a small bug with my UDF: I want to write the results of my UDF computation in a txt. file with the command:

fp = fopen("deposit_output.txt","a"); fprintf(fp,"%d\t%.10f\t%.6f\t%.13f\t%.13f\t%.13f\t %.10f\t%.6f\n", n,T_d1,p_d1,m_d1,mf_v,m_d2,T_d2,p_d2); fclose(fp);

But it doesn't work anymore. It doesn't open any txt. file neither write something inside. But otherwise everything works good. Is there a special command to include so that it works on the parallel solver too and writes the results in the txt. file?
  Reply With Quote


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
"Define_Profile" UDF for parallel solver Antoine Fluent UDF and Scheme Programming 8 June 23, 2015 10:23
problem to make a UDF parallel, the "hello world version" pilou Fluent UDF and Scheme Programming 0 March 10, 2011 09:19
problem to make a UDF parallel pilou Fluent UDF and Scheme Programming 0 March 9, 2011 07:35
Problem in Parallel UDF Giacomo de Renzi FLUENT 12 June 18, 2008 12:19
Importan Problem In Parallel Solver Íñigo Guerrero Mendicoa CFX 10 February 12, 2007 19:14

All times are GMT -4. The time now is 17:10.