Thermal analysis of optical elements and arrays on thick substrates with convection cooling