Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

Undefined variable in while using comosol with matlab-ERROR

$
0
0

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)

Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>