CFD Online URL
[Sponsors]
Home > Forums > FLUENT

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 22, 2005, 22: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

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
openfoam 1.6 on debian etch romant OpenFOAM Installation 9 May 6, 2010 03:26
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 18, 2010 00:40
Changing the grid on the same set-up Katya FLUENT 12 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


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