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

UDF problem with Parallel Solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2008, 15:31
Default UDF problem with Parallel Solver
  #1
manu
Guest
 
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

Reply


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 Off
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 9 February 29, 2016 07:09
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 13: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 03:59.