Convergence behavior of a new DSMC algorithm

https://doi.org/10.1016/j.jcp.2009.03.021Get rights and content

Abstract

The convergence rate of a new direct simulation Monte Carlo (DSMC) method, termed “sophisticated DSMC”, is investigated for one-dimensional Fourier flow. An argon-like hard-sphere gas at 273.15 K and 266.644 Pa is confined between two parallel, fully accommodating walls 1 mm apart that have unequal temperatures. The simulations are performed using a one-dimensional implementation of the sophisticated DSMC algorithm. In harmony with previous work, the primary convergence metric studied is the ratio of the DSMC-calculated thermal conductivity to its corresponding infinite-approximation Chapman–Enskog theoretical value. As discretization errors are reduced, the sophisticated DSMC algorithm is shown to approach the theoretical values to high precision. The convergence behavior of sophisticated DSMC is compared to that of original DSMC. The convergence of the new algorithm in a three-dimensional implementation is also characterized. Implementations using transient adaptive sub-cells and virtual sub-cells are compared. The new algorithm is shown to significantly reduce the computational resources required for a DSMC simulation to achieve a particular level of accuracy, thus improving the efficiency of the method by a factor of 2.

Introduction

The direct simulation Monte Carlo (DSMC) method of Bird [1] is the most general and widely used method for simulating non-continuum gas dynamics. DSMC simulations have been shown to yield solutions to the Boltzmann equation in the limit of vanishing discretization error [2], [3], [4], and departures of DSMC simulations from such solutions have been shown to obey Green-Kubo theory for small but finite discretization errors [5], [6], [7]. As a result, DSMC is often used as the standard by which other methods for simulating non-continuum gas dynamics are assessed.

The generality and the accuracy of the DSMC method have allowed its application to areas outside the regime of hypersonic aerodynamics, such as material processing and micro- and nano-technology. These new areas have placed new demands on the method since the signal-to-noise ratio for subsonic flows is less favorable than for hypersonic flows. Consequently, a clear understanding of how to achieve a specified level of numerical accuracy with a minimum of computational effort is needed.

In response to this need, convergence studies of the DSMC method have been conducted [5], [6], [7], [8]. These studies cover a wide range of flows, with the focus on one-dimensional Fourier and Couette flows, both steady and unsteady. The key convergence metric is the ratio of the DSMC-calculated bulk transport properties (thermal conductivity and viscosity) to their Chapman–Enskog (CE) theoretical values [3] although other functionals, such as heat flux and temperature have also been discussed [8].

Four parameters are known to limit the numerical accuracy of the DSMC method: the number of independent samples per cell Sc, which is related to the statistical error of the method, and the number of simulators (computational molecules) per cell Nc, the time step Δt, and the cell size Δx, which are related to the discretization error of the method [6], [7], [8]. Bird observes that statistical fluctuations decrease with the inverse square root of the sample size and can be reduced (in principle) to any desired level by continuing the simulation or by repeating it with different initial random seeds [1]. Several authors [9], [10] offer closed-form expressions that relate statistical error in DSMC simulations to the square root of the sample size.

Bird recently proposed a new variant of DSMC, termed “sophisticated DSMC” [11], [12], [13]. This new DSMC algorithm aims at improving the computational efficiency of DSMC without losing the accuracy of the original algorithm by reducing the discretization error of the algorithm for a particular selection of simulation parameters. To achieve this, significant modifications to the ways that simulators move and collide are introduced. More efficient grids and adaptive time steps that vary across the domain are used to gain computational efficiency during the move phase. In the collision phase, the new algorithm abandons the random selection of collision partners within a cell in favor of a nearest-neighbor selection scheme. All these modifications optimize critical simulation parameters at a relatively low cost, leading to a more efficient DSMC algorithm.

The new method retains many of the features of the original method and all of the physical models. However, the dependence on discretization parameters and therefore the convergence characteristics of the new and original algorithms differ, so a reevaluation of the convergence behavior is therefore necessary.

In this paper, the ability of the new DSMC algorithm to deliver improved computational efficiency is examined. In harmony with previous work [8], the benchmark case used for this purpose is one-dimensional heat transfer in a gas between two parallel walls at unequal temperatures. The main convergence metric used is the ratio of the DSMC-calculated thermal conductivity to its corresponding infinite-approximation CE theoretical value [3]. To ensure that the CE limit is achieved, DSMC simulations are performed at small system and local Knudsen numbers (∼0.02). Under these conditions, the normal solution in the central region of the domain can be clearly differentiated from the Knudsen layers near the walls; it is within this central (near-continuum) region that the convergence behaviors of the functionals are investigated.

More than 700 simulations covering the regime from near-equilibrium to non-equilibrium conditions are performed. The results of the new DSMC method are compared with those of the original method for the same problem. From these results, the difference in the performance of the two algorithms is estimated. The present calculations employ sufficient samples to reduce statistical errors to levels that are negligible compared to the errors associated with the other three parameters. The remaining non-statistical error (hereafter referred to as the discretization error) is systematically investigated for the Fourier problem over wide ranges of the discretization parameters Δx, Δt, and Nc. Herein, DSMC07 and DSMC94 (i.e., as published in Bird’s 1994 monograph [1]) are used to distinguish the new and original DSMC algorithms.

Section snippets

DSMC07: A new DSMC algorithm

The sophisticated DSMC07 algorithm retains the basic elements of the original DSMC94 algorithm described in Bird’s monograph [1]. The key computational assumptions of DSMC, the uncoupling of molecular motion and collisions over a computational time step (usually a fraction of the mean collision time (MCT) or the mean transit time (MTT)) and the partitioning of the physical domain into cells (usually a fraction of the local mean free path), are maintained. The major modifications to the

Spatial and temporal discretization in DSMC07

As pointed out in Section 2, computational cells in DSMC aim at minimizing the distance between collision partners. Large collision separations within the same cell would lead to physically unrealistic collisions and to a reduction of the angular momentum of the colliding pairs. This observation has been repeatedly confirmed by detailed convergence analyses [8] and by comparisons to Green-Kubo theory [6], [7]. In his recent work [12], Bird recommends the use of the ratio of the MCS to the mean

Fourier flow

In Fourier flow, shown in Fig. 1, the gas is motionless and confined between two infinite, parallel walls separated by a distance L at unequal temperatures (T1T2). In steady state, a uniform heat flux and a temperature gradient exist in the domain. When both the heat-flux and the system Knudsen number are small, the heat flux is proportional to the temperature gradient in the bulk gas (i.e., several mean free paths away from the walls) according to Fourier’s law, where the coefficient of

Convergence of DSMC94

The convergence of the original DSMC94 algorithm has been extensively studied. Green-Kubo [5], [6], [7] theory has been applied to derive expressions for the spatial and temporal discretization errors, each in the limit that the other discretization parameter vanishes, which are in excellent agreement with DSMC94 simulation results [8]. The cell size and the time step are linked to the spatial and temporal discretization errors, respectively. The derived expressions indicate second-order

Convergence of DSMC07

To evaluate the effect of the changes to the algorithm, the analysis of Rader et al. [8] is repeated with the new algorithm. By using the same test case (pure Fourier flow with a hard-sphere argon-like gas), not only can the convergence behavior of the new algorithm be derived, but also a direct comparison between DSMC07 and DSMC94 can be performed.

The sources of error in the new algorithm are expected to be the same as in the original one (spatial, temporal, and velocity-space discretization).

Efficiency of the DSMC07 algorithm

In Sections 5 Convergence of DSMC94, 6 Convergence of DSMC07, it has been demonstrated that DSMC07 has significantly lower discretization requirements than DSMC94 to achieve the same accuracy. However, the DSMC07 procedures are more complicated and thus require greater computational effort than the DSMC94 procedures. Therefore, when comparing the two algorithms, the question of the efficiency of the new algorithm relative to the original one becomes particularly important.

The efficiency of a

Conclusions

A new DSMC method recently proposed by the originator of the DSMC method has been implemented, and its convergence has been studied. The changes in the DSMC algorithm include a nearest-neighbor collision partner selection scheme and a variable adaptive local time step approach. Collisions are no longer calculated at the end of the global time step but are distributed over the duration of a time step.

The study of the convergence characteristics of the new method is performed using a benchmark

Acknowledgments

This work was performed at Sandia National Laboratories. Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear Security Administration under contract DE-AC04-94AL85000. The authors would like to thank Dr. M.F. Barone and Dr. E.S. Piekos of Sandia National Laboratories for their critical reviews of the manuscript.

References (16)

  • M.A. Fallavollita et al.

    Reduction of simulation cost and error for particle simulations of rarefied flows

    J. Comput. Phys.

    (1993)
  • N.G. Hadjiconstantinou et al.

    Statistical error in particle simulations of hydrodynamic phenomena

    J. Comput. Phys.

    (2003)
  • G.A. Bird

    Molecular Gas Dynamics and the Direct Simulation of Gas Flows

    (1994)
  • W. Wagner

    A convergence proof for Bird’s direct simulation Monte Carlo method for the Boltzmann equation

    J. Stat. Phys.

    (1992)
  • M.A. Gallis et al.

    Molecular gas dynamics observations of Chapman–Enskog behavior and departures therefrom in nonequilibrium gases

    Phys. Rev. E

    (2004)
  • M.A. Gallis et al.

    Normal solutions of the Boltzmann equation for highly nonequilibrium Fourier and Couette flow

    Phys. Fluids

    (2006)
  • F.J. Alexander et al.

    Cell size dependence of transport coefficients in stochastic particle algorithms

    Phys. Fluids

    (1998)
  • A.L. Garcia et al.

    Time step error in direct simulation Monte Carlo

    Phys. Fluids

    (2000)
There are more references available in the full text version of this article.

Cited by (0)

View full text