Controlling spatial variations in chemical concentration is important for designing and operating many microfluidic devices across a wide range of industries and applications including diagnostics, genomics, and pharmaceutics. In this case study, we show how simulations may be used to quantify and control concentration gradients in microfluidic devices.