Reaction and flow of carbonated brines through calcareous sandstones: a study under oil reservoir conditions