Undergrad Personal COMSOL challenge (EM)

Click For Summary
SUMMARY

The discussion centers on a challenge faced while using COMSOL Multiphysics to plot electromagnetic fields around a current-carrying wire. The user encountered a convergence error when using "Air" as the surrounding material due to its electrical conductivity being set to zero. By adjusting the conductivity of "Air" to 8e-15 S/m, the user successfully resolved the issue and obtained a valid solution. This highlights the importance of correctly setting material properties in simulation software.

PREREQUISITES
  • Familiarity with COMSOL Multiphysics software
  • Understanding of electromagnetic field theory
  • Knowledge of material properties, specifically electrical conductivity
  • Experience with 3D modeling and simulation techniques
NEXT STEPS
  • Explore COMSOL Multiphysics material library and its properties
  • Learn about setting up electromagnetic simulations in COMSOL
  • Investigate the effects of different materials on simulation outcomes
  • Study convergence issues in numerical simulations and their resolutions
USEFUL FOR

Engineers, physicists, and researchers involved in electromagnetic simulations, particularly those using COMSOL Multiphysics for modeling and analysis.

vis viva
Messages
29
Reaction score
10
TL;DR
For the purpose of exploring COMSOL my challenge is to plot E/M-fields of a piece of current carrying wire.
Hi Y'all

For the purpose of exploring COMSOL, I challenged my self to plot the E/M-fields of a piece of current carrying wire in 3D. It's quite a simple task to plot the fields inside the wire, but I fail when plotting the fields outside the wire.

For plotting the outside fields I have enclosed the wire in a sphere. When the material of the sphere is e.g. FR4 (Circuit Board) I can obtain the below plot. Please note the wire is excited with 1A DC by "Lumped Port 1" and I have chosen "Magnetic and Electric Fields (mef)" as Physics because it is supposed to fully couple Magnetic and Electric Fields.
Screenshot from 2020-02-13 13-49-37.png

However if the chosen material for the sphere is "Air" then I always get an error:

Failed to find a solution.
Singular matrix.

For mesh case 0 there are 17824 void equations (empty rows in matrix) for the variable comp1.V.
at coordinates: (-0.00754829,-0.00476567,-0.00350686), (-0.00725854,-0.00573252,-0.00280156), (-0.00659457,-0.00684682,-0.00210367), (-0.00447219,-0.00590542,-0.00477199), (-0.00435897,-0.00567258,-0.00598722), ...

and similarly for the degrees of freedom (empty columns in matrix).
Returned solution is not converged.

Not all parameter steps returned.

What am I doing wrong here?

Klaus Z.
 
  • Like
Likes berkeman
Physics news on Phys.org
I found the error, so just for posterity:

I was using the material "Air" from the built-in material library which I wasn't hesitant about using, as it worked fine in other example simulations.

However the electrical conductivity property was set to 0 (zero) S/m, and that prevented the solver in converging. Then I changed the value to 8e-15 S/m and it found a solution without problems.
 
  • Like
Likes DrClaude

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 9 ·
Replies
9
Views
9K
  • · Replies 1 ·
Replies
1
Views
3K