dsmcFoam+ : an OpenFOAM based direct simulation Monte Carlo solver

White, C. and Borg, M.K. and Scanlon, T.J. and Longshaw, S.M. and John, B. and Emerson, D.R. and Reese, J.M. (2018) dsmcFoam+ : an OpenFOAM based direct simulation Monte Carlo solver. Computer Physics Communications, 224. pp. 22-43. ISSN 0010-4655 (https://doi.org/10.1016/j.cpc.2017.09.030)

[thumbnail of White-etal-CPC-2017-an-OpenFOAM-based-direct-simulation-Monte-Carlo-solver]
Preview
Text. Filename: White_etal_CPC_2017_an_OpenFOAM_based_direct_simulation_Monte_Carlo_solver.pdf
Final Published Version
License: Creative Commons Attribution 4.0 logo

Download (2MB)| Preview

Abstract

dsmcFoam+ is a direct simulation Monte Carlo (DSMC) solver for rarefied gas dynamics, implemented within the OpenFOAM software framework, and parallelised with MPI. It is open-source and released under the GNU General Public License in a publicly available software repository that includes detailed documentation and tutorial DSMC gas flow cases. This release of the code includes many features not found in standard dsmcFoam, such as molecular vibrational and electronic energy modes, chemical reactions, and subsonic pressure boundary conditions. Since dsmcFoam+ is designed entirely within OpenFOAM’s C++ object-oriented framework, it benefits from a number of key features: the code emphasises extensibility and flexibility so it is aimed first and foremost as a research tool for DSMC, allowing new models and test cases to be developed and tested rapidly. All DSMC cases are as straightforward as setting up any standard OpenFOAM case, as dsmcFoam+ relies upon the standard OpenFOAM dictionary based directory structure. This ensures that useful pre- and post-processing capabilities provided by OpenFOAM remain available even though the fully Lagrangian nature of a DSMC simulation is not typical of most OpenFOAM applications. We show that dsmcFoam+ compares well to other well-known DSMC codes and to analytical solutions in terms of benchmark results.

ORCID iDs

White, C., Borg, M.K., Scanlon, T.J. ORCID logoORCID: https://orcid.org/0000-0002-6819-9277, Longshaw, S.M., John, B., Emerson, D.R. and Reese, J.M.;