Magnetic field produced by linear current in COMSOL

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 3K views
Caleydos
Messages
4
Reaction score
0
TL;DR
Issue with COMSOL 5.5 when trying to calculate the magnetic field produced by linear current in 3D
Hello,

I have used an edge current of 10 A through a 0,45 cm (lenght) wire inside an air sphere. The thing is that, according with Ampere law, the magnetic field (B) produced at a 1 mm of distance from the wire shall be 0,002 T, and I am obtaining much higher values in this simulation (around 0,3 T at his point).

I have done it in 2D and result is OK, according with theoretical values, but I do not know why in 3D it changes. Any idea please?

Many thanks in advance
 

Attachments

  • Esfera 1 m de radio zoom.png
    Esfera 1 m de radio zoom.png
    56.5 KB · Views: 216
Engineering news on Phys.org
Sure! I attach them here. Thanks a lot!

First one is the 3D model (lateral view), showing the value of the magnetic flux density in COMSOL 5.5 (this value do not matches with theoretical)

The second one is 2D in COMSOL 3.5, this value really matches with theoretical
 

Attachments

  • Flujo campo en modelo 3D (esfera 20 cm). 0,1 T a 2 cm del centro del conductor.png
    Flujo campo en modelo 3D (esfera 20 cm). 0,1 T a 2 cm del centro del conductor.png
    42.5 KB · Views: 189
  • Magnetic Flux density at 1mm (2mT).png
    Magnetic Flux density at 1mm (2mT).png
    41.1 KB · Views: 225
Thanks a lot for your reply.

This is one of the things that I supossed in the beginning, but I made the boundary sphere wider and the result is the same (see attached). It seems the magnetic flux shown in the boundary layer is debt to the sphere is very small. Any other idea?
 

Attachments

  • Magnetic flux density long wire 10 amps (0.5 T at 1mm).png
    Magnetic flux density long wire 10 amps (0.5 T at 1mm).png
    18.7 KB · Views: 181
I have tried modifying the length of the wire, magnetic flux should remain the same, but it isn´t. It seems the longer wire produces more flux at 1mm (it makes no sense).

On the other hand, I do not understan why this shape in the magnetic flux, it should be purely circular.
 

Attachments

  • Magnetic flux density long wire 10 amps (0.5 T at 1mm).png
    Magnetic flux density long wire 10 amps (0.5 T at 1mm).png
    18.7 KB · Views: 178
  • Magnetic flux density very long wire 10 amps (0.8 T at 1mm).png
    Magnetic flux density very long wire 10 amps (0.8 T at 1mm).png
    62.8 KB · Views: 166