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.

Failed To Find A Solution. "Singular Matrix" Error?

Please login with a confirmed email address before reporting spam

Failed to find a solution. Singular matrix.

There are 1 void equations (empty rows in matrix) for the variable comp1.ewfd.S1x. at coordinates: (0,0,0), ... There are 1 void equations (empty rows in matrix) for the variable comp1.ewfd.S2x. at coordinates: (0,0,0), ... and similarly for the degrees of freedom (empty columns in matrix). Returned solution is not converged. Not all parameter steps returned.

Could someone please help. I am not able to figure out the problem trying to solve for weeks. I also changed the electrical conductivity of air but still the error persist. I don't understand.



3 Replies Last Post Aug 24, 2022, 7:46 p.m. EDT
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 2 years ago Aug 24, 2022, 5:43 p.m. EDT
Updated: 2 years ago Aug 24, 2022, 6:01 p.m. EDT

I don't have the wave optics module, but I can see that you are trying to employ Floquet periodicity (which is almost always tricky). I also see that your mesh is very coarse, and that you have NOT copied meshes from source to destination surfaces, so that the periodicity-pairs will be identically meshed. At a minimum, use a finer mesh and do not just mesh in general! Rather, create meshes on source surfaces and then copy them to destination surfaces, so that the periodicity-pair conditions you are trying to specify will then concern identical mesh layouts in each face of the pair. (Then fill in the volume mesh.) There are very probably other issues in your model as well, so this is likely just a starting suggestion. Overall, if you must do a Floquet type symmetry model, then I suggest you start with the simplest one that you can get to work well. Then build upon what you learn. Good luck!

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
I don't have the wave optics module, but I can see that you are trying to employ Floquet periodicity (which is almost always tricky). I also see that your mesh is very coarse, and that you have NOT copied meshes from source to destination surfaces, so that the periodicity-pairs will be identically meshed. At a minimum, use a finer mesh and do not just mesh in general! Rather, create meshes on source surfaces and then copy them to destination surfaces, so that the periodicity-pair conditions you are trying to specify will then concern *identical* mesh layouts in each face of the pair. (Then fill in the volume mesh.) There are very probably other issues in your model as well, so this is likely just a starting suggestion. Overall, if you *must* do a Floquet type symmetry model, then I suggest you start with the simplest one that you can get to work well. Then build upon what you learn. Good luck!

Please login with a confirmed email address before reporting spam

Posted: 2 years ago Aug 24, 2022, 7:35 p.m. EDT

Thank you for your response. The reason I used general mesh is because if I try above coarse mesh the file size increases above 5MB which was not allowing me to upload the file so for uploading purpose I changed the mesh to normal bringing the file size down. Here I built very simple model, just with air, and instead of floquet type I used continuity but still there is an error which is same, which I don't understand.

Thank you for your response. The reason I used general mesh is because if I try above coarse mesh the file size increases above 5MB which was not allowing me to upload the file so for uploading purpose I changed the mesh to normal bringing the file size down. Here I built very simple model, just with air, and instead of floquet type I used continuity but still there is an error which is same, which I don't understand.


Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 2 years ago Aug 24, 2022, 7:46 p.m. EDT

Well, I don't think I can offer much more advice, since I don't have the ewfd module. Perhaps someone else can help. Meanwhile, have you looked up example files in the Application Library that employ periodic (and especially Floquet periodic) boundary conditions?

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Well, I don't think I can offer much more advice, since I don't have the ewfd module. Perhaps someone else can help. Meanwhile, have you looked up example files in the Application Library that employ periodic (and especially Floquet periodic) boundary conditions?

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.