On this paper, we investigate the algorithm and efficiency of simulation of optical devices using parallel computing method, implement some real wavelength division multiplexing (WDM) components such as resonators to test the method's possibility and efficiency.