Jump to content

Recommended Posts

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?



Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

The integrator performs the following steps to converge to a solution:

  1. Based on previous converged steps, it tries to predict the next converged solution by regression analysis of a certain order polynomial.
  2. If the "predicted" solution is not within the specified error tolerance it uses the Newton-Rahpson method to find a numerical solution within the integration tolerance.
  3. If the Newton Rahpson method cannot find a converged solution within a specified number of iterations, then the solver will try to predict the solution using a smaller time step and/or a different order for the polynomial.

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.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...