A three phase mixture model for melting snow