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.

How to use variables from solution in materials for representing nonlinear materials

SURYASIVAPRAKASH ALAPATI

Please login with a confirmed email address before reporting spam

I have a small doubt on using nonlinear characteristics in comsol 4. In materials section while using soft iron, i want to define normB value from solution like mod1.mf.normB. But i am getting error message saying undefined values if try to solve.
I tried to define a constant like 0 or 1 instead of mod1.mf.normB, its working without errors. But it will take linear magnetic characteristics. I am attaching the file here, please check the material contents of the soft iron normB value.
Please help me in this problem for using normB value from solution. Thanks in advance.

1 Reply Last Post 2010/06/21 12:02 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2010/06/21 12:02 GMT-4

I have a small doubt on using nonlinear characteristics in comsol 4. In materials section while using soft iron, i want to define normB value from solution like mod1.mf.normB. But i am getting error message saying undefined values if try to solve.
I tried to define a constant like 0 or 1 instead of mod1.mf.normB, its working without errors. But it will take linear magnetic characteristics. I am attaching the file here, please check the material contents of the soft iron normB value.
Please help me in this problem for using normB value from solution. Thanks in advance.


I had exactly the same problem and asked tech support for help. It turns out there are a couple of issues with the software that aren't obvious. Try the following:

-Under soft iron's "Basic" material properties (assuming you're using the B = mu*H formalism), define normB to be mf.normB.

-Under the Initial Values in the magnetic field physics, define an initial A field that has a non-zero gradient everywhere; the tech support person put in 1e-6*sqrt(x^2+y^2+z^2) for all three components. This causes it to orange-out the text (complaining that the units aren't right), but apparently this is just a warning, not an error.

Good luck!
[QUOTE] I have a small doubt on using nonlinear characteristics in comsol 4. In materials section while using soft iron, i want to define normB value from solution like mod1.mf.normB. But i am getting error message saying undefined values if try to solve. I tried to define a constant like 0 or 1 instead of mod1.mf.normB, its working without errors. But it will take linear magnetic characteristics. I am attaching the file here, please check the material contents of the soft iron normB value. Please help me in this problem for using normB value from solution. Thanks in advance. [/QUOTE] I had exactly the same problem and asked tech support for help. It turns out there are a couple of issues with the software that aren't obvious. Try the following: -Under soft iron's "Basic" material properties (assuming you're using the B = mu*H formalism), define normB to be mf.normB. -Under the Initial Values in the magnetic field physics, define an initial A field that has a non-zero gradient everywhere; the tech support person put in 1e-6*sqrt(x^2+y^2+z^2) for all three components. This causes it to orange-out the text (complaining that the units aren't right), but apparently this is just a warning, not an error. Good luck!

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.