|
[Sponsors] |
June 15, 2007, 10:06 |
LOOP OVER a ZONE
|
#1 |
Guest
Posts: n/a
|
Hi all;
My model is a conjugate heat construction consist of wall and fluid zone ; I need to write a UDF in a part of code and I want to loop on cells in fluid zone only . How is this looping type possible. Please lead me . Thanks a lot. |
|
June 15, 2007, 10:19 |
Re: LOOP OVER a ZONE
|
#2 |
Guest
Posts: n/a
|
Asghari,
Are you familiar with the begin_c_loop and thread_loop_t (or something like that) functions ? If not then you should look at the user guide where they have lots of examples. They are very easy to implement and you should start your program with the begin_c_loop function immediately followed by the thread_loop_t function. YOU SHOULD CHECK THE GUIDE TO MAKE SURE I HAVE THESE THE CORRECT WAY AROUND AND CORRECT TYPING, ETC. If however you are familiar with these and are having problems limiting the looping to 1 particular zone, then I think you need to define each separate zone in your UDF then loop over only one set of cells. Hope this helps. Phil |
|
June 15, 2007, 12:10 |
Re: LOOP OVER a ZONE
|
#3 |
Guest
Posts: n/a
|
OK,
I am familiar with these macros. But how can I adress solid zone for a thread(zone) and fluid zone with a another zone? Can you help me? Thanks |
|
June 15, 2007, 12:59 |
Re: LOOP OVER a ZONE
|
#4 |
Guest
Posts: n/a
|
Sorry mate I haven't used udf's all that much but the next time I see my mate who uses them alot for his fuel cell research I'll show him this post.
Phil |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 02:09 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 17:51 |
Problem in IMPORT of ICEM input file in FLUENT | csvirume | FLUENT | 2 | September 9, 2009 01:08 |
NACA0012 geometry/design software needed | Franny | Main CFD Forum | 13 | July 7, 2007 15:57 |
Sliding mesh error | Karl Kevala | FLUENT | 4 | February 21, 2001 15:52 |