Implementation of Neumann Boundary for HTS-Superconductor H-Formulation
3 views (last 30 days)
Show older comments
Hello,
I am trying to implement the common H-Formulation, used to model magnetic fields in superconductors, in MATLAB Partial Differential Equation Toolbox. I am starting as a 2-D Problem to understand to functionality.
The H-Formulation generally looks like
where H is the magnetic field, ρ is the material resistivity and μ the material permiability. To transform theis into the form
used in MATLAB Partial Differential Equation Toolbox for the 2-D case (only and ) I get
m = 0;
d = mu;
a = 0;
f = 0;
c = [0, 0, 0, 0;...
0, rho, -rho, 0;...
0, -rho, rho, 0;...
0, 0, 0, 0];
To model the H-Formulation I have to model the superconductor domain and the air around it. So I have two domains that are seperated by a shared interface. As far as my understanding on this shared interface a Neumann boundary of the form
is used. My problem is that with the equation for a Neumann boundary in Matlab Documentation given as
where c is the same as in the PDE formulation, I do not see how this represents the typical Neumann boundary condition.
Can someone explain to me how I can implement the correct Neumann boundary condition in such a PDE problem?
0 Comments
Answers (1)
Torsten
on 1 Mar 2023
Moved: Torsten
on 1 Mar 2023
Set g = q = 0 to get the condition you want - whether you set n*( c*grad H ) = 0 or n * grad H = 0 makes no difference.
But if it's a condition at the interface between two solution domains, you usually have to set two transmission conditions, not only one.
And I'm not sure whether the PDE toolbox supports transmission conditions at all.
3 Comments
Torsten
on 2 Mar 2023
I assumed c was a diagonal matrix with constant equal entries. In this case it does not matter whether you impose
n1*c11*dH/dx + n2*c22*dH/dy = 0
or
n1*dH/dx + n2*dH/dy = 0
because c11 = c22 and you can divide the first equation by c11 to get the second.
But now looking at the c you derived, there are off-diagonal elements (although I don't understand why c is 4x4 and not 2x2).
So you are correct: The two conditions are not equivalent.
See Also
Categories
Find more on Eigenvalue Problems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!