CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Local Integration (https://www.cfd-online.com/Forums/fluent/27808-local-integration.html)

Diana July 31, 2000 11:23

Local Integration
 
Hello

I am trying to use a UDF to perform a local integration around the faces of a cell.

I am trying to compute the following integration for each cell in the fluid domain:

Integral of [ V * (p + 0.5*rho*|V|^2) ] . dArea

However, if I loop around all of the faces, how do I know which cell this face flux contributes to, becasue I don't think I can use a UDF to access the face_to_cell or cell_to_face information (or am I wrong).

If anyone has any ideas, I'd really appreciate hearing them.

Thanks in advance.


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