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.
Undefined variable in while using comosol with matlab-ERROR
Posted 2019年2月1日 GMT+1 11:52Low-Frequency Electromagnetics, LiveLink for MATLABVersion 5.02 Replies
Please login with a confirmed email address before reporting spam
I am getting the following error when I run Comsol with MATLAB. I am unable to correct the error. Can someone give any insight to correct the error. I can see that the variable is found to be undefined when, a new domain is created by MATLAB in the comsol model.
Messages: The following feature has encountered a problem:
Undefined variable. - Variable: material.epsilonr22 - Geometry: geom1 - Domain: 35 Failed to evaluate variable. - Variable: comp1.es.epsilonryy - Defined as: material.epsilonr22 Failed to evaluate variable. - Variable: comp1.es.chiyy - Defined as: ((-1)+comp1.es.epsilonryy) Failed to evaluate variable. - Variable: comp1.es.Py - Defined as: (epsilon0_const*((comp1.es.Ey*comp1.es.chiyy)+(comp1.es.Ex*comp1.es.chiyx))) Failed to evaluate variable. - Variable: comp1.es.Dy - Defined as: (comp1.es.Py+((epsilon0_const*comp1.es.Iyy)*comp1.es.Ey)) Failed to evaluate expression. - Expression: d((-(comp1.es.Dx*test(comp1.Vx)+comp1.es.Dy*test(comp1.Vy))*comp1.es.d)*(dvol),{test@2}) - Feature: Stationary Solver 1 (sol1/s1)
2 Replies
Last Post 2019年2月19日 GMT+1 06:21