An object-oriented serial implementation of a DSMC simulation package

Abstract This paper reports a scalar implementation of a multi-dimensional direct simulation Monte Carlo (DSMC) package named “ G eneralized R arefied g A s S imulation P ackage” (GRASP). This implementation adopts a concept of simulation engine and it utilizes many Object-Oriented Programming features and software engineering design patterns. As a result, this implementation successfully resolves the problem of program functionality and interface conflictions for multi-dimensional DSMC implementations. The package has an open architecture which benefits further development and code maintenance. To reduce engineering time for three-dimensional simulations, one effective implementation is to adopt a hybrid grid scheme with a flexible data structure, which can automatically treat cubic cells adjacent to object surfaces. This package can utilize traditional structured, unstructured or hybrid grids to model multi-dimensional complex geometries and simulate rarefied non-equilibrium gas flows. Benchmark test cases indicate that this implementation has satisfactory accuracy for complex rarefied gas flow simulations.

[1]  J. R. Torczynski,et al.  Normal solutions of the Boltzmann equation for highly nonequilibrium Fourier flow and Couette flow , 2006 .

[2]  G. J. LeBeau,et al.  A parallel implementation of the direct simulation Monte Carlo method , 1999 .

[3]  Khaleel R. A. Khasawneh,et al.  Collisionless gas flows over a cylinder or a sphere , 2009 .

[4]  D. Russell Density Disturbance ahead of a Sphere in Rarefied Supersonic Flow , 1968 .

[5]  W. Steckelmacher Molecular gas dynamics and the direct simulation of gas flows , 1996 .

[6]  An Object-Oriented Serial and Parallel DSMC Simulation Package , 2010 .

[7]  Stanley B. Lippman,et al.  C++ Primer , 1993 .

[8]  H. Lugt,et al.  Laminar flow behavior under slip−boundary conditions , 1975 .

[9]  Mikhail S. Ivanov,et al.  Statistical simulation of reactive rarefied flows - Numerical approach and applications , 1998 .

[10]  Chunpei Cai,et al.  Theoretical and Numerical Studies of Plume Flows in Vacuum Chambers , 2011 .

[11]  Stefan Dietrich,et al.  Scalar and Parallel Optimized Implementation of the Direct Simulation Monte Carlo Method , 1996 .

[12]  Timothy J. Bartel,et al.  Icarus: A 2-D Direct Simulation Monte Carlo (DSMC) Code for Multi-Processor Computers , 2001 .

[13]  Thomas E. Schwartzentruber,et al.  Optimizations and OpenMP implementation for the direct simulation Monte Carlo method , 2011 .

[14]  Heidelberg,et al.  Encircling an exceptional point. , 2004, Physical review. E, Statistical, nonlinear, and soft matter physics.

[15]  Bjarne Stroustrup,et al.  The C++ Programming Language: Special Edition , 2000 .

[16]  W. Wagner A convergence proof for Bird's direct simulation Monte Carlo method for the Boltzmann equation , 1992 .

[17]  S. A. Schaaf,et al.  Cylinder Drag in the Transition from Continuum to Free‐Molecule Flow , 1963 .

[18]  D J Rader,et al.  Molecular gas dynamics observations of Chapman-Enskog behavior and departures there from in nonequilibrium gases. , 2004, Physical review. E, Statistical, nonlinear, and soft matter physics.

[19]  Jing Fan,et al.  Validation of a Hybrid Grid Scheme of DSMC in Simulating Three-Dimensional Rarefied Gas Flows , 2003 .