CFD Online Logo CFD Online URL
Home > Forums > FLUENT

what is the format of.txt file for scanf to read

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

LinkBack Thread Tools Display Modes
Old   July 17, 2006, 18:04
Default what is the format of.txt file for scanf to read
Posts: n/a

I would like ask about the format of the data in the .txt file for scanf function in a UDF file.

I have totally 4 kinds of parameters to be read and each of them has 100 number. Do I need to set four scanf function for each of them, or I can paste the data in 1 .txt file? If I should put them in one file, what kind of format it should be?

Thank you very much in advance.

Best Wishes

  Reply With Quote


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
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51

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