Ansys Learning Forum › Forums › Discuss Simulation › Fluids › UDF Documentation for BOUNDARY_HEAT_FLUX Macro › Reply To: UDF Documentation for BOUNDARY_HEAT_FLUX Macro
January 6, 2022 at 2:25 pm
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;
heat = BOUNDARY_HEAT_FLUX(f,t);
F_AREA(A,f,t);
a_face = NV_MAG(A);
flux = heat/a_face;