How to import the parking file and change contact paramters before the specimen is compressed

Asked by Wang Benxin

Hellow everyone,

I am in the stage of calibrating the macr-mesos mechanical parameters. Because the specimen packing takes long time, I want to do the calitration by importing the packing file and modify the contact parameters before the specimen is compressed. The questions are as follows:

1) What's the script data structure?
2) Is there any example which can be used to refer to?

Many thanks for your any respond.

Benxin

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Robert Caulk (rcaulk) said :
#1

Hello,

> 1) What's the script data structure?

Which data structure are you referring to? The packing file? You can export a txt file as shown here [1]

2) Is there any example which can be used to refer to?

Example using import and export of a packing text file [2].

[1]https://yade-dem.org/doc/yade.export.html#yade.export.text
[2]https://gitlab.com/yade-dev/trunk/-/blob/master/examples/agglomerate/divide.py

Can you help with this problem?

Provide an answer of your own, or ask Wang Benxin for more information if necessary.

To post a message you must log in.