← Back to team overview

yade-users team mailing list archive

Re: [Question #684881]: Introducing viscous forces in a liquid bridge

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

1.
If you have a closed form expression, then it is quite easy to add the force to each body from Python (then from C++ if the extra cost of this operation -- always greater in Python than in C++ -- is a problem).

E.g. 
O.forces.addF(i.id1,- yourForceVectorHere) # i is an interaction 
O.forces.addF(i.id2,yourForceVectorHere)

2.
Interaction forces proportional to relative velocity already exist in YADE, and even with extra fluid-induced forces: see [*] and related classes. See examples at [**]

3.
Probably many other ideas: YADE being open source, you can implement everything you want ! (typically with new Engine classes)

Maybe you can try to give more details if you want more answers.

[*] https://yade-dem.org/doc/yade.wrapper.html?highlight=viscel#yade.wrapper.ViscElCapMat
[**] https://gitlab.com/yade-dev/trunk/tree/master/examples/capillary

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.