A method for shell contact analysis