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.

NLfail despite low tolerances using fully coupled approach

Please login with a confirmed email address before reporting spam

Hi,

I try to observe the heating of a system using an electric pulse, i.e. Joule heating (--> Laplace equation and heat equation). The conductivity of the material of interest depends on the local electric field and local temperature, so the system is highly interdependent and therefore I am using the fully–coupled solving approach.

The meshing itself is not great 0.02 min. quality, however, due to high aspect ratios (a cylinder of 5nm thickness vs. 200nm diameter) hard to improve. I split the thickness manually into 8 layers, which is what I need for the physics I like to observe (the material itself is highly inhomogeneous with respect to conductivity so the local electric field depends on the number of layers I actually simulate).

In the beginning the solving works quite well, but at some time more and more NLfails occur. I already adjusted the absolute tolerance to a fairly low level (sometimes 1e7, 1e-8) and use a rel. tolerance of 1e-3 and tolerance factor of 1e-4 which to my understanding is similar to using 1e-7 since I am not using the segregated solver. I found that hint in the forum and it should help to shift the problem from the time-stepping to the solving and in fact I do get significantly less errors.

I also change the solver from BDF to Generalised alpha due to some sharp gradients that can and will occur. I also manually adjusted the time-stepping to put more emphasis on the Non–linear solver but also that does not really help.

What I find quite puzzling is that the error seems to be quite small (see attachment), however the number of NLfailuers increases continuously showing that there is a problem.

It would be great if someone has a suggestion of how to tackle the problem or at least knows why there are so many NLfailures.

Many thanks!
Toby


1 Reply Last Post 2016年5月9日 GMT-4 07:06

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年5月9日 GMT-4 07:06
edit: When I make the tolerances more restrictive the error plot itself looks good, however, I observe a lot of error message (see attachment). So anyone could help me on that, it would be great (see post above). The errors are connected with the linear Residual going between steps. The it looks like it starts the stepping again..
edit: When I make the tolerances more restrictive the error plot itself looks good, however, I observe a lot of error message (see attachment). So anyone could help me on that, it would be great (see post above). The errors are connected with the linear Residual going between steps. The it looks like it starts the stepping again..

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.