Physical modeling and geometry configuration simulation for flexible cable in a virtual assembly system