|
[Sponsors] |
May 21, 2003, 10:39 |
UDF a at fixed z in space
|
#1 |
Guest
Posts: n/a
|
Hi.
I want to make a calculation in my udf in a 3d case at a fixed z value (ie. a plane at a fixed z). Can anyone please assist me finding the correct macro? |
|
May 21, 2003, 11:58 |
Update
|
#2 |
Guest
Posts: n/a
|
I guess that I am searching for the method to define to the macro where to loop over faces, cells....
It is not at a boundary. And I just want to report the values of the x-, y- and z-velocities. |
|
May 21, 2003, 12:13 |
Re: Update
|
#3 |
Guest
Posts: n/a
|
Hi!
Im not shure if I understand. But if you want to report velocity at a certain poin in youd domain you can do it without UDF. Define a point (surface-point...) and turn on surface monitor (solve-monitors-surface) for velocity at that point... best regards MATEUS |
|
May 21, 2003, 12:36 |
Re: Update
|
#4 |
Guest
Posts: n/a
|
Thanks.
Yes I know. But I want to report the velocity at all cells in a plane defined by me. |
|
May 21, 2003, 12:58 |
Re: Update
|
#5 |
Guest
Posts: n/a
|
hi!
You can define a new plane with Surface-isosurface...grid BEST REGARDS MATEUS |
|
May 22, 2003, 04:25 |
Re: Update
|
#6 |
Guest
Posts: n/a
|
Hi.
Yes I know. What I don't know is how to link it to a udf in order to write values for all the faces in a specific surface. If that operation is possible to do directly in the surface command range (without a udf) I would like to know how. But as I see it the surface commands can only give average values or values in points defined by me. And that is not what I am looking for, but the face values. Cheers |
|
May 23, 2003, 08:36 |
Re: UDF at fixed z in space
|
#7 |
Guest
Posts: n/a
|
hi Christian
when you export values from a iso-surface/plane-surface/clip-surface, the values in the output are cell-centered values of the cells cut by your slice. this, i think, is the face values you are looking for? you can easily export this data to a number of different formats by just using the GUI/TUI. if you are looking for the values of the faces of each cell, then you have to use a UDF, but it becomes more difficult to decide which cells belong to the z-plane you define. good luck! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
Error in compiling UDF for computation of space charge density | greensociety | FLUENT | 1 | July 21, 2009 03:29 |
UDF for C_VOF variation with time and space | Frederik | FLUENT | 4 | December 19, 2005 01:53 |
UDF: source, fixed value for a given region | Ming | FLUENT | 1 | March 4, 2003 18:23 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |