- #1
MattRob
- 211
- 29
I'm working on something right now where I want to model the flow of an electrically charged gas (hydrogen) reacting to an electrostatically charged metal grid.
I know, more or less nothing about this type of mechanics, so I want to create a model using a simple programming language, with a series of points arranged like the structure of the grid to simulate it, and other points traveling towards the grid at a high velocity to simulate the charged particles.
I was thinking I could set the program to calculate the force using Coulomb's law every milisecond (or faster for more precision) and use force vectors to calculate the motion of each simulated "particle".
To model how the charged particles interact with the charge of the metal grid, is Coulomb's law the only calculation I need to run for each particle at each moment, or do I need to also calculate the structure of the magnetic fields and other factors using more equations, to accurately plot how the charged gas particles respond?
Thanks in advance for any replies.
I know, more or less nothing about this type of mechanics, so I want to create a model using a simple programming language, with a series of points arranged like the structure of the grid to simulate it, and other points traveling towards the grid at a high velocity to simulate the charged particles.
I was thinking I could set the program to calculate the force using Coulomb's law every milisecond (or faster for more precision) and use force vectors to calculate the motion of each simulated "particle".
To model how the charged particles interact with the charge of the metal grid, is Coulomb's law the only calculation I need to run for each particle at each moment, or do I need to also calculate the structure of the magnetic fields and other factors using more equations, to accurately plot how the charged gas particles respond?
Thanks in advance for any replies.