CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Vector field of space averaged speed (http://www.cfd-online.com/Forums/fluent/35708-vector-field-space-averaged-speed.html)

nicolas February 10, 2005 12:16

Vector field of space averaged speed
 
Hi! I'd like to plot a 2d (xy) vector field of the mean velocity of a 3d flow averaged in the z direction. I know how to compute the mean velocity vector components on one particular line (using the surface integral utility) but I can't manage to obtain the vector field plot y the whole xy plane. I imagine I have to define a UDF which computes the integral of the flow in each line (x = constant, y = constant, z = variable) pasing through each cell of a domain, but I can't figure out how to do this. For this I would need a macro which gives me the cell that contains a specific point, or something similar, but I can't find anything like this. Does anyone have any idea of how to do this? Thanks


All times are GMT -4. The time now is 22:56.