Magnetic field produced by linear current in COMSOL

AI Thread Summary
The discussion centers on discrepancies in magnetic field values obtained from a COMSOL simulation of a linear current in a wire. The user reports that while the theoretical magnetic field at 1 mm from a 10 A current should be 0.002 T, the simulation shows values around 0.3 T in 3D, which do not align with expectations. The user has confirmed that the 2D model matches theoretical values, leading to confusion about the 3D results. Suggestions include checking boundary conditions and modifying wire length, but these adjustments have not resolved the issue. The user is also puzzled by the unexpected shape of the magnetic flux, which deviates from the expected circular pattern.
Caleydos
Messages
4
Reaction score
0
TL;DR Summary
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: 171
Engineering news on Phys.org
Can you post a picture of the geometry in 2D and in 3D?
 
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: 150
  • Magnetic Flux density at 1mm (2mT).png
    Magnetic Flux density at 1mm (2mT).png
    41.1 KB · Views: 178
There is something strange going on, for instance:
Flujo campo en modelo 3D (esfera 20 cm). 0,1 T a 2 cm del centro del conductor.png


Check the boundary conditions.
 
Thanks a lot for your reply.

This is one of the things that I supossed in the beggining, 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: 145
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: 140
  • 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: 126
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Electromagnet magnetic field issue'
Hi Guys We are a bunch a mechanical engineers trying to build a simple electromagnet. Our design is based on a very similar magnet. However, our version is about 10 times less magnetic and we are wondering why. Our coil has exactly same length, same number of layers and turns. What is possibly wrong? PIN and bracket are made of iron and are in electrical contact, exactly like the reference design. Any help will be appreciated. Thanks. edit: even same wire diameter and coil was wounded by a...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top