Simulating the membrane contact patterns of triaxial sand specimens