title: Flux boundary conditions in particle simulations.
abstract: Flux boundary conditions are interesting in a number of contexts ranging from multiscale simulations to simulations of molecular hydrodynamics in nanoscale systems. Here we introduce, analyze, and test a general scheme to impose boundary conditions that simultaneously control the momentum and energy flux into open particle systems The scheme is shown to handle far from equilibrium simulations. It acquires its main characteristics from the requirement that it fulfills the second law of thermodynamics and thus minimizes the entropy production, when it is applied to reversible processes. It is shown both theoretically and through simulations that the scheme emulates the effect of an extended particle system as far as particle number fluctuations, temperature, and density profiles are concerned. The numerical scheme is further shown to be accurate and stable in both equilibrium and far from equilibrium contexts.
authors.affiliation: Department of Physics, University of Oslo, P.O. Box 1048 Blindern, 0316 Oslo, Norway.
authors.forename: Eirik G
authors.initials: EG
authors.lastname: Flekkøy
authors.forename: Rafael
authors.initials: R
authors.lastname: Delgado-Buscalioni
authors.forename: Peter V
authors.initials: PV
authors.lastname: Coveney