We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Fluids Adjust the internal heat transfer coefficient? Reply To: Adjust the internal heat transfer coefficient?

cbhavsar
Ansys Employee

Heat flux to be supplied to the external wall as a boundary condition is available through the DEFINEPROFILE macro on the fluid-side wall. The heat transfer coefficient can be defined with the DEFINEHEATFLUX macro. This macro calculates the heat flux by the following equation. qid = cid[0] + cid[1]*CT(c0,t0) - cid[2]F_T(f,t) - cid[3]pow(FT(f,t),4) qir = cir[0] + cir[1]*CT(c0,t0) - cir[2]F_T(f,t) - cir[3]pow(FT(f,t),4) qid: convective heat flux qir: radiant heat flux To specify the heat transfer coefficient, one can be set the same value for the cid [1] and cid [2] within the UDF. For example, if you want to fix the heat transfer coefficient in a wall as 10 SI units, it can be realized as the follows. DEFINEHEATFLUX(flux,f,t,c0,t0,cid,cir) { if(THREADID(t) == wallid){ /* specify boundary heat transfer coefficient */ cid[1] = 10.; cid[2] = 10.; } } wallid is the zone ID of the wall you want to fix.