The application of DGTD in simulation of the open-ended cavity