Microscopic arrangement of oil and water in sandstone by NMR relaxation times and NMR imaging