I was thinking about this problem, as it comes up obliquely at work, albeit as a solved problem as part of a piece of equipment.
So, I set about thinking how to solve this. There's not a lot to find on the internet about this, so I actually had to do this from scratch.
Anyway, I had a fun couple of hours coding up a solution to this problem, and it was rather harder than I had anticipated at the start.
If anyone is interested, I'll post the code. I used c#, which is what I'm most familiar with, but python or matlab would have been a much more appropriate tool, so this little project has given me some motivation to learn these.
So, I set about thinking how to solve this. There's not a lot to find on the internet about this, so I actually had to do this from scratch.
Anyway, I had a fun couple of hours coding up a solution to this problem, and it was rather harder than I had anticipated at the start.
If anyone is interested, I'll post the code. I used c#, which is what I'm most familiar with, but python or matlab would have been a much more appropriate tool, so this little project has given me some motivation to learn these.
I looked to nature and how atoms are arranged in molecules and modelled this using electrostatics as a system of like-charged particles constrained to the surface of a sphere
