← Back to team overview

yade-users team mailing list archive

Re: [Question #166257]: question on CapillaryPhys

 

Question #166257 on Yade changed:
https://answers.launchpad.net/yade/+question/166257

    Status: Open => Answered

Chareyre proposed the following answer:
Law2_ScGeom_CapillaryPhys_Capillarity is not (yet) acting on a
per-interaction basis. It has a loop inside, so you need to declare it
outside the interaction loop.
Also note that it is NOT a contact law. You need to also add a contact
law if you want to see particles interacting like solid bodies. Any
combination with a ScGeom-based contact law should work:
Capillarity+CundallStrack, Capillarity+Hertz, Capillarity+Cohesive, etc.

In the engines definition, it should read like this:
...
InteractionLoop(
                       
[Ig2_Sphere_Sphere_ScGeom6D(),Ig2_Facet_Sphere_ScGeom()],
                       
[Ip2_FrictMat_FrictMat_CapillaryPhys(label='ContactModel')],
                        [Law2_ScGeom_FrictPhys_CundallStrack()]
),
Law2_ScGeom_CapillaryPhys_Capillarity(),
...

We don't have any example script at the moment, the only example is
using the older method with preprocessors. If you manage to write a
simple script, it would be nice to include it in Yade's examples.

Bruno

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.