## 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.

### MSC:

 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

### Software:

MONACO; GRASP; Icarus
Full Text:

### References:

 [1] H., Liu, and C., Cai, An Object-Oriented Serial and Parallel DSMC Simulation Package, 27th International Rarefied Gasdynamics Symposium, Pacific Grove, CA, July 10-15, 2010. [2] Bird, G.A., Molecular gas dynamics and the direct simulation of gas flows, (1994), 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 [6] Ivanov MS, Markelov GN, Gimelshein SF. Statistical Simulation of Reactive Rarefied Flows: Numerical Approach and Applications, AIAA Paper. 98-2669; 1998. [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 [9] Bartel T, Plimpton S, Gallis, M. Icarus, A 2-D Direct Simulation Monte Carlo (DSMC) Code for Multi-processor Computers, Report SAND2001-2901, Sandia National Laboratories, Albuquerque, NM; 2001. [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 [13] Cai C. Theoretical and numerical studies of plume flows in vacuum chambers, Ph.D. dissertation, Dept. of Aerospace Engineering, University of Michigan, Ann Arbor, 2005. Same title reprint book available, Verlag Publishing, Saarbucken, Germany; 2011, ISBN 978-3-639-37592-3. [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 Boston [15] Liu H, Fan J, Shen C. Validation of a hybrid scheme of DSMC in simulating three-dimensional rarefied gas flows, rarefied gas dyanmics. In: Ketsdever, Muntz, editor. 23rd International symposium; 2002. p. 382-9. [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 [17] Dogra VK, Moss JN, Price JM. Rarefied flow past a flat plate at incidence, NASA Technical Memorandum 101493; 1988. [18] Legge H, Koppenwallner G. Sphere drag measurements in a free jet and a hypersonic low density tunnel. In: Dini D, editor. Rarefied gas dynamics; 1970. p. 481-8. [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.