Numerical model of simple magnetic circuit

Remember to always check your results for accuracy and make adjustments as needed. In summary, you are building a 2D model of a simple magnetic circuit using numerical methods and equations such as Ampere's law. You will need to properly discretize the equations and choose suitable grid sizes and time steps. It is important to make sure your boundary conditions are consistent with the equations being used and to check your results for accuracy. Good luck with your project!
  • #1
LastCharge
1
0

Homework Statement


I have to build a 2D model of simple magnetic circuit, that is iron core (2) with coil(1) and air gap(3) applied to it. Model has to be solved on numerical basis, by finite difference or element method (whichever is easier to implement). Number 4 on drawing represents boundary condition, that would be magnitude of magnetic field density B = 0.

http://img813.imageshack.us/img813/4049/trafon.th.jpg

Homework Equations


What equations to use and how properly discretize them?

The Attempt at a Solution


I started with differential form of Ampere law, which is:
curl(H) = J, where H is vector of magnetic field strength and J is vector of current density.
Because B has only 2 space components (third iz zero), curl(H) translates to:
(dHy/dx - dHx/dy) *ez = J * ez, where Hy is y component of H, Hx is x component of H and ez is the direction in z-axis.
ez falls out, so final form is:
dHy/dx -dHx/dy = J

First derivatives are substituted with differences, i'll use central difference approximation:
du/dx = (u(i+1) - u(i-1))/(2*deltax)

Hy(i+1,j) - Hy(i-1,j) - Hx(i,j+1) + Hx(i ,j-1) = J*2*deltah
Grid is equidistant, so for both dimensions deltah is same.

I used the formula above for the coil region, elsewhere I set equation to (where no current density):
Hy(i+1,j) - Hy(i-1,j) - Hx(i,j+1) + Hx(i ,j-1) = 0

I got some strange and most possible, wrong results.

thank you in advance
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
for any help or advice.

Hello,

Thank you for sharing your progress so far. It seems like you have a good understanding of the equations involved in this problem. To properly discretize them, you will need to choose a suitable grid size and time step. This will depend on the specific parameters of your model and the accuracy required for your results.

Once you have chosen your grid size and time step, you can use the central difference approximation for the first derivatives as you have done. However, for the boundary condition at point 4, you will need to set the value of B to zero, not just the equation. This can be done by setting the value of H to zero at that point.

It is also important to make sure that your boundary conditions are consistent with the equations you are using. For example, if you are using the differential form of Ampere's law, then your boundary conditions should involve the magnetic field strength H, not the magnetic field density B.

I would suggest reviewing your boundary conditions and making sure they are consistent with the equations you are using. Also, double check your implementation of the central difference approximation to make sure it is correct.

I hope this helps and good luck with your model!
 

1. What is a numerical model of simple magnetic circuit?

A numerical model of simple magnetic circuit is a mathematical representation of a magnetic circuit using numerical values and equations. It is used to analyze the behavior and performance of a simple magnetic circuit.

2. How is a numerical model of simple magnetic circuit different from an analytical model?

A numerical model uses numerical methods to approximate the behavior of a magnetic circuit, while an analytical model uses mathematical equations to describe the behavior exactly. Numerical models are often used when an analytical solution is difficult or impossible to obtain.

3. What parameters are needed to create a numerical model of simple magnetic circuit?

To create a numerical model of a simple magnetic circuit, you will need the circuit's geometry, material properties such as permeability and conductivity, and other factors such as current and voltage inputs. These parameters will be used to create equations and numerical values that describe the behavior of the circuit.

4. What are the advantages of using a numerical model of simple magnetic circuit?

One advantage of using a numerical model is that it can handle complex geometries and material properties that may be difficult to analyze analytically. It also allows for the simulation of different scenarios and conditions to understand the behavior of the circuit under various conditions.

5. How accurate are numerical models of simple magnetic circuits?

The accuracy of a numerical model depends on the complexity of the circuit and how well the parameters are known. In general, numerical models can provide a good approximation of the behavior of the circuit, but they may not be as accurate as analytical solutions in some cases.

Similar threads

  • Differential Geometry
Replies
1
Views
2K
  • Advanced Physics Homework Help
Replies
3
Views
2K
Replies
2
Views
1K
  • Electromagnetism
Replies
5
Views
978
  • Advanced Physics Homework Help
Replies
1
Views
1K
  • Advanced Physics Homework Help
Replies
2
Views
1K
  • Differential Equations
Replies
3
Views
1K
Replies
4
Views
1K
Replies
0
Views
2K
  • Advanced Physics Homework Help
Replies
2
Views
2K
Back
Top