Re: [Yade-users] [Question #694102]: Save the simulation result without OpenGL GLX

2020-12-21 Thread Jan Stránský
Question #694102 on Yade changed:
https://answers.launchpad.net/yade/+question/694102

Jan Stránský posted a new comment:
Last line in python script can easily be just the beginning of simulation.
It depends how you use O.run, O.step, GUI play button...
As discussed, please open a new question for a new question.
cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #694102]: Save the simulation result without OpenGL GLX

2020-12-21 Thread Milly Ro
Question #694102 on Yade changed:
https://answers.launchpad.net/yade/+question/694102

Milly Ro posted a new comment:
Hi Jan,

thank you for your answer, I will do it next time.

The export command is at the last line, but it seems like gravity ist
not applied after saving the text file.

Let me know if I need to create a new thread.

Best wishes,
Milly

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #694102]: Save the simulation result without OpenGL GLX

2020-12-21 Thread Jan Stránský
Question #694102 on Yade changed:
https://answers.launchpad.net/yade/+question/694102

Jan Stránský posted a new comment:
> I have an additional question

next time or if you want to continue in this discussion, please open a
new question [1]

> I used this command: file = export.text('test.txt',mask=-1).

this export spheres at the time when python evaluates it. So probably
the line is "misplaced" in the code you are using.

cheers
Jan

[1] https://www.yade-dem.org/wiki/Howtoask

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #694102]: Save the simulation result without OpenGL GLX

2020-12-21 Thread Milly Ro
Question #694102 on Yade changed:
https://answers.launchpad.net/yade/+question/694102

Milly Ro posted a new comment:
Hello,

I have an additional question about saving of simulation results. So I
generate spheres in a cube and then apply the gravity. How can I save
the positions of my spheres after applying the gravity. In the graphic
window I saw that the gravity was applied, but my saved text file gives
me only the positions of spheres before gravity applying.  I used
Oedometric test section of https://yade-dem.org/doc/tutorial-
examples.html. Can you please tell me how to save the position of
spheres after gravity in the given example code.

I used this command: file = export.text('test.txt',mask=-1).

Best wishes 
Milly

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp