How to Convert Ampere's Law to Laplace Equations and Solve Numerically?

yoyobarn
Messages
4
Reaction score
0

Homework Statement


I need to write ampere's law (differential form) in the form of Laplace equations / Poisson equations and then solve them numerically using Matlab.


Homework Equations


Del x H = J


The Attempt at a Solution


pls see my attachment


I need help from someone who is good at electromagnetics, and also have some numerical programming background.

Thank you very much for help!
 

Attachments

Physics news on Phys.org
Ok now I have come up with code for one wire..

Now i need to code for two wires!

Any idea how to do that?
 

Attachments

  • wire_square.png
    wire_square.png
    20.1 KB · Views: 479
<br /> \nabla \times B=\mu_0J<br />
<br /> B=\nabla \times A<br />
so then we substitute this into amperes law.
<br /> \nabla \times(\nabla \times A)<br />
then we use the vector identity to re-write the curl of the curl.
so we get
<br /> \nabla(\nabla \cdot A) - (\nabla)^2A=\mu_0J<br />
<br /> \nabla \cdot A = 0
I did this in terms of the B field but
<br /> B=\mu H<br />
So now we have reduced this to Poisson equation.
On your second post you said you need code for two wires . well the B fields obey superposition so you can just add the field to the other based on distance.
 
Last edited:
To solve this, I first used the units to work out that a= m* a/m, i.e. t=z/λ. This would allow you to determine the time duration within an interval section by section and then add this to the previous ones to obtain the age of the respective layer. However, this would require a constant thickness per year for each interval. However, since this is most likely not the case, my next consideration was that the age must be the integral of a 1/λ(z) function, which I cannot model.
Back
Top