A two-dimensional model for joints in vehicle structures