Visualized simulation tool of Direct Simulation Monte Carlo (DSMC) is essential in aeronautical engineering and gas dynamics, by presenting information that can educate engineers and scientists to preliminarily understand the molecular gas dynamics and direct simulation of gas flows. Two educational tools and models are described for dilute gas flows and simulated particle collisions. This tool is the 0-Dimensional DSMC in approach to translational equilibrium was developed to simulate the speed distribution over time and the comparison between the final distribution and the Maxwell-Boltzmann distribution.
The inputs are:
- Gas Conditions: Choice of particle (properties are put in the code), number of particles
- Flow Conditions: Pressure or Temperature (based on ideal gas law), cell length, and number of cells to be simulated
- Numerical (Time) Conditions: Number of Time Steps and Input Time Step (if desired)
The outputs are:
- DSMC Speed Distribution (in number of particles)
- Comparison between DSMC Speed Distribution and Maxwell-Boltzmann Speed Distribution (in PDF)
- H-function (Harris, 1966)
- Number of Collisions Per Particle and Mean of Collisions
- DSMC Speed Distribution over Time (sequence demo)
- Output Log (explanations regarding sequence, simulated particle, and other outputs such as Kn)

1. Bird, Graeme A. Molecular Gas Dynamics and the Direct Simulation of Gas Flows. Appendices.Oxford University Press, 1994.

2. Garcia, Alejandro L. Numerical Methods for Physics. Cpt 11. Prentice Hall, NJ. 2000.

3. Harris S., Approach to Equilibrium in a Moderately Dense Discrete Velocity Gas, Phys. Fluids 9, 1328 (1966); http://dx.doi.org/10.1063/1.1761848

4. Macrossan, Michael N. (2009) Matlab codes for the DSMC calculation of Couette flow, using the variable-hard-sphere (VHS) collision model. Report No. 2009/02, Mechanical Engineering, University of Queensland.

Researchers should cite this work as follows: