CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Read file (https://www.cfd-online.com/Forums/fluent/30027-read-file.html)

RBM July 14, 2002 13:48

Read file
 
Hi, I 'am writing some UDFs for specifying some thermal boundary conditions under transient case (for example ,heat loss to ambiant, evaporation,....).However , these conditions are changing with time -we use mostlty meterological data (ambiant temperature,sky tem humidity...)witch are presented under tabular form at fixed intervals(every Dt hours). Please can you telle me what is the best procedure to read these data?

Thank you very much. Please advice me.

For Example (Tabular file)

Temps Humid(%) Tambiamt 1H 70 280 2H 80 290 3H 50 285 4H 90 78 .. . . . . . . . .

Heat loss for ambiamt:

HL(T=i:1..n)=F(Humid)*(T_face-Tambiant) for calculing HL i write a UDF Profile

I want to read tabular file and compile the UDF(profiole UDF) .(these conditions are changing with time -we use mostlty meterological data) . Thank you



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