CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   Read profile file from UDF (http://www.cfd-online.com/Forums/fluent-udf/113358-read-profile-file-udf.html)

DonQuijote February 18, 2013 12:56

Read profile file from UDF
 
Hello,

I want to write a UDF that reads a profile format file, but I don't know how to proceed.

I have a profile file with x, y velocity, temperature and pressure info, but I only want to choose one of these variables each time. Furthermore, the profile file comes from another calculation with a different boundary condition.

So, I want the udf to read all coordinates (x, y variables), and only use the ones that overlap with the new BC. Is it possible? How can I read the variable that I want from a UDF (taking into account the position x,y and that variable)? I haven't found the correct way to call a profile file from a UDF...(I suppose I will have to use DEFINE_PROFILE...)
Anyone could give me a clue??

Thank you very much!!!!


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