Adaptive Step in NSC contact model

61 views
Skip to first unread message

Kirill

unread,
Oct 21, 2022, 12:49:42 PM10/21/22
to ProjectChrono
Hello!

I've recently started to learn PyChrono and I have a question. I used demo_IRR_collisionNSC example to understand how to set a contact model. In part, I want to set an adaptive time step for this example. How I can do it? I tried to use "BARZILAIBORWEIN" solver type, "EULER_IMPLICIT_LINEARIZED" Timestepper type and certain StepMax and StepMin values, but It doesn't work. Time step doesn't change anyway. Could you check my script please?

Thanks, 
Kirill
test_adaptivestep_NSC.py

Radu Serban

unread,
Oct 24, 2022, 10:29:10 AM10/24/22
to ProjectChrono

Hi Kirill,

 

For several reasons (which I will not elaborate on here), we currently only support fixed-step integration in Chrono.  

The only integrator that has some time adaptivity is HHT (which can internally vary the step size below the value passed by the caller to DoStepDynamics.  Note that this is not always as robust as we’d like; I plan on working on that integrator anyway soon and will revisit that part as well.

In the future, we may add a fully adaptive integrator to Chrono (for use in problems where that makes sense and most likely not for an NSC system).

 

The variables and associated functions for setting min and max step sizes are not used and I will remove them right away.

 

--Radu

--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/d52365ae-00d2-4f68-bc67-246a47e78d54n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages