CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   what is the format of.txt file for scanf to read (https://www.cfd-online.com/Forums/fluent/41757-what-format-txt-file-scanf-read.html)

lamlash July 17, 2006 18:04

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

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

Lamlash


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