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.

Global equation

Please login with a confirmed email address before reporting spam

Hi everyone!
I am trying to add a Global equation to my simple model ( the model is attached).
Global equation as follows 0.5*real(emw.iomega*epsilon0_const*(2.5^2+i*im_eps​ilon))*int1(emw.normE^2)- 2.3e-5[W] (just to show that equation is not coordinate dependent)
It solves for im_epsilon ( this variable included in epsilonr of CdS).
To my knowledge, Global equation is added to equations solved by solver and should be satisfied on each iteration and evaluated value not tied to nodes (the same for all nodes, that why it called Global), so it confuses me when error occurs in a particular node ((0,0,0)).
I am clueless what is causing such error:
Singular matrix.
- Detail: There are 1 void equations (empty rows in matrix) for the variable comp1.im_epsilon.
at coordinates: (0,0,0), ...
and similarly for the degrees of freedom (empty columns in matrix).
- Feature: Eigenvalue Solver 1 (sol1/e1)

I will appreciate a lot your help.


0 Replies Last Post May 14, 2015, 2:06 p.m. EDT
COMSOL Moderator

Hello Nina Sterlikova

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.