26 September 2018
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.
Here's a really nice example tutorial from our Chanel Partrner DRD. Convection loads are covered at 5:48.
If you need an even higher fidelity solution, then you can enclose the structure in a fluid and perform a conjugate heat transfer simulation in ANSYS Fluent.
Does this information help?