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.
Recoverable error in residual, but solver could not recover.
Posted Oct 17, 2011, 11:20 p.m. EDT Computational Fluid Dynamics (CFD), Materials, Modeling Tools & Definitions, Parameters, Variables, & Functions, Studies & Solvers Version 5.2 9 Replies
Please login with a confirmed email address before reporting spam
What is the meaning of this error ?
Hello Harkirat Bansal
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.
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
I am running Non-Isothermal Flow physics with 2 point-ODE's and a domain ODE. The ODE's and NITF physics are coupled through Temperature, T. The ODE's are fed T and spit out a value used in the NITF physics for a heat source term. The problem is modelling simple neutron kinetics in a liquid reactor.
NITF will run correctly when the ODE's are off, but consistently runs into the error noted above when the ODE's are on. The error most often occurs in a domain in which the ODE's are not solving in and is preceded by a small area suddenly having a large Temp increase (>600K) or similar temperature decrease.
If there is anybody out there that knows why this error is occurring, that would be great. I have tried re-meshing to finer and finer mesh, increasing my discretization, and reducing the time steps to extremely small size (0.001s). Nothing has worked.
Thank you for any help!
Edit: This is for a time-dependent problem.
Please login with a confirmed email address before reporting spam
are you sure your ODE enters gently the game, and do not pop in with a step function, giving issues for the solver to get to converge. And are all your BC "smooth"
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
I have checked and double checked my parameters and everything looks alright.
I think I have solved the problem, however. To fix the issue I was having, I went into the Fully Coupled node within the Time Dependent Solver 1 node, within the Solver 1 node in Solver Configurations.
Within the Method and Termination Tab in the Fully Coupled node there is the option to change the nonlinear method. I changed this from Constant (Newton) to Automatic (Newton). This has solved the solver crashing issue. This allows for COMSOL to decide on a varying damping factor, if I understand the documentation correctly.
I tried Automatic Highly Nonlinear but the solver was not happy with that in Time Dependent mode so I have stuck with Automatic and the model is running smoothly now.
I hope this helps anybody else having this error.
Please login with a confirmed email address before reporting spam
well, i have actually got this very same error when building the model from the model library (see attached - the PDF from comsol site),
and tried all the above suggestions... nothing so far worked.
Anyone?
Attachments:
Please login with a confirmed email address before reporting spam
Ivar, you specifically asked about this in the comment above. How badly with prevent a solution for my model. Do I need to make the function more smooth? Could modify the solver settings to accomodate for large and sudden changes in the boundary conditions?
Thanks,
Trevor
Please login with a confirmed email address before reporting spam
Hi
are you sure your ODE enters gently the game, and do not pop in with a step function, giving issues for the solver to get to converge. And are all your BC "smooth"
--
Good luck
Ivar
Hi Ivar,
could you please explain a bit more on how an ODE should enter gently without a step function? My model is a similar case but using with PDE on comsol 4.4. Thank you.
Regards,
Edmund
Please login with a confirmed email address before reporting spam
Thanks for your help .. and attention
i have got a problem with my model while running as the solve doesn't recover
(Recoverable error in residual, but solver could not recover.
Time : 0.03802165133617842
Last time step is not converged.)
this is the error i found .. please help me to recover this error..
Also i need to add a road profile to my model ( road vehicle simulation) , but i couldn't find the way to add it by the way i tried to add it as a waveform but i think its wrong..
please help me to add this function to the vehicle model as a road excitation
best regards
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.
Suggested Content
- KNOWLEDGE BASE Segregated solver steps do not involve all components
- FORUM Time Dependent Solver Error
- BLOG Exploring the Ambiguity of Hardness Numbers with COMSOL®
- BLOG Plotting the Algebraic Residual to Study Model Convergence
- BLOG Automatic Time Step and Order Selection in Time-Dependent Problems