ArticleslgStudy

mathematics

Direct simulation Monte Carlo

Direct simulation Monte Carlo is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Direct simulation Monte Carlo rather than just read about it. In short: Direct simulation Monte Carlo (DSMC) method uses probabilistic Monte Carlo simulation to solve the Boltzmann equation for finite Knudsen number fluid flows as part of the field of rarefied gas dynamics. The DSMC method was proposed by Graeme Bird, emeritus professor of aeronautics, University of Sydney.

Key takeaways

  • Direct simulation Monte Carlo belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Direct simulation Monte Carlo to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Direct simulation Monte Carlo from memory before moving on to harder problems.

Reference excerpt

Direct simulation Monte Carlo (DSMC) method uses probabilistic Monte Carlo simulation to solve the Boltzmann equation for finite Knudsen number fluid flows as part of the field of rarefied gas dynamics. The DSMC method was proposed by Graeme Bird, emeritus professor of aeronautics, University of Sydney. DSMC is a numerical method for modeling rarefied gas flows, in which the mean free path of a molecule is of the same order (or greater) than a representative physical length scale (i.e. the Knudsen number Kn is greater than 1). In supersonic and hypersonic flows rarefaction is characterized by Tsien's parameter, which is equivalent to the product of Knudsen number and Mach number (KnM) or M2/Re, where Re is the Reynolds number. In these rarefied flows, the Navier-Stokes equations can be inaccurate. The DSMC method has been extended to model continuum flows (Kn < 1), and the results can be compared with Navier-Stokes solutions with slip and jump boundary conditions at small Knudsen numbers, i.e., 0.001<Kn<0.1. The DSMC method models fluid flows using probabilistic simulation molecules to solve the Boltzmann equation. Molecules are moved through a simulation of physical space in a realistic manner that is directly coupled to physical time such that unsteady flow characteristics can be modeled. Intermolecular collisions and molecule-surface collisions are calculated using probabilistic, phenomenological models. Common molecular models include the hard sphere model, the variable hard sphere (VHS) model, and the variable soft sphere (VSS) model. Various collision models are presented in. Currently, the DSMC method has been applied to the solution of flows ranging from the estimation of the Space Shuttle re-entry aerodynamics to the modeling of microelectromechanical systems (MEMS). With the advent of Artificial Intelligence (AI), there are some efforts in combining DSMC and machine learning approaches.

DSMC Algorithm The direct simulation Monte Carlo algorithm is like molecular dynamics in that the state of the system is given by the positions and velocities of the particles, {𝐫i,𝐯i}, for i=1,…,N. Unlike molecular dynamics, each particle in a DSMC simulation represents FN molecules in the physical system that have roughly the same position and velocity. This allows DSMC to rescale length and time for the modeling of macroscopic systems (e.g., atmospheric entry). Specifically, the system volume is V=(NFN)/n, where n is the number density and each collision between simulation particles represents FN collisions among molecules in the physical system. As a rule of thumb there should be 20 or more particles per cubic mean free path for accurate results. The evolution of the system is integrated in time steps, τ, which are typically on the order of the mean collision time for a particle. At each time step all the particles are moved and then a random set of pairs collide. In the absence of external fields (e.g., gravity) the particles move ballistically as 𝐫i(t+τ)=𝐫i(t)+𝐯i(t)τ. Any particle that reaches a boundary or a surface has its position and velocity reset accordingly (e.g., periodic boundary conditions). After all the particles have moved, they are sorted into cells and some are randomly selected to collide, based on probabilities and collision rates obtained from the kinetic theory of gases. After the velocities of all colliding particles have been reset, statistical sampling is performed and then the process is repeated for the next time step.

Collisions On each time step, the particles are sorted into spatial cells and only particles in the same cell are allowed to collide. Typically, the dimension of a cell is no larger than one-third of the mean free path. All pairs of particles in a cell are candidate collision partners, regardless of their actual trajectories. For more accurate simulations, the cells are further divided to sub-cells. The subcells can be static or adaptive. The details of how collisions are calculated in DSMC depend on the molecular interaction model; here we take the hard spheres model, which is the simplest. In the hard spheres model, the collision probability for the pair of particles, i and j, is proportional to their relative speed, Pcoll[i,j]=|𝐯i−𝐯j|∑m=1Nc∑n=1m−1|𝐯m−𝐯n| where Nc is the number of particles in the cell and the summations are over particles within the cell. Because of the double sum in the denominator it can be computationally expensive to use this collision probability directly. Instead, the following rejection sampling scheme can be used to select collision pairs:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Direct simulation Monte Carlo

Start with the simplest possible case. Write down what Direct simulation Monte Carlo claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Direct simulation Monte Carlo before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Direct simulation Monte Carlo ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Direct simulation Monte Carlo

In research
Direct simulation Monte Carlo appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Direct simulation Monte Carlo in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Direct simulation Monte Carlo is common in secondary-school and first-year university syllabi. It links to neighbouring topics Monte Carlo methods, Statistical mechanics, so understanding it makes those chapters shorter.
In everyday life
Look for Direct simulation Monte Carlo outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Direct simulation Monte Carlo” →

How to study Direct simulation Monte Carlo in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Direct simulation Monte Carlo means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Direct simulation Monte Carlo out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Direct simulation Monte Carlo in simple terms?

Direct simulation Monte Carlo (DSMC) method uses probabilistic Monte Carlo simulation to solve the Boltzmann equation for finite Knudsen number fluid flows as part of the field of rarefied gas dynamics. The DSMC method was proposed by Graeme Bird, emeritus professor of aeronautics, University of Sy…

Why does Direct simulation Monte Carlo matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Direct simulation Monte Carlo?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Direct simulation Monte Carlo.

Tags

  • Monte Carlo methods
  • Statistical mechanics

Keep exploring