Simulation of a glowing wire of a lightbulb