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

how to build a txt file and write the results in?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2005, 21:36
Default how to build a txt file and write the results in?
  #1
roy
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
  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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 13:06
openfoam 1.6 on debian etch romant OpenFOAM Installation 9 May 6, 2010 02:26
Changing the grid on the same set-up Katya FLUENT 7 October 8, 2009 16:31
Write animation file EA FLUENT 13 March 10, 2006 22:28
Write .def file from command line Alejandro CFX 3 September 11, 2005 18:14


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