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.

Can we impose a MINIMUM STEPSIZE AS A STOP CONDITION?

Please login with a confirmed email address before reporting spam

I loop thousands of transient simulations in matlab and I can't find a solver setting that will stop the solver when the step size becomes very small (history of the stepsize in log file) and the simulation becomes a terrible waste of time.

Is there a way to impose a low limit on the stepsize of the solver? I tried various Stop expressions with no success (ex. stepsize-1)...

Anyone knows how to do that?

Thanks,
Frank

4 Replies Last Post 12 nov. 2013, 23:41 UTC−5

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 1 nov. 2011, 08:07 UTC−4
Nobody uses such a stop condition?

I tried to play with the 'Limit on nonlinear convergence rate' under 'Damping and Termination' in 'Fully Coupled' under my Time-Dependent Solver. But in order to be able to adjust the Limit on nonlinear convergence rate, we have to choose a Constant Damping Method, and my solutions are much better when the Damping Method is set to Automatic (no oscillations, quicker, etc.). So I had to let go this possibility.

Anyone has an idea of a Termination technique when a Time-Dependent Solver progresses endlessly with very small stepsize?
Nobody uses such a stop condition? I tried to play with the 'Limit on nonlinear convergence rate' under 'Damping and Termination' in 'Fully Coupled' under my Time-Dependent Solver. But in order to be able to adjust the Limit on nonlinear convergence rate, we have to choose a Constant Damping Method, and my solutions are much better when the Damping Method is set to Automatic (no oscillations, quicker, etc.). So I had to let go this possibility. Anyone has an idea of a Termination technique when a Time-Dependent Solver progresses endlessly with very small stepsize?

Nagi Elabbasi Facebook Reality Labs

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 1 nov. 2011, 08:21 UTC−4
If you want the solver to stop when the time step becomes smaller than a specific value X, add this expression as a Stop Condition “timestep-X”

Nagi Elabbasi
Veryst Engineering
If you want the solver to stop when the time step becomes smaller than a specific value X, add this expression as a Stop Condition “timestep-X” Nagi Elabbasi Veryst Engineering

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 1 nov. 2011, 16:02 UTC−4
It hurts...

Thank you very much, you made my day Mr Elabbasi.
It hurts... Thank you very much, you made my day Mr Elabbasi.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12 nov. 2013, 23:41 UTC−5
Hi,

I have the same problem. Did you find any solution for that?

Thanks.

Marco
Hi, I have the same problem. Did you find any solution for that? Thanks. Marco

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.