Simulating particle motion in real time

Click For Summary

Discussion Overview

The discussion revolves around simulating the motion of particles evaporating from an oven and propagating until they hit a wall. The focus is on classical mechanics, with participants exploring methods to refine the simulation to calculate quantities such as particle flux and velocity distributions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes their initial approach of using a Gaussian distribution for particle velocity and tracking particles until they hit a wall, seeking advice on refining the simulation to include time and flux calculations.
  • Another participant questions the clarity of the simulation goals, suggesting the use of a Monte Carlo method to solve the heat/diffusion equation and emphasizing the need for a simultaneous simulation of multiple particles to accurately calculate flux.
  • A participant clarifies their intention to simulate classical behavior of atoms effusing from the oven and expresses uncertainty about how to assign velocity vectors based on the oven aperture.
  • Another participant proposes that effusion can be modeled similarly to Brownian motion, suggesting the use of a Langevin equation and providing a formula for the expected root mean square velocity.
  • A later reply indicates a preference for focusing on the distribution of velocities of particles emerging from the oven rather than tracking particles inside the oven, which the participant finds too complex for their current goals.

Areas of Agreement / Disagreement

Participants express differing views on the appropriate methods for simulating particle motion, with some advocating for a more complex approach involving simultaneous particle tracking, while others prefer a simpler model focused on the end results of the simulation. No consensus is reached on the best method to achieve the desired outcomes.

Contextual Notes

Participants mention the need to consider the distribution of velocity components and the relationship between particle behavior and the oven aperture, highlighting potential dependencies and assumptions that may affect the simulation.

Niles
Messages
1,834
Reaction score
0
Hi

I am trying to simulate N particles evaporating from an oven, after which they propagate and eventually hit a wall. it is all classically, no quantum behavior. So far my approach has been the following:

I pick a random Gaussianly distribution number, which I say is the velocity of the particle. Then the particle moves and hits the wall at some point. After a run I know how many particles have left the oven and how many atoms have hit the wall and where.

I would like to refine my simulation, such that I know e.g. the flux of atoms hitting the wall. I'm not sure how to do this most properly, because ultimately I guess it requires for me to keep track of the time as well - which I am not doing currently.

Can anyone give me a hint/suggestion to how I can do this? I would be very happy in that case.Niles.
 
Physics news on Phys.org
To me it's a bit unclear what you want to simulate exactly. You say you don't want to do quantum mechanics yet you're talking about atoms. Do you want to solve the heat/diffusion equation of a gas in a box (your oven) using a Monte Carlo method?
First, you must make sure then that your Gaussian distribution matches the binary diffusion coefficient of the gas. As for fluxes, you cannot use the 'one-particle-at-a-time' approach. You have to simulate a lot of particles at the same time to get this. just loop over N (say,1000) particles and solve a Langevin equation for each of them, calculating their new velocity and position. After each iteration, calculate for each cell in your domain the quantities you're interested in. Test your implementation using an exact solution of the heat equation

Hope this helps
 
Hi

Thanks for replying so fast. OK, I'll elaborate on my OP: I want to simulate the behavior of some atoms that effuse from an oven, but I assume that I can do it classically. So no QM for now. I want to do it such that I can get quantities like the flux, but you said that a "one-particle-at-a-time"-approach is not an option. I did not know that, thanks for that!

The problem now is that I am not sure how to assign a velocity vector to an atom, after it leaves the oven. The component must depend on the oven aperture (I would intuitively expect that), but I am not sure what distribution describes the three components.

Thanks for the help so far.Niles.
 
I think effusion is modeled the same as Brownian motion (as in: you can use a Langevin equation for both processes), except with a different stochastic component. If you choose the variance of the Wiener increment (the Gaussian random factor) to be equal to the expected effusion rms (sqrt(3kBT/M) according to the wiki page) than you'll be fine. I guess for the drag of the effusing particles you can use Stokes' law, like for Brownian particles.
 
Sorry for my late reply, but I've been thinking about this for a while. Your latest suggestion requires that I also keep track of atoms inside the iven and that is way beyond what I am trying to do. Rather I am interested in the "end result", i.e. if I have e.g. 10.000 particles emerging from the oven, then how are their (vx, vy, vz) distributed.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K