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 correction
Posted 12 août 2023, 02:42 UTC−4 Version 6.0 1 Reply
Please login with a confirmed email address before reporting spam
During simulation of grating structure, we got error: 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(comp1.ewfd.beta_1)>((1.0E-7comp1.ewfd.intport1(comp1.ewfd.k))/comp1.ewfd.Area_1))&&((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 solved it?