The Simulation of Liquid Flow in the Pore Network Model of Nanoporous Media