Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Frequency sweep in a magnetic field interface
Posted 17 janv. 2013, 16:34 UTC−5 Low-Frequency Electromagnetics Version 3.5a, Version 4.3 3 Replies
Please login with a confirmed email address before reporting spam
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
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
Attachments:
3 Replies Last Post 18 janv. 2013, 08:46 UTC−5