Calculate surface heat flux in the NIO