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 13:08.|