Code availability of Yuan2016, Sweijen2016

Asked by Sebastian Falcioni

Hello,

I noticed the 2 following papers:
- Yuan2016: Pore-scale simulations of drainage in granular materials: Finite size effects and the representative elementary volume by C. Yuan et al., in Advances in Water Resources (2016)
- Sweijen2016: The Effects of Swelling and Porosity Change on Capillarity: DEM Coupled with a Pore-Unit Assembly Method by Sweijen T. et al., in Transport in Porous Media (2016)

and would like to replicate the kind of SWCC simulations presented therein (I would already be happy with one of the two methods).

Is the following code yet available ? If not, is there some timeline for release ? Do you have the link for the code?

Thanks,

Sebastian

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
Karol Brzezinski (kbrzezinski) said (last edit ):
#1

Hi Sebastian,

Have you looked in the examples? I checked the examples in the main repository, and
this one seem to be the closest to your problem [1].

Cheers,
Karol

[1] https://gitlab.com/yade-dev/trunk/-/blob/master/examples/FluidCouplingPFV/drainage-2PFV-Yuan_and_Chareyre_2017.py

Revision history for this message
Sebastian Falcioni (sfalcioni) said :
#2

Hi Karol.

Thanks for the quick answer. I'm trying to model hydrogel swelling with DEM. It's seems to be comparable but if you know another example closest to mine I'll thank you. Anyway... do you have the video of the example code?

Thanks a lot.
Sebastian.

Revision history for this message
Karol Brzezinski (kbrzezinski) said :
#3

Hello Sebastian,

I don't have a video and I don't think that there is one. But you could try to run the example and see what it looks like.

Cheers,
Karol

Revision history for this message
Sebastian Falcioni (sfalcioni) said :
#4

Hi Karol.

In particular I'm trying to model the swelling of a single particle of hydrogel in a fluid (water). So I have one single particle with a changing volume. Is there a Yade-DEM code for that?

Cheers.
Sebastian.

Revision history for this message
Karol Brzezinski (kbrzezinski) said :
#5

Hi Sebastian,

For a single particle, you can change its radius. You can write a Python function and run it in PyRunner (an additional engine for executing Python code periodically). A similar problem is discussed in those topics:

https://answers.launchpad.net/yade/+question/679196
https://answers.launchpad.net/yade/+question/697479

Cheers,
Karol

Revision history for this message
Sebastian Falcioni (sfalcioni) said :
#6

Thanks Karol! I can make a growing sphere. Do you know how to couple the fluid to one single particle? Because the PFV method is for a pack of spheres...

Cheers.
Sebastian.

Revision history for this message
Karol Brzezinski (kbrzezinski) said :
#7

What kind of coupling do you mean? Do you have a particular theory/equation that you want to apply?

Best wishes,
Karol

Revision history for this message
Sebastian Falcioni (sfalcioni) said :
#8

It's like one hydrogel swelling water... I don't know if it's possible to make a sphere swell a fluid or it's just using the swelling model only.

Cheers.
Sebastian.

Revision history for this message
Karol Brzezinski (kbrzezinski) said :
#9

If there is only a single sphere involved, I don't see the point in coupling anything. So, yes - it is just using the swelling model only.

Of course, I can imagine a single particle that is modeled by multiple bonded spheres. And in such a case it could be interesting to use a coupled simulation to 'observe' water infiltrating the particle, while the sub-particles start swelling after contacting water. (it is just conceptual, don't ask me how to do this).

First, you need to state your problem clearly.

Regarding your original question, I have found out that this was discussed six years ago and the answer was negative. I suspect that the authors of the article didn't have enough spare time to polish the code and upload it to the repository. Consider asking directly the corresponding author of the paper.

Cheers,
Karol

[2] https://answers.launchpad.net/yade/+question/403166

Can you help with this problem?

Provide an answer of your own, or ask Sebastian Falcioni for more information if necessary.

To post a message you must log in.