An adhesion model for plane-strain shearable hyperelastic beams