A general model covering a large variety of the so-called adhesive or cohesive, possibly also frictional, contact interfaces between visco-elastic bodies with inertia considered in a thermodynamical context is presented. A semi-implicit time discretisation which conserves energy, is numerically stable and convergent, and which advantageously decouples the system is devised. An extension to porous media with adhesive contact influenced by a diffusant concentration is devised, too.2010 Mathematics Subject Classification: 35R45, 65K15, 74A55, 74F10, 80A17.