How do you start it? try something like ./yade-trunk test_mindlin.py then you should press "start" button on controller for several seconds, then "pause" and F8. ______________________________
Anton Gladkyy 2010/2/22 chiara modenese <[email protected]> > I checked, it doesnt work.. I still get the following error.. > > /home/chia/YADE-r2039-law/lib/yade-bzr2039/py/yade/__init__.pyc in > <module>() > ----> 1 > 2 > 3 > 4 > > 5 > > NameError: name 'myAddPlotData' is not defined > > I dont know where to look for that.. I mean, how to fix it. > > > > > On 22 February 2010 15:46, Anton Gladky <[email protected]> wrote: > >> Check the script in attachment. Constitutive law is changed. >> >> ______________________________ >> >> Anton Gladkyy >> >> >> 2010/2/22 chiara modenese <[email protected]> >> >>> Yes that is not working as well. I dont know if it is >>> PeriodicPythonRunner or something else.. But I repeat that I have tried to >>> define another function to write in a file some data (nothing to do with >>> plot and so on) and I still got the error. The problem is in the >>> PeriodicPythonRunner (and it seems just for me since for you is working..). >>> >>> >>> >>> >>> On 22 February 2010 15:13, Anton Gladky <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> >>>> plot.addData(fn=inter.phys.normalForce,step=O.iter) >>>> >>>> Is it not working for you as well? If it works, so the problem is not in >>>> PeriodicPhythonRunner. >>>> ______________________________ >>>> >>>> Anton Gladkyy >>>> >>>> >>>> 2010/2/22 chiara modenese <[email protected]> >>>> >>>> Hi Vaclav, >>>>> >>>>> for me this PeriodicPhythonRunner is not working.. (I cannot really see >>>>> why..) I am using the release 2039.. Is the script working well also for >>>>> you? >>>>> Is this the only way to store data with python at each time step? What >>>>> about c++? Should I use a kind of simple scene preprocessor file and in >>>>> addiction a sort of TStateRecorder? >>>>> >>>>> Thanks a lot (I think it is quite crucial to know how to store data - >>>>> whatever - throughout a simulation..) >>>>> Chiara >>>>> >>>>> >>>>> >>>>> >>>>> On 22 February 2010 14:54, chiara modenese <[email protected]>wrote: >>>>> >>>>>> >>>>>> >>>>>> 2010/2/22 Václav Šmilauer <[email protected]> >>>>>> >>>>>> >>>>>>> > 1) How do I apply a force (not the gravity) to the bodies? Which >>>>>>> > engine should I call? >>>>>>> ForceEngine: >>>>>>> >>>>>>> >>>>>>> https://www.yade-dem.org/sphinx/yade.wrapper.html#yade.wrapper.ForceEngine >>>>>>> >>>>>> >>>>>> Thanks >>>>>> >>>>>>> >>>>>>> > 2) I get this error using the PeriodicPythonRunner engine to create >>>>>>> > some plots: >>>>>>> > >>>>>>> > NameError: name 'myAddPlotData' is not defined >>>>>>> That is weird... you have O.run(...) before def myAddPlotData():, >>>>>>> right? >>>>>>> >>>>>>> >>>>>> No, actually I do not have O.run() in the script at all. I do type >>>>>> that in the console.. >>>>>> I have tried to define a different function to write data in a file >>>>>> instead of plotting them but I have still got the same error (NameError >>>>>> ...) >>>>>> >>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Mailing list: >>>>>>> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> >>>>>>> Post to : [email protected] >>>>>>> Unsubscribe : >>>>>>> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> >>>>>>> More help : https://help.launchpad.net/ListHelp >>>>>>> >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Mailing list: >>>>> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> >>>>> Post to : [email protected] >>>>> Unsubscribe : >>>>> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> >>>>> More help : https://help.launchpad.net/ListHelp >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Mailing list: >>>> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> >>>> Post to : [email protected] >>>> Unsubscribe : >>>> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> >>>> More help : https://help.launchpad.net/ListHelp >>>> >>>> >>> >> >> _______________________________________________ >> Mailing list: >> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> >> Post to : [email protected] >> Unsubscribe : >> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> >> More help : https://help.launchpad.net/ListHelp >> >> >
_______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

