CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Read profile file from UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2013, 11:56
Default Read profile file from UDF
  #1
Member
 
Join Date: Jun 2012
Posts: 32
Rep Power: 13
DonQuijote is on a distinguished road
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!!!!
DonQuijote is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 05:18
2.0.x on Mac OSX niklas OpenFOAM Installation 74 March 28, 2012 16:46
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


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