yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #07937
Re: [Question #232941]: Capillary pressure between two particles
Question #232941 on Yade changed:
https://answers.launchpad.net/yade/+question/232941
Jan Stránský proposed the following answer:
Hello Christian,
from this point of view, the Seungcheol's script is ok. This is standard
way how to do live plots (starting plotting before the simulation is run
and updating every while), see e.g.
yade/py/examples/simple-scene/simple-scene-plot.py (with commenting O.run()
command) or many other example scripts.
Jan
2013/7/24 Christian Jakob <question232941@xxxxxxxxxxxxxxxxxxxxx>
> Question #232941 on Yade changed:
> https://answers.launchpad.net/yade/+question/232941
>
> Christian Jakob posted a new comment:
> Sorry if my suggestions are wrong, I can not check out your script right
> now.
> But I think it is just a problem in order of commands.
> If you plot before calculation, you will never get data in your plot.
> So this part...
>
> plot.plots={'i':('b0displ')}
> plot.plot()
> plot.live=True
> plot.autozoom=True
> O.dt=0.5*PWaveTimeStep()
> qt.View()
>
> ...should be at the end of your script (after O.run command)
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.