yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02849
Re: python contact laws
On 20 April 2010 15:00, Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx> wrote:
> I'm not Vaclav, but it doesn't sound like a pure "python©" question.
> Modifying the xml or using python raises the same questions : will the new
> law accept the old IPhys and IGeom? If yes, you just have to change the
> functor in interaction dispatcher (manualy in the file, or with python).
> If not, mmmh... it will be more difficult...
>
> Hi Bruno,
in fact I was thinking about that but I do not know actually.. Say that the
second contact law uses different IPhys and IGeom than the previous one, in
this case it seems perhaps not possible.. (whatever, in python or modifying
html). Ok, if it is not possible I see to find a different solution.
BTW, so in our simulation is it possible to have more than one contact law?
Can we dispatch between them?
> Bruno
>
>
> Hi Vaclav,
>
>>
>> I have this problem I would like to solve it in python. I want to run a
>> simulation (say 10 iterations) and then I want to reload the same one but
>> using a different contact law.
>> How can I do that? Should I modify the html file or can I do directly
>> using python?
>>
>> Thanks a lot, Chiara
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> _______________
> Bruno Chareyre
> Associate Professor
> Grenoble INP
> Lab. 3SR
> BP 53 - 38041, Grenoble cedex 9 - France
> Tél : 33 4 56 52 86 21
> Fax : 33 4 76 82 70 43
> ________________
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References