Multi-phase and multi-scale modeling of environmental flow : from magma dynamics to pollutant transport