The flow of particles due to the diffusion current is, by Fick's law, J d i f f u s i o n ( x ) = − − D ( x ) ∇ ∇ ρ ρ ( x ) , where the minus sign means that particles flow from higher to lower concentration.