Force field parameters of water in Table S1. Force field parameters of hexagonal boron nitride and graphene in Table S2. Figure S1. Schematic diagram of water molecule of TIP4P/2005. The schematic diagram for N = 6 is displayed in Figure S2. Density profiles in h-BN nanoslits in Figure S3.