An object-oriented serial implementation of a DSMC simulation package. (English) Zbl 1365.76004

Summary: This paper reports a scalar implementation of a multi-dimensional direct simulation Monte Carlo (DSMC) package named “\b{G}eneralized Ṟarefied g\b{A}s \b{S}imulation \b{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.


76-04 Software, source code, etc. for problems pertaining to fluid mechanics
76F60 \(k\)-\(\varepsilon\) modeling in turbulence
76M28 Particle methods and lattice-gas methods
76P05 Rarefied gas flows, Boltzmann equation in fluid mechanics


Full Text: DOI


[2] Bird, G. A., Molecular gas dynamics and the direct simulation of gas flows (1994), Oxford University Press: Oxford University Press New York · Zbl 0709.76511
[3] Wagner, W., A convergence proof for birds direct simulation Monte Carlo method for the Boltzzmann equation, J Statist Phys, 66, 3/4, 1011-1044 (1992) · Zbl 0899.76312
[4] Gallis, M.; Torczynski, J.; Rader, D., Molecular gas dynamics observations of Chapman-Enskog behavior and departures thereform in nonequilibiurm gases, Phys Rev E, 69, 4, 1-4 (2004), paper 042201
[5] Gallis, M.; Torczynski, J.; Rader, D.; Tij, M.; Santos, A., Normal solutions of the Boltzmann equation for highly nonequilibrium Fourier and Couette flow, Phys Fluids, 18, 1, 1-15 (2006), paper 017104
[7] Dietrich, S.; Boyd, I. D., Scalar and parallel optimized implementation of the direct simulation Monte Carlo method, J Computat Phys, 126, 328-342 (1996) · Zbl 0856.65002
[8] LeBeau, G. J., A parallel implementation of the direct simulation Monte Carlo method, Comput Method Appl Mech Eng, 174, 319-337 (1999) · Zbl 0961.76076
[10] Gao, D.; Zhang, C.; Schwartzentruber, T. E., Optimizations and OpenMP implementation for the direct simulation Monte Carlo method, Comput Fluids, 42, 1, 73-81 (2011) · Zbl 1271.76279
[11] Lippman, S. B.; Lajoie, J.; Moo, B., C++ Primer (2005), Addision-Wesley Professional, ISBN-13: 978-0-201-72148-5
[12] Stroustrup, B., The C++ programming language (2000), Addision-Wesley, ISBN-0-201-88954-4, 13th printing
[14] Gamma, E.; Helm, R.; Johnson, R.; Vlissides, J., (Addison-Wesley professional computing series) design paterns: elements of reusable object-oriented software (1995), Addision-Wesley: Addision-Wesley Boston
[16] Maslach, G. J.; Schaaf, S. A., Cylinder drag in the transition from continuum to free-molecular flow, Phys Fluids, 6, 3, 315-321 (1963) · Zbl 0112.19201
[19] Russell, D. A., Density distribution ahead of a sphere in rarefied supersonic flow, Phys Fluids, 8, 1679-1685 (1968)
[20] Cai, C.; Khasawneh, K. R.; Liu, H.; Wei, M., Collisionless gas flows over a cylindrical or a spherical object, J Spacecraft Rockets, 46, 6 (2009)
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. It attempts to reflect the references listed in the original paper as accurately as possible without claiming the completeness or perfect precision of the matching.