|
[Sponsors] |
February 18, 2013, 12:56 |
Read profile file from UDF
|
#1 |
Member
Join Date: Jun 2012
Posts: 32
Rep Power: 14 |
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!!!! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkySetFields compilation error | tayo | OpenFOAM Community Contributions | 39 | December 3, 2012 06:18 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 17:46 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |