SPARTACUS: An open-source unified stochastic particle solver for the simulation of multiscale nonequilibrium gas flows

Published: 9 December 2022| Version 1 | DOI: 10.17632/pyb343w7zv.1
Contributors:
,
,
,
,

Description

Recently, a unified stochastic particle (USP) method [14] has been developed for the simulation of multiscale nonequilibrium gas flows. Compared with the conventional stochastic particle methods, such as the direct simulation Monte Carlo (DSMC) method, USP can be applied with much larger time steps and cell sizes as it couples the effects of particle movements and collisions. To extend the applicability of USP to complex nonequilibrium gas flows, we develop a USP solver referred to as SPARTACUS within the framework of SPARTA, which is a widely used software based on the DSMC method for the simulation of rarefied gas flows. Inheriting from SPARTA, SPARTACUS is parallelized with the message passing interface (MPI), and it is open-source under the GNU General Public License (GPL) and released in an online repository with essential documentation, tutorial examples, and benchmark cases. To evaluate the performance of SPARTACUS, the test cases cover from one to three dimensional flows with a wide range of the Knudsen number and Mach number, including Couette flow, lid-driven cavity flow, hypersonic flow past a cylinder, and supersonic flow around a blunt body. The results obtained by SPARTACUS in the rarefied and continuum regimes are in good agreement with DSMC and computational fluid dynamics (CFD) results, respectively. Moreover, SPARTACUS has significant computational efficiency advantage over traditional DSMC solvers, especially for three-dimensional nonequilibrium gas flows. In addition, SPARTACUS shows comparable parallel efficiency with SPARTA, so it is promising to be applied with high performance computing for the simulation of complex multiscale gas flows encountered in engineering problems.

Files

Categories

Computational Physics, Gas Flow, Rarefied Gas Dynamics

License