Direct Simulation Monte Carlo
   HOME

TheInfoList



OR:

Direct simulation Monte Carlo (DSMC) method uses probabilistic
Monte Carlo Monte Carlo ( ; ; or colloquially ; , ; ) is an official administrative area of Monaco, specifically the Ward (country subdivision), ward of Monte Carlo/Spélugues, where the Monte Carlo Casino is located. Informally, the name also refers to ...
simulation A simulation is an imitative representation of a process or system that could exist in the real world. In this broad sense, simulation can often be used interchangeably with model. Sometimes a clear distinction between the two terms is made, in ...
to solve the
Boltzmann equation The Boltzmann equation or Boltzmann transport equation (BTE) describes the statistical behaviour of a thermodynamic system not in a state of equilibrium; it was devised by Ludwig Boltzmann in 1872.Encyclopaedia of Physics (2nd Edition), R. G ...
for finite
Knudsen number The Knudsen number (Kn) is a dimensionless number defined as the ratio of the molecular mean free path length to a representative physical length scale. This length scale could be, for example, the radius of a body in a fluid. The number is nam ...
fluid In physics, a fluid is a liquid, gas, or other material that may continuously motion, move and Deformation (physics), deform (''flow'') under an applied shear stress, or external force. They have zero shear modulus, or, in simpler terms, are M ...
flows. 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 In physics, mean free path is the average distance over which a moving particle (such as an atom, a molecule, or a photon) travels before substantially changing its direction or energy (or, in a specific context, other properties), typically as a ...
of a molecule is of the same order (or greater) than a representative physical length scale (i.e. the
Knudsen number The Knudsen number (Kn) is a dimensionless number defined as the ratio of the molecular mean free path length to a representative physical length scale. This length scale could be, for example, the radius of a body in a fluid. The number is nam ...
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 M^2/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. The DSMC method models fluid flows using probabilistic simulation
molecule A molecule is a group of two or more atoms that are held together by Force, attractive forces known as chemical bonds; depending on context, the term may or may not include ions that satisfy this criterion. In quantum physics, organic chemi ...
s to solve the
Boltzmann equation The Boltzmann equation or Boltzmann transport equation (BTE) describes the statistical behaviour of a thermodynamic system not in a state of equilibrium; it was devised by Ludwig Boltzmann in 1872.Encyclopaedia of Physics (2nd Edition), R. G ...
. 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 model A phenomenological model is a scientific model that describes the empirical relationship of phenomena to each other, in a way which is consistent with fundamental theory, but is not directly derived from theory. In other words, a phenomenological ...
s. 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 estimation of the
Space Shuttle The Space Shuttle is a retired, partially reusable launch system, reusable low Earth orbital spacecraft system operated from 1981 to 2011 by the U.S. National Aeronautics and Space Administration (NASA) as part of the Space Shuttle program. ...
re-entry aerodynamics to the modeling of
microelectromechanical systems MEMS (micro-electromechanical systems) is the technology of microscopic devices incorporating both electronic and moving parts. MEMS are made up of components between 1 and 100 micrometres in size (i.e., 0.001 to 0.1 mm), and MEMS devices ...
(MEMS).


DSMC Algorithm

The direct simulation Monte Carlo algorithm is like
molecular dynamics Molecular dynamics (MD) is a computer simulation method for analyzing the Motion (physics), physical movements of atoms and molecules. The atoms and molecules are allowed to interact for a fixed period of time, giving a view of the dynamics ( ...
in that the state of the system is given by the positions and velocities of the particles, \, for i = 1, \ldots, N. Unlike molecular dynamics, each particle in a DSMC simulation represents F_N 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 Atmospheric entry (sometimes listed as Vimpact or Ventry) is the movement of an object from outer space into and through the gases of an atmosphere of a planet, dwarf planet, or natural satellite. Atmospheric entry may be ''uncontrolled entr ...
). Specifically, the system volume is V = (N F_N)/n, where n is the number density and each collision between simulation particles represents F_N 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, \tau, 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 \mathbf_i(t+\tau) = \mathbf_i(t) + \mathbf_i(t) \tau. Any particle that reaches a boundary or a surface has its position and velocity reset accordingly (e.g.,
periodic boundary conditions Periodic boundary conditions (PBCs) are a set of boundary conditions which are often chosen for approximating a large (infinite) system by using a small part called a ''unit cell''. PBCs are often used in computer simulations and mathematical mod ...
). 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 The kinetic theory of gases is a simple classical model of the thermodynamic behavior of gases. Its introduction allowed many principal concepts of thermodynamics to be established. It treats a gas as composed of numerous particles, too small ...
. 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 timestep 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 a mean free path. All pairs of particles in a cell are candidate collision partners, regardless of their actual trajectories. The details of how collisions are calculated in DSMC depend on the molecular interaction model; here we take the
hard spheres Hard spheres are widely used as model particles in the statistical mechanical theory of fluids and solids. They are defined simply as impenetrable spheres that cannot overlap in space. They mimic the extremely strong ("infinitely elastic bouncing" ...
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, P_\mathrm ,j= where N_\mathrm 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 In numerical analysis and computational statistics, rejection sampling is a basic technique used to generate observations from a distribution. It is also commonly called the acceptance-rejection method or "accept-reject algorithm" and is a type o ...
scheme can be used to select collision pairs: # A pair of candidate particles, i and j, is chosen at random and their relative speed, v_\mathrm = , \mathbf_i - \mathbf_j, , is computed. # The pair is accepted as collision partners if v_\mathrm > v_\mathrm^\mathrm \Re, where v_\mathrm^\mathrm is the maximum relative speed in the cell and \Re is a uniform deviate in spherical angles, \theta and \phi \mathbf_\mathrm^* = v_\mathrm [ (\sin\theta \cos\phi) \hat + (\sin\theta \sin\phi) \hat + \cos\theta \,\hat ] these angles are selected by a Monte Carlo process with distributions given by the collision model. For the hard spheres model these angles are uniformly distributed over the unit sphere. The azimuthal angle is uniformly distributed between 0 and 2\pi, so it is selected as \phi = 2\pi\Re_1 where \Re_1 is a uniform deviate in [0, 1). The polar angle is distributed according to the probability density, P_\theta(\theta) \, d\theta = \sin\theta \, d\theta Using the change of variable q = -\cos\theta, we have P_q(q) \, dq = () \, dq so -\cos\theta = q ~\mathrm~ \sin\theta = \sqrt ~\mathrm~ q = 2\Re_2 -1 The post-collision velocities are set as \mathbf_i^* = \mathbf_\mathrm^* + \mathbf_\mathrm^* \qquad \mathbf_j^* = \mathbf_\mathrm^* - \mathbf_\mathrm^* Note that by conservation of linear momentum and energy the center of mass velocity and the relative speed are unchanged in a collision. That is, \mathbf_\mathrm = (\mathbf_i + \mathbf_j) = (\mathbf_i^* + \mathbf_j^*) = \mathbf_\mathrm^* and v_\mathrm = , \mathbf_i - \mathbf_j , = , \mathbf_i^* - \mathbf_j^* , = v_\mathrm^* This process is repeated for every pair of colliding particles. From the collision frequency, f_\mathrm, given by kinetic theory the total number of hard sphere collisions in a cell during a time \tau is M_\mathrm = (N_\mathrm-1) F_N f_\mathrm \tau = where d is the particle diameter and V_\mathrm is the volume of the cell. Since collision candidates go through a rejection sampling procedure the ratio of total accepted to total candidates for hard sphere particles is = The number of collision candidates selected in a cell over a time step \tau is M_\mathrm = This approach for determining the number of collisions is known as the ''No-Time-Counter'' (NTC) method. If v_\mathrm^ is set excessively high then the algorithm processes the same number of collisions (on average) but the simulation is inefficient because many candidates are rejected. An alternative, more accurate and time-efficient algorithm is ''Majorant Frequency '' (MF) method, proposed by Mikhail Ivanov (scientist), Mikhail Ivanov and Sergey Rogasinsky in 1988.


References

{{reflist


External links


Direct Simulation Monte Carlo Method: Visual Simulation Programs created by GA Bird


by Greg Khanlarov

(part of Computational Physics tutorial by Franz J. Vesely, University of Vienna)
Course material on DSMC and recent developments
(given at IPAM UCLA by Lorenzo Pareschi, University of Ferrara) Monte Carlo methods Statistical mechanics