Electromagnetic Simulator

Magnetic and Electrosatatic simulator in UE4 and C++

Lorentz force

In physics (particularly in electromagnetism) the Lorentz force (or electromagnetic force) is the combination of electric and magnetic force on a point charge due to electromagnetic fields. A particle of charge q moving with a velocity v in an electric field E and a magnetic field B experiences a force.

    \[\vec{F}=q\vec{E} +q\vec{v}\times \vec{B} \]

\vec{E}: Electric field

\vec{v} : velocity

\vec{B} : magnetic field

Lorentz force could be applied to different objects, in the simulation I have used 4 objects: Particle, Wire, Uniform magnetic field and Magnet

  • Particle

It is our movable object, it is affected by the electromagnetic field. It has four variables.

The Mass: it is measured in AMU, which is equivalent to 1.66\times 10^{-27} kg.

The Charge: it is measured in elementary charge; 1.60\times 10^{19} C

  • Wire

The wire conducts electricity through it and causes a magnetic field.

    \[B=\frac{\mu _{0}I}{2 \pi r} \]

B : magnetic field

\mu _{0} : permeability of free space

I : Intensity through the wire

r : distance to the wire

  • Uniform magnetic field

The uniform magnetic field has the same magnetic field in all position, it ease off the calculations, the particles affected by the field describe circles and helicoids.

  • Magnet

The magnetic field caused by the magnet is non-uniform, to calculate it you need this formula:

    \[ B= \mu _{0}nI \]

12 thoughts on “Electromagnetic Simulator”

  1. I was just searching for this info for some time. After six hours of continuous Googleing, finally I got it in your web site. I wonder what is the lack of Google strategy that do not rank this type of informative web sites in top of the list. Generally the top web sites are full of garbage.

  2. Good topic.
    I need to spend some time learning more or understanding more.

    Thanks for fantastic information I was looking for this information for my mission.

Leave a Reply

Your email address will not be published. Required fields are marked *