Numerical modelling of 3-D coupled electromagnetic and heating diffusion problems