|
[Sponsors] |
![]() |
![]() |
#1 |
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? |
|
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Define_Profile" UDF for parallel solver | Antoine | Fluent UDF and Scheme Programming | 9 | February 29, 2016 06:09 |
problem to make a UDF parallel, the "hello world version" | pilou | Fluent UDF and Scheme Programming | 0 | March 10, 2011 08:19 |
problem to make a UDF parallel | pilou | Fluent UDF and Scheme Programming | 0 | March 9, 2011 06: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 18:14 |