← Back to team overview

yade-users team mailing list archive

Re: [Question #702554]: Can I use Capillary and Lubrication Laws at the same time?

 

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

    Status: Open => Answered

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

Assuming your code snippet
[Law2_ScGeom_CapillaryPhys_Capillarity(capillaryPressure = 10),
Law2_ScGeom_ImplicitLubricationPhys()] refers to the last part of
InteractionLoop(..) in O.engines in your script, I would recall that
Law2_ScGeom_CapillaryPhys_Capillarity(), in spite of its misleading
name, is not a LawFunctor but a GlobalEngine that has to be on its own
in O.engines (between InteractionLoop and NewtonIntegrator typically)

See example e.g. at https://gitlab.com/yade-
dev/trunk/-/blob/master/examples/capillaryLaplaceYoung/capillaryBridge.py

(Sorry for not answering about a possible combination with
Law2_ScGeom_ImplicitLubricationPhys, I can just recall
Law2_ScGeom_CapillaryPhys_Capillarity requires interaction physics of
CapillaryPhys or MindlinCapillaryPhys types)

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