|
[Sponsors] |
how to build a txt file and write the results in? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
Hi,everyone could you tell me how to build a .txt file and write the results calculated into this file using UDF codes? what i used were:
fp=fopen("e:\\1f.txt", "w"); fprintf(fp, "%10d, %10d, %10d, %10d\n", count6, acc6, Ad6, Av6); but nothing were writen to 1f.txt,i don't know what's wrong with it . could anyone tell me? thanks in advance! roy |
|
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 14:06 |
openfoam 1.6 on debian etch | romant | OpenFOAM Installation | 9 | May 6, 2010 03:26 |
Changing the grid on the same set-up | Katya | FLUENT | 7 | October 8, 2009 17:31 |
Write animation file | EA | FLUENT | 13 | March 10, 2006 23:28 |
Write .def file from command line | Alejandro | CFX | 3 | September 11, 2005 19:14 |