Gravitational instability due to the dissolution of carbon dioxide in a Hele-Shaw cell