where N is the number of molecules (of a given type) inside the pore, t is the simulation time,⃗ r(t) is the position vector at time t, and d is the dimension of the system. The only requirement for the application of the Einstein equation is that the atoms or molecules in the system move randomly due to elastic collisions, i.e. Brownian motion.