Numerical analysis of dusty-gas flows