CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to calculate velocity at a interior surface? (https://www.cfd-online.com/Forums/fluent/99008-how-calculate-velocity-interior-surface.html)

wanghaojie March 23, 2012 10:32

How to calculate velocity at a interior surface?
 
Im trying to get the velocity at a certain surface by udf.
First I try to use
F_U(f,t)
but when it runs, the fluent will stop and say there is an error. I further examined it and found out it can only be used for boundary surface
Then i try to calculate the surface velocity by averaging the cells before and after the surface. Then i can get results but it is different from the contour result. I think the contour results is calculated by staggered grid? So how can i get exactly the same results as in the contour by udf?

Thanks

banty March 23, 2012 13:21

Hi,
During contour plot we have two option like node value ( averaged value. which averaging method is unknown to user) and cell value. U can export the cell value data out of fluent and modify data as u want.


All times are GMT -4. The time now is 09:20.