How to store the variable on internal faces to calculate UDS_FLUX?
I am writing a UDS_FLUX udf to calculate the fluxes through all faces in my domain. The Fluent manual provides an example for this function, but the fluxes on internal faces are calculated from the average velocity of two adjacent cells, which often overshoots/offshoots my fluxes even the continuity is satisfied very well. So I want to access the F_FLUX of my scalar directly on these internal faces. Here F_FLUX is the flux of my scalar rather than the flux of the flow field I am calculating (the motion of my scalar is independent of the flow field I am calculating).
So I want to store F_FLUX of my scalar on internal faces, but the Fluent UDF manual says that the F_UDSI and F_UDMI can only be used for boundary faces. So how can I fulfill my goal?
Thanks a lot!
|All times are GMT -4. The time now is 16:27.|