# Electron beam in electric field (ray-tracking)

**URL:** https://community.freefem.org/t/electron-beam-in-electric-field-ray-tracking/612
**Category:** General Discussion
**Created:** [October 12, 2020, 9:48am UTC](https://community.freefem.org/t/electron-beam-in-electric-field-ray-tracking/612 "2020-10-12T09:48:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![atom1477](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@atom1477](https://community.freefem.org/u/atom1477)
#### Post date: [October 12, 2020, 9:48am UTC](https://community.freefem.org/t/electron-beam-in-electric-field-ray-tracking/612/1 "2020-10-12T09:48:22Z")

</div>

Hello,  
I’m completely newbie in FF.  
I know that is possible to simulate electric field distribution using FF.  
But my question is, if it is an easy way to make one more additional step:  
Pass electron beam thru this simulated field, to determinate path which electrons fly (to determinate the deflection of electron beam).  
Of course, I speak about quite high accuracy simulation, which will show any imperfections/aberrations caused by deflection plates.  
2D will be fine at this moment.  
Thanks.  
atom1477

---

<div class="post-metadata">

### Author: ![MPiotr](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/mpiotr/32/283_2.png) [@MPiotr](https://community.freefem.org/u/MPiotr)
#### Post date: [October 12, 2020, 6:33pm UTC](https://community.freefem.org/t/electron-beam-in-electric-field-ray-tracking/612/2 "2020-10-12T18:33:07Z")

</div>

As far as I know, problem like this are usually solved by the finite volume or by discontinuous Galerkin methods. I guess, the last method could be implemented in FreeFem, but it’s a long way to go, so the answer is that is not easy.

---

<div class="post-metadata">

### Author: ![atom1477](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@atom1477](https://community.freefem.org/u/atom1477)
#### Post date: [October 20, 2020, 7:16am UTC](https://community.freefem.org/t/electron-beam-in-electric-field-ray-tracking/612/3 "2020-10-20T07:16:42Z")

</div>

Thanks.  
Sorry for late reply. I thought maybe someone else would answer.  
Well, I will try to get into the topic.
