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 in running Wave Optics Study

Please login with a confirmed email address before reporting spam

Hello! I keep running into this error when computing my study. Any help would be much appreciated.

  • Feature: Stationary Solver 1 (sol1/s1) Division by zero.
  • Function: / Failed to evaluate expression.
  • Expression: abs(try_catch(comp1.ewbe.port3.Pin,1)/comp1.ewbe.Pmode_3) Failed to evaluate variable.
  • Variable: comp1.ewbe.tEmodex_3
  • Defined as: sqrt(abs(try_catch(comp1.ewbe.port3.Pin,1)/comp1.ewbe.Pmode_3))*comp1.ewbe.tE0modex_3 Failed to evaluate expression.
  • Expression: nojac(comp1.ewbe.tEmodex_3) Failed to evaluate variable.
  • Variable: comp1.ewbe.PortConstrx
  • Defined as: if((abs(unit_rad_cfarg(comp1.ewbe.beta_3))<=(0.25pi))||(abs(unit_rad_cfarg(comp1.ewbe.beta_3))>=(pi0.75)),comp1.ewbe.S3x,0)*nojac(comp1.ewbe.tEmodex_3) Failed to evaluate expression.
  • Expression: comp1.ewbe.tEx-comp1.ewbe.PortConstrx

2 Replies Last Post 2020年5月20日 GMT-4 01:27

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2020年5月19日 GMT-4 08:16

Please check the value of comp1.ewbe.Pmode_3 Is it equal zero? or non-defined?

-------------------
Felipe Beltran-Mejia
Please check the value of comp1.ewbe.Pmode_3 Is it equal zero? or non-defined?

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2020年5月20日 GMT-4 01:27

can you attach your model file?

can you attach your model file?

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.