Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Fluids UDF Documentation for BOUNDARY_HEAT_FLUX Macro Reply To: UDF Documentation for BOUNDARY_HEAT_FLUX Macro

peter496
Subscriber
Hello DrAmine, I tested the BOUNDARY_HEAT_FLUX macro and found that it returns only W (confirming your result). I can match the heat flux (i.e. Total Surface Heat Flux) after dividing by the area of the face:
heat = BOUNDARY_HEAT_FLUX(f,t);
F_AREA(A,f,t);
a_face = NV_MAG(A);
flux = heat/a_face;
[bingo_chatbox]