Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Frequency sweep in a magnetic field interface

$
0
0
Hello everyone,
This should be seemingly siomple problem. I am trying to model the AC magnetic field due to a coil in 3D. I am using a magnetic field interface on a simple cylinder (acting as the coil) kept in air. A current has been given to this cylinder axially using "external current density feature". Now if I run a stationary solver, it is able to solve for a magnetic field without hassle. Even if I give a periodic current to the coil and solve for time-dependent solution at a particular frequency, I am getting an answer. But when I want to do a frequency sweep analysis I am getting the following error:
"Failed to find a solution for the initial parameter.
Matrix has zero on diagonal.
Returned solution is not converged."
Now I know that usually this kind of error is due to inadequate boundary condition. But that does not explain to me how the simulation is successful with a stationary and time domain analysis.

Also if I try to make the coil using a 2D axisymmetric simulation, I am able to do even the frequency sweep giving the exact same boundary conditions that I am using for 3D simulation. I am at loss to see what could be the problem. Any suggestions or advice will be highly appreciated.
I have attached the model file in case anyone wants to check it out.
Venkat

Viewing all articles
Browse latest Browse all 26527

Trending Articles