cross-posted from: https://lemmus.org/post/26646894

a website to help students visualize the electromagnetic field

I’ve been building this simulator as a side project aimed to help students understand and visualize electromagnetic phenomena such as radiation, near field effects, polarization, wave interference and diffraction.

You can:

  • place multiple, diffrent radiation sources and set their parameters (geometery, amplitude, phase and more)
  • place perefect wire conductors, PEC plane and poke slots in the plane to create diffraction patterns
  • observe the electric field, magnetic field, energy flow field, energy density or radiation pattern
  • zoom in and out and translate the canvas
  • change the simulation resolution, frequency and propogation speed and some other parameters

I hope someone might find it useful and I’d love to hear what people think :)

What do you think I should add?

Live:
https://www.antennasim.com/

GitHub:

https://github.com/rotemTsafrir/antenna_sim

you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 3 days ago (3 children)

very cool. it was immediately educational.

a couple notes:

  • it barely runs on my new phone so perhaps some compromises for mobile would be best.
  • still working on absorptive materials besides PEC plane? where are the things that would cast a radiation shadow?
  • source
  • hideshow 3 child comments
  • [–] [S] 2 points 3 days ago (2 children)

    Thanks!

    Well that’s disappointing, i really tried optimizing it and it worked well on the few devices I tested (I have an iPhone 13 Pro that handles it well). I will see what I can do to make it more smooth.

    And yes I am working on adding different kind of pec obstacles, dialectic materials and ohmic conductive materials.

    The challenge is to keep the solver cheap while preserving reasonable accuracy.

    May I ask what phone do you have ?

    Thanks for the feedback:)

  • source
  • parent
  • hideshow 2 child comments