Strand-to-strand contact: 2D and 3D models