swelling of particles

Asked by Rioual

Hello,

How can I introduce in my yade code the swelling (increase of volume) of my particles with time ??
(due to thermal effects)
I think it has been used with yade in the past (Charlas et al, 2013)..

Thank you for your help,

Best regards

Fr.

Question information

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

If you simply want to control the particle volume based on some logic in your python script, you have access to that with [1].

[1]https://yade-dev.gitlab.io/trunk/yade.wrapper.html#yade.wrapper.Sphere.radius

Revision history for this message
Rioual (francois-rioual-v) said :
#2

Hello Robert,

...Thank you for your answer.
But, How do i introduce a condition on the time step in yade ??
for modelling a swelling that evolves with time with a predefined law
as a function of time ??

Thank you

Fr.

Revision history for this message
Best Robert Caulk (rcaulk) said :
#3

Hello,

>>But, How do i introduce a condition on the time step in yade ??

This is done using what we call a PyRunner, as exemplified here [1], which is a function that lets the user execute some python code at a desired period. I guess the python code that you want to execute is your predefined law.

>>modelling a swelling that evolves with time with a predefined law
as a function of time ??

You can access the model time with O.time [2]

Cheers,

Robert

[1]https://yade-dev.gitlab.io/trunk/user.html#running-python-code
[2]https://yade-dev.gitlab.io/trunk/yade.wrapper.html#yade.wrapper.Omega.time

Revision history for this message
Rioual (francois-rioual-v) said :
#4

great explanations,
thanks Robert!