yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15687
Re: [Question #657677]: How to export and import a irregular shape particles model.
Question #657677 on Yade changed:
https://answers.launchpad.net/yade/+question/657677
Bruno Chareyre proposed the following answer:
Hi,
Exporting/importing is the source of much troubles.
I would suggest to NOT split the problem in two different scripts for a start. A single script can do this:
Part A: let them fall
Part B: turn them into beam and set relevant boundary conditions (possibly remove the boundaries as well)
Later on, if you want to avoid spending time for part A again and again
you can change the script slightly along this line:
if not os.path.isfile("fallen.yade"): #check if part A has be done previously
Part A
O.save("fallen.yade")
else:
O.load("fallen.yade")
Part B
Cheers
Bruno
--
You received this question notification because your team yade-users is
an answer contact for Yade.