|
[Sponsors] |
October 19, 2006, 02:16 |
Help with Lookup_Thread function
|
#1 |
Guest
Posts: n/a
|
Hello all-
I desperately need some help with function Lookup_Thread. I have been using this function whenever I needed to retrieve some values in particular zones along with loops around either cell or face. For example, <font face=courier> Thread *t; cell_t c; int zone_ID = 2; Thread *thread_name = Lookup_Thread(domain,zone_ID); thread_loop_c(t,domain) { begin_c_loop(c,t) { if (t == thread_name) { DO SOMETHING; } } end_c_loop(c,t) }</font> As I understand this function looks up the "Zone ID" found in the Boundary Condition Panel. If I need to look up a thread that's not listed in the BC Panel how can I do this? So, say, if I want to retrieve Thread associated with a Surface ID? I really appreciate any help you can give me. Thanks! -hirokata |
|
October 19, 2006, 03:26 |
Re: Help with Lookup_Thread function
|
#2 |
Guest
Posts: n/a
|
This qiestuin pops up from time to time and as far as i know is not possible to access post processing surfaces in udf.
RoM |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 06:42 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 04:37 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 00:35 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |