On the Modelling of Pressure Transients in Damageable Pipings