  We present a lattice-based numerical method to describe the non equilibriumbehavior of a simple fluid under non-uniform spatial conditions. The evolutionequation for the one-particle phase-space distribution function is derivedstarting from a microscopic description of the system. It involves a series ofapproximations which are similar to those employed in theories of inhomogeneousfluids, such as Density Functional theory. Among the merits of the presentapproach: the possibility to determine the equation of state of the model, thetransport coefficients and to provide an efficient method of numerical solutionunder non-uniform conditions. The algorithm is tested in a particular nonequilibrium situation, namely the steady flow of a hard-sphere fluid across anarrow slit. Pronounced non-hydrodynamic oscillations in the density andvelocity profiles are found.
The evolution equation for the one-particle phase-space distribution function is derived starting from a microscopic description of the system. It involves a series of approximations which are similar to those employed in theories of inhomogeneous fluids, such as Density Functional theory.