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

From: [email protected] <[email protected]> On Behalf 
Of Kirill
Sent: Friday, 21 October 2022 18:50
To: ProjectChrono <[email protected]>
Subject: [chrono] Adaptive Step in NSC contact model

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
--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/d52365ae-00d2-4f68-bc67-246a47e78d54n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/d52365ae-00d2-4f68-bc67-246a47e78d54n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/PH0PR06MB8237C0E438E7984DF18D19D8A72E9%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to