In general, D, v, and R may vary with space and time. In cases in which they depend on concentration as well, the equation becomes nonlinear, giving rise to many distinctive mixing phenomena such as Rayleigh–Bénard convection when v depends on temperature in the heat transfer formulation and reaction–diffusion pattern formation when R depends on concentration in the mass transfer formulation.