Abstract:
A two-level modification of the classical nondissipative leapfrog scheme with nonlinear flux correction has been developed for fluctuating hydrodynamics problems. The new algorithm has shown to satisfy the fluctuation-dissipation theorem to high accuracy. The results of various numerical tests, including equilibrium, nonequilibrium, one-, and two-dimensional systems, are compared with theoretical predictions, direct molecular simulations, and results produced by MacCormack’s schemes, the piecewise parabolic method, and a third-order Runge–Kutta scheme. The new algorithm is well suited for parallel computations due to its implementation simplicity and compact stencil.