Fluid Simulations with N Immiscible Components