Discussion ClosedThis 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.

Attempt to evaluate negative power of zero error

Please login with a confirmed email address before reporting spam

Hi,

I am trying to simulate the Bfield and E field induced by two loop coils. I am defining them numerically and in the coil geometry analysis step, I get this error for my second coil which is the mirror of the first one. The model with one coil works well but when I add a second coil, it gives me this message:

*Segregated Step 1 Attempt to evaluate negative power of zero. - Function: ^ Failed to evaluate temporary symbolic derivative variable. - Variable: comp1.mf.coil2.ccc1.normg@VDN$2comp1.mf.coil2.ccc1.pYm.internal - Defined as: ((-exp((-i)phase))(2comp1.mf.coil2.ccc1.gY))(((((comp1.mf.coil2.ccc1.gX^2)+(comp1.mf.coil2.ccc1.gY^2))+(comp1.mf.coil2.ccc1.gZ^2))^(-0.5))0.5) Failed to evaluate temporary symbolic derivative variable. - Variable: comp1.mf.coil2.ccc1.weak1@VDN$2{test@2}@VDN$2comp1.mf.coil2.ccc1.pYm.internal Failed to evaluate expression. - Expression: (-(((((-exp((-i)phase))(2comp1.mf.coil2.ccc1.gY))(((((comp1.mf.coil2.ccc1.gX^2)+(comp1.mf.coil2.ccc1.gY^2))+(comp1.mf.coil2.ccc1.gZ^2))^(-0.5))0.5))comp1.mf.coil2.ccc1.Vdom)((-comp1.mf.coil2.intmtcd(eps+comp1.mf.coil2.ccc1.normg))/((eps+(comp1.mf.coil2.ccc1.normgcomp1.mf.coil2.ccc1.Vdom))^2))))dvol Failed to evaluate Jacobian of expression. - Expression: (comp1.mf.coil2.ccc1.S-(comp1.mf.coil2.intmtcd(eps+comp1.mf.coil2.ccc1.normg)/(eps+(comp1.mf.coil2.ccc1.normgcomp1.mf.coil2.ccc1.Vdom))))dvol Failed to evaluate Jacobian of expression. - Expression: (comp1.mf.coil2.ccc1.weak1)(dvol)**

I understand that I must have a variable that becomes 0 to a negative power but I don't understand what the variables comp1.mf.coil2.ccc1.gX, comp1.mf.coil2.ccc1.gY or comp1.mf.coil2.ccc1.gZ might represent.

Thanks in advance for your help


1 Reply Last Post 2023年9月16日 GMT+2 18:58
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 11 months ago 2023年9月16日 GMT+2 18:58
Updated: 11 months ago 2023年9月16日 GMT+2 18:47

I don't know those variables either, but I'm guessing (and it's just a wild guess) that this may have something to do with the fact that you mirrored the first coil to make the second coil, and that this action may have led to improper boundary conditions (or other specs, such as material properties) in the model. I encourage you to post your .mph file to the forum, so that the specific issue(s) in your particular model will be easier to identify.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
I don't know those variables either, but I'm guessing (and it's just a wild guess) that this may have something to do with the fact that you mirrored the first coil to make the second coil, and that this action may have led to improper boundary conditions (or other specs, such as material properties) in the model. I encourage you to post your .mph file to the forum, so that the specific issue(s) in your particular model will be easier to identify.

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

Baidu
map