CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   looping UDF in given direction (

ak6g08 September 10, 2009 10:13

looping UDF in given direction
hello everyone,

I was wondering how difficult it would be to write a UDF that would do the following:

I want to loop through my domain in a given direction, I have a simple 3d cube as my domain. say I want to loop through each 2d plane from the bottom to the top of my domain, and at each plane calculate the mean <uv> , so that I get <uv> as a function of distance y. Im not sure how to use the loop macros to cycle through a given direction...I only know how to use them to cycle through the whole please if possible.

Thank you

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