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.

singularity. error

Please login with a confirmed email address before reporting spam

Hello,
Does anyboday know why I encounter the below error message in Comsol 3.5a?


Error:
Time 7.86913096623935e-007:
Repeated error test failures. May have reached a
Last time step is not converged.


Thanks.

10 Replies Last Post Jan 2, 2017, 8:19 p.m. EST

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Aug 5, 2010, 1:20 p.m. EDT
I have the same error is there any way to over come this error
I have the same error is there any way to over come this error

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Dec 23, 2010, 10:43 p.m. EST
Just wondering if anybody was able to resolve this error. I am getting this error in version 4.1 and I am unable to understand from where the singularity is coming from.

Thanks,
Sirisha
Just wondering if anybody was able to resolve this error. I am getting this error in version 4.1 and I am unable to understand from where the singularity is coming from. Thanks, Sirisha

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 Dec 24, 2010, 4:37 a.m. EST
Hi
For me that ressembles typically to a too large step from initial conditions to imposede BC's, check your BC, initial conditions and if you have some large turn on steps, use a smoothing function

--
Good luck
Ivar
Hi For me that ressembles typically to a too large step from initial conditions to imposede BC's, check your BC, initial conditions and if you have some large turn on steps, use a smoothing function -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Sep 21, 2011, 1:20 p.m. EDT

Hello,
Does anyboday know why I encounter the below error message in Comsol 3.5a?
Error:
Time 7.86913096623935e-007:
Repeated error test failures. May have reached a
Last time step is not converged.
Thanks.


I am using Comsol 4.2. I got the same error, like this:

"Feature: Time-Dependent Solver 1 (sol1/t1)
Repeated error test failures. May have reached a singularity.
Time : 555.312563858365
Last time step is not converged."

"Feature: Time-Dependent Solver 1 (sol1/t1)
Failed to find consistent initial values.
Out of memory during LU factorization.
Last time step is not converged."

but I found the other way to solve, I reduced the computing time in my model, change the time in STUDY 1 > STEP 1 > TIMES > range , for example, range (0,0.1[h],3[d]) ----> become : range(0,1,3[min])

That is the way I did to solve the problem.
[QUOTE] Hello, Does anyboday know why I encounter the below error message in Comsol 3.5a? Error: Time 7.86913096623935e-007: Repeated error test failures. May have reached a Last time step is not converged. Thanks. [/QUOTE] I am using Comsol 4.2. I got the same error, like this: "Feature: Time-Dependent Solver 1 (sol1/t1) Repeated error test failures. May have reached a singularity. Time : 555.312563858365 Last time step is not converged." "Feature: Time-Dependent Solver 1 (sol1/t1) Failed to find consistent initial values. Out of memory during LU factorization. Last time step is not converged." but I found the other way to solve, I reduced the computing time in my model, change the time in STUDY 1 > STEP 1 > TIMES > range , for example, range (0,0.1[h],3[d]) ----> become : range(0,1,3[min]) That is the way I did to solve the problem.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jul 8, 2013, 5:25 p.m. EDT
I have the same error but I couldn't reduce the time range.my time range is (0,1[h],60[d]). Is there any other ways that I could solve the problem?
I have the same error but I couldn't reduce the time range.my time range is (0,1[h],60[d]). Is there any other ways that I could solve the problem?

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jan 14, 2014, 8:28 a.m. EST
Hi guys,

For me this is typically the problem when the initial values are not close enough to the solution, which results in a too large initial step size for the solver and leads to singularity. The problem can thus be resolved by choosing more realistic initial conditions.

Good luck,

Shivam
Hi guys, For me this is typically the problem when the initial values are not close enough to the solution, which results in a too large initial step size for the solver and leads to singularity. The problem can thus be resolved by choosing more realistic initial conditions. Good luck, Shivam

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Jun 26, 2015, 6:19 a.m. EDT
He,
I get this error:
Repeated error test failures. May have reached a singularity.
Time : 786.5492301366643
Last time step is not converged.

So the problem is not in the beginning???
So I do not think that the problem is that the initial values are not close enough to the solution..
What do you think? And do you have an other solution

Astrid
He, I get this error: Repeated error test failures. May have reached a singularity. Time : 786.5492301366643 Last time step is not converged. So the problem is not in the beginning??? So I do not think that the problem is that the initial values are not close enough to the solution.. What do you think? And do you have an other solution Astrid

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Oct 7, 2015, 9:05 a.m. EDT
Those who are trying to solve singularity by reducing the time:

Like this you don't solve your error. You just did the calculations till u reach singularity.

Rather than this try putting in more boundary conditions.

--
Kalpana Samant
Bioprocess Engineer
Those who are trying to solve singularity by reducing the time: Like this you don't solve your error. You just did the calculations till u reach singularity. Rather than this try putting in more boundary conditions. -- Kalpana Samant Bioprocess Engineer

Walter Frei COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Oct 7, 2015, 1:42 p.m. EDT
Hello Kalpana,

It may not always be reasonable to add in additional boundary conditions, beyond the default boundary conditions. Each boundary condition that you add should represent the reality that you are trying to model.

The error message being discussed here has no single cause, and can arise from many different situations. Some, but not all, situations that may lead to this type of error include:
- Having a mesh that is too coarse to represent the spatial variations in the field solutions, especially when there are fast transients in the model.
- A boundary condition, or load, which imposes a change in the solution field that is physically incompatible with the governing equations. (For example, think about applying an instantaneous change in a structural displacement boundary condition. This would imply infinite velocity!)
- Having a non-physical nonlinear material definition, or a material property with discontinuities or instantaneous changes in slope. (use a smoothed representation of the material property instead.)
- Check your initial conditions, are they physically possible?

Overall, check the model carefully to make certain that everything makes physical sense. A model which doesn't converge most often is simply set up in some non-physical way. Once you are certain that your model is appropriate, and if you still have problems, you may also find this information helpful:
www.comsol.com/support/knowledgebase/1127/

Of course, there are other reasons beyond just these, but the significant majority of non-convergence issues arise from a some non-physical problem definition.

Best Regards,
Walter
Hello Kalpana, It may not always be reasonable to add in additional boundary conditions, beyond the default boundary conditions. Each boundary condition that you add should represent the reality that you are trying to model. The error message being discussed here has no single cause, and can arise from many different situations. Some, but not all, situations that may lead to this type of error include: - Having a mesh that is too coarse to represent the spatial variations in the field solutions, especially when there are fast transients in the model. - A boundary condition, or load, which imposes a change in the solution field that is physically incompatible with the governing equations. (For example, think about applying an instantaneous change in a structural displacement boundary condition. This would imply infinite velocity!) - Having a non-physical nonlinear material definition, or a material property with discontinuities or instantaneous changes in slope. (use a smoothed representation of the material property instead.) - Check your initial conditions, are they physically possible? Overall, check the model carefully to make certain that everything makes physical sense. A model which doesn't converge most often is simply set up in some non-physical way. Once you are certain that your model is appropriate, and if you still have problems, you may also find this information helpful: http://www.comsol.com/support/knowledgebase/1127/ Of course, there are other reasons beyond just these, but the significant majority of non-convergence issues arise from a some non-physical problem definition. Best Regards, Walter

Please login with a confirmed email address before reporting spam

Posted: 8 years ago Jan 2, 2017, 8:19 p.m. EST
Hi Walter - Just want to let you know that I have been vexed by this error message and your description here got me to finding the problem. I looked harder for something unphysical and found it (a sign error in one of my equations), and now my model is working well. Thanks a lot.

Tom
Hi Walter - Just want to let you know that I have been vexed by this error message and your description here got me to finding the problem. I looked harder for something unphysical and found it (a sign error in one of my equations), and now my model is working well. Thanks a lot. Tom

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.