Numerical Simulation of Electromagnetic-Thermal Effect of Microwave Devices