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.

Error during simulation

Please login with a confirmed email address before reporting spam

  • Feature: Eigenvalue Solver 1 (sol1/e1) Division by zero.
    • Function: / Failed to evaluate variable.
    • Variable: f0
    • Defined as: c_const/lambda Failed to evaluate variable.
    • Variable: comp1.ewbe.omega
    • Defined as: (2*pi)*f0 Failed to evaluate variable.
    • Variable: comp1.ewbe.iomega
    • Defined as: i*comp1.ewbe.omega Failed to evaluate expression.
    • Expression: dvol_spatial*((-mu0_const)*((((-(comp1.ewbe.alphaport_1*comp1.ewbe.ny))*(-((1/mu0_const)*((-comp1.ewbe.murinvxx)*(comp1.ewbe.alphaport_1*comp1.ewbe.ny)))))-((-(comp1.ewbe.alphaport_1*(-comp1.ewbe.nx)))*((1/mu0_const)*((-comp1.ewbe.murinvyy)*(comp1.ewbe.alphaport_1*(-comp1.ewbe.nx))))))+(comp1.ewbe.iomega*((comp1.ewbe.iomega*epsilon0_const)*comp1.ewbe.epsilonrzz)))) Failed to evaluate Jacobian of expression.
    • Expression: dvol_spatial*((-mu0_const)*((((-comp1.ewbe.dHdtx_1)*(-(comp1.ewbe.alphaport_1*comp1.ewbe.ny)))-(comp1.ewbe.dHdty_1*(-(comp1.ewbe.alphaport_1*(-comp1.ewbe.nx)))))+(comp1.ewbe.iomega*comp1.ewbe.Jz_1))) Failed to evaluate Jacobian of expression.
    • Expression: (-mu0_const*(-comp1.ewbe.dHdtx_1*(test(comp1.ewbe.tcurlEbm1x)-comp1.ewbe.alphaport_1*(test(comp1.ewbe.tEbm1z)*comp1.ewbe.ny-test(comp1.ewbe.tEbm1y)*comp1.ewbe.nz)-test(comp1.ewbe.nebm1Tz)*comp1.ewbe.ny+test(comp1.ewbe.nebm1Ty)*comp1.ewbe.nz)-comp1.ewbe.dHdty_1*(test(comp1.ewbe.tcurlEbm1y)-comp1.ewbe.alphaport_1*(-test(comp1.ewbe.tEbm1z)*comp1.ewbe.nx+test(comp1.ewbe.tEbm1x)*comp1.ewbe.nz)+test(comp1.ewbe.nebm1Tz)*comp1.ewbe.nx-test(comp1.ewbe.nebm1Tx)*comp1.ewbe.nz)-comp1.ewbe.dHdtz_1*(test(comp1.ewbe.tcurlEbm1z)-comp1.ewbe.alphaport_1*(test(comp1.ewbe.tEbm1y)*comp1.ewbe.nx-test(comp1.ewbe.tEbm1x)*comp1.ewbe.ny)-test(comp1.ewbe.nebm1Ty)*comp1.ewbe.nx+test(comp1.ewbe.nebm1Tx)*comp1.ewbe.ny)+comp1.ewbe.iomega*(comp1.ewbe.Jx_1*(test(comp1.ewbe.tEbm1x)+comp1.ewbe.nx*test(comp1.ewbe.nebm1))+comp1.ewbe.Jy_1*(test(comp1.ewbe.tEbm1y)+comp1.ewbe.ny*test(comp1.ewbe.nebm1))+comp1.ewbe.Jz_1*(test(comp1.ewbe.tEbm1z)+comp1.ewbe.nz*test(comp1.ewbe.nebm1)))))*(dvol_spatial)

I got this error while solving the directional coupler problem. I used the same file as published in the comsol applications gallery , just changed the index of material.


1 Reply Last Post Oct 24, 2020, 12:06 p.m. EDT

Please login with a confirmed email address before reporting spam

Posted: 4 years ago Oct 24, 2020, 12:06 p.m. EDT

Hello,

Could you please post your model file here?

Thank you.

Hello, Could you please post your model file here? Thank you.

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.