If you are performing a thermal analysis using ANSYS Mechanical (MAPDL), then you can apply convection as surface loads with surface effect elements (SURF151,SURF152). More specifics, such as how the film coefficient can be calculated empirically using the KEYOPT(7) = 1 option are in our online help here.

You can also modify film coefficients applied by the SFE command via a user subroutine USERCV. This will allow you to modify the film coefficient as a function of both temperature and location if desired. i.e. Plug in your equation.