Write a grid of potential energies of an adsorbate molecule in a nanoporous material