Code covered by the BSD License  

Highlights from
Magnetic Flux distribution

4.0

4.0 | 2 ratings Rate this file 33 Downloads (last 30 days) File Size: 4.24 KB File ID: #34785
image thumbnail

Magnetic Flux distribution

by

 

25 Jan 2012 (Updated )

Magnetic Flux distribution

| Watch this File

File Information
Description

These codes calculates & plots Magnetic Flux distribution for
1. Two parallel conductors,
2. Solenoid

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
09 Jan 2014 ths1104 Stenkhiste

This is not FEM but Biot-Savart law. Good example anyway.

25 Jun 2012 Mathieu Gauvin

Dear Dr. Pravi (or any other interested users), I would appreciate your help.

I am an electrical engineer student at McGill University, and I am very happy that you posted very nice and working algorithms for FEM simulations. I am trying to use your matlab script solenoid.m to simulate a solenoid, but for my simulation I would need to add an iron core inside the loops, I found online (see sources) that mathematicly this change in permeability ends up scaling the field by a constant. Do you think this is applicable somewhere in your code? I fould this mathematical scaling being too easy to be true in my mind it's seem pretty clear that some border effect woul happen at the core extremety, because of the iron-air interface, what do you think?

There is other things I would like to know in order to understand my eventual results, does the length values (such as: d = 2; % Radius of the Loop...) are indcated in meter units ? Also the direction of the current is taken in consideration, but not its amplitude? I know that if I put -10 instead of -1 (as default) it scale B by 10, so can I consider this as being Ampere unit? Finally, At the end of the magnetic field computation, if I put as comment the normalization line at the end, the resulting unit of the fields B are suposed to be Tesla ?

Thanks for your time and help!

Sources:

http://en.wikipedia.org/wiki/Solenoid
http://hyperphysics.phy-astr.gsu.edu/hbase/solids/ferro.html#c5

Updates
12 Mar 2014

Title updated.

Contact us