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. Program summaryProgram title: dsmcFoam+Program Files doi:http://dx.doi.org/10.17632/7b4xkpx43b.1Licensing provisions: GNU General Public License 3 (GPL)Programming language: C++Nature of problem: dsmcFoam+ has been developed to help investigate rarefied gas flow problems using the direct simulation Monte Carlo (DSMC) method. It provides an easily extended, parallelised, DSMC environment.Solution method: dsmcFoam+ implements an explicit time-stepping solver with stochastic molecular collisions appropriate for studying rarefied gas flow problems.

Highlights

  • The direct simulation Monte Carlo (DSMC) technique is a stochastic particle-based method for simulating dilute gas flow problems

  • Since it is inter-molecular collisions and gas–surface interactions that drive a system towards thermodynamic equilibrium, it is clear that non-equilibrium effects become dominant with increasing Knudsen number

  • The code is released under the same license as the OpenFOAM base, at a publicly-available software repository [5] that includes documentation and example cases. dsmcFoam+ is parallelised using an MPI-based domain-decomposition approach built upon the parallel capability provided by OpenFOAM

Read more

Summary

Introduction

The direct simulation Monte Carlo (DSMC) technique is a stochastic particle-based method for simulating dilute gas flow problems. OpenFOAM [4] (or Open-source Field Operation And Manipulation) is an open-source suite of libraries and applications initially designed to solve computational fluid dynamics (CFD) problems It has become more complex over the years since its initial release, but its basic principle remains the same: to provide an open and extensible C++ based software package containing a wide range of libraries, pre- and post-processing tools, and solvers, as well as a framework that can be used to build new applications. In order to use the new collision model, the user only needs to change the textual description in the appropriate configuration file

Background
Initialisation
Movement
Binary collisions
Sampling
Software implementation
Extensible design
Case definition
FoamFile
36 BinaryCollisionModel
Case initialisation
Post-processing results
Source code structure
Collision rates
Free-molecular flow over a cylinder
Hypersonic 3D flow over a flat plate
Findings
Microscale Poiseuille flow
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call