Text this: The numerical techniques for thermal distribution analysis in optical waveguides