Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

how to over come error ''Single Matrix''

Please login with a confirmed email address before reporting spam

Hi All gentlemen,
during my solving an error notic is coming and terminating my computation. the message is show bellow


Feature: stationary1(sol1/s1)
Error: Single Matrix.

Could anyone may give some tips to avoid this error?

Regards,

Rashedul

5 Replies Last Post 13 nov 2012, 15:09 GMT-5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 7 apr 2011, 09:22 GMT-4
Hi

I assume it "singular matrix" which typically mean that you are missing some BC or that your PDE is not set up well enough to give a single unique response

--
Good luck
Ivar
Hi I assume it "singular matrix" which typically mean that you are missing some BC or that your PDE is not set up well enough to give a single unique response -- Good luck Ivar

Muhammad Mohsin Rehman

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 7 apr 2011, 14:45 GMT-4
I am also getting a similar type of error while I try to solve a controlled source electromagnetic marine model.

The title of error is :

The following feature has encounter a problem :

Feature : Stationary solver
Error : Failed to evaluate expression

Please suggest me some tricks to cope up with it.

Thanks.
I am also getting a similar type of error while I try to solve a controlled source electromagnetic marine model. The title of error is : The following feature has encounter a problem : Feature : Stationary solver Error : Failed to evaluate expression Please suggest me some tricks to cope up with it. Thanks.

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 apr 2011, 01:24 GMT-4
Hi

then read carefully, you have somewhere an expression that cannot be resolved, a typo or a variable use out of it's context. Do not forget that variables have implicit definitions, and are often fields dependent on x,y,z, or r,t ... and mostly apply to the element of size dx,dy,dz (in 3D) therefore must sometimes be integrated over a domain or a boundary before using it in a higher order calculation

Take the density "rho" you define it as [kg/m^3] it applies to a domain, hence to the elements of the domain. Now in most formulas you use the mass of the object, not the density, so you need to integrate rho over the domain. If you have 2 domains of different materials, you need to sum over the domains the integration of the density.

This mens that "rho" is implicitly a field defined as rho_i(x,y,z,t) (as the density might change over the spatial coordinates and with time, and the _i is there to refer to the "i" individual domains. One must ALWAYS rethink carefully all formulas in COMSOL and ask the question, is this variable "global" or does it define implicitly some links to the geometry, if so is are these elements clearly defined ?

--
Good luck
Ivar
Hi then read carefully, you have somewhere an expression that cannot be resolved, a typo or a variable use out of it's context. Do not forget that variables have implicit definitions, and are often fields dependent on x,y,z, or r,t ... and mostly apply to the element of size dx,dy,dz (in 3D) therefore must sometimes be integrated over a domain or a boundary before using it in a higher order calculation Take the density "rho" you define it as [kg/m^3] it applies to a domain, hence to the elements of the domain. Now in most formulas you use the mass of the object, not the density, so you need to integrate rho over the domain. If you have 2 domains of different materials, you need to sum over the domains the integration of the density. This mens that "rho" is implicitly a field defined as rho_i(x,y,z,t) (as the density might change over the spatial coordinates and with time, and the _i is there to refer to the "i" individual domains. One must ALWAYS rethink carefully all formulas in COMSOL and ask the question, is this variable "global" or does it define implicitly some links to the geometry, if so is are these elements clearly defined ? -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13 nov 2012, 14:31 GMT-5
Hi
I get the same error when I am trying to solve RF module for a microwave combined with heat transfer.Also how can I apply the condition of lambart law power decay inside sample? in electromagnetic P=Pe^(-ay) please help me
Hi I get the same error when I am trying to solve RF module for a microwave combined with heat transfer.Also how can I apply the condition of lambart law power decay inside sample? in electromagnetic P=Pe^(-ay) please help me

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13 nov 2012, 15:09 GMT-5
Hi
Are you sure your expression is correct I would try P*exp(-ay), but then be sure P is not already used, as for ay. I often use morecomplex names to be sure they do not mix up with COMSOL internal variables

--
Good luck
Ivar
Hi Are you sure your expression is correct I would try P*exp(-ay), but then be sure P is not already used, as for ay. I often use morecomplex names to be sure they do not mix up with COMSOL internal variables -- Good luck Ivar

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.