jean-françois jerier a écrit :
If you need an incremental formulation for your contact law (to know if there is load or unload), I advice you to look at the contact law (NormalInelasticityLaw.cpp) written by Jerome Duriez.Thanks for the advertissement Jf ! This law is indeed maybe similar as the one you need. The attached figure plots the evolution of the normal force with respect to the interpenetration, for a contact between two spheres. It is indeed controled by the save, in the physics of the interaction, of the maximum value of the interpenetration : unMax. I'm just trying to write a script which could illustrate this law and I think I'll use for that your mindlin_test.py... ;-)More precisely this test: if(un > currentContactPhysics->unMax) .....The different data (as unMax) are saved into this file (NormalInelasticityPhys).I hope that I have helped you.
So, feel completely free to ask ! -- Jérôme Duriez ATER Iut 1 Grenoble, département GMP - Laboratoire 3S-R 04.56.52.86.49 (ne pas laisser de messages sur le répondeur)
<<inline: FnCL1.eps>>
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp