Mathematical modelling and numerical simulation of a glow-plug