This is a little Julia-based DSMC gas kinetics solver. It supports the BGK collision model and 3D geometries. A rather uncommon feature is a variance reduction scheme called "VRBGK" that allows for low-noise, low-velocity BGK simulations.
Example files are provided in the examples folder.
The mesh .h5 files are generated using the HOPR preprocessor.
julia --project=. src/main.jl examples/couette/couette.toml output_path_of_choice
Visualization uses the piclas2vtk utility from the PICLas project.
piclas2vtk output_path_of_choice/Couette_*.h5
paraview output_path_of_choice/*.vtu
Wall velocity = +-100m/s, Kn=1.0

- https://github.com/piclas-framework/piclas
- C.D. Munz et al, "Coupled Particle-In-Cell and Direct Simulation Monte Carlo method for simulating reactive plasma flows". 2014
- G.A. Bird, "Molecular Gas Dynamics and the Direct Simulation of Gas Flows". 1994
- M. Pfeiffer, "Particle-based fluid dynamics: Comparison of different Bhatnagar-Gross-Krook models and the direct simulation Monte Carlo method for hypersonic flows". 2018
- C. D. Landon and N. G. Hadjiconstantinou, "Variance-Reduced Direct Simulation Monte Carlo with the Bhatnagar-Gross-Krook Collision Operator". 2011
Leon's Gas Kinetics Copyright (C) 2025 Leon Teichroeb
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; for details view LICENSE.