In dislocation dynamics, dislocations can be regarded as open plane curves evolving according to the curvature flow with an external force. In the present paper, evolving curves connecting two circular obstacles are treated from both mathematical and numerical viewpoints: An exact solution curve is constructed with sliding endpoints along obstacles, and all important and typical phenomena including touching-splitting, non-touching and Orowan island can be treated numerically.