A program to recognize and reward our most engaged community members
Hi everyone,
is it possible to set a fix step size in MotionSolve? I've tried to set h_max = 1e-3 and h_min = 1e-3 but the solver reduces the step size below h_min. Any idea?
thanks.
It depends on solver convergence if model can converge at 1e-3 then specifying hmax=1e-3 is sufficient to make solver to take this fixed step.
Solver always attempt smaller step sizes irrespective of hmin & hmax to find convergence during trasient simulation.
Ah, thanks for this information.
Is there a way to stop convergence iteration to fix a step size?
The integrator performs the following steps to converge to a solution:
The above process is repeated until the time step size is continuously below the minimum time step size.
Hence, the only way to set a constant step size is to reduce maximum step size until all the time steps become constant and this is dependent on the problem at hand.
Also note, the maximum solver time step is different than the output time step. 'Print Interval' controls the output time step and 'h_max' controls the maximum solver time step.