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 modeling air glass interface simulation in 3d

Yadav Rohit Umashankar

Please login with a confirmed email address before reporting spam

Hi, everyone i am modelling a simulation to get reflectance and transmittance plot for air glass interface in 3d for different polarizations of incident wave like TE and TM. but i got stuck at an error while computing in study node, as given below

  • Feature: Stationary Solver 1 (sol1/s1) Division by zero.
    • Function: / Failed to evaluate expression.
    • Expression: abs(comp1.ewfd.port1.Pin/comp1.ewfd.Pmode_1) Failed to evaluate variable.
    • Variable: comp1.ewfd.tEmodex_1
    • Defined as: sqrt(abs(comp1.ewfd.port1.Pin/comp1.ewfd.Pmode_1))*comp1.ewfd.tE0modex_1 Failed to evaluate expression.
    • Expression: nojac(comp1.ewfd.tEmodex_1) Failed to evaluate variable.
    • Variable: comp1.ewfd.PortConstrx
    • Defined as: (1+if((abs(arg(comp1.ewfd.beta_1)unit_rad_cf)<=(0.25pi))||(abs(arg(comp1.ewfd.beta_1)unit_rad_cf)>=(pi0.75)),comp1.ewfd.S1x,0))*nojac(comp1.ewfd.tEmodex_1) Failed to evaluate expression.
    • Expression: comp1.ewfd.tEx-comp1.ewfd.PortConstrx

how to resolve this error?


0 Replies Last Post 03.06.2021, 07:34 GMT-4
COMSOL Moderator

Hello Yadav Rohit Umashankar

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.