← Back to team overview

yade-users team mailing list archive

Re: [Question #294232]: change in volume of meniscus as a function of capillary pressure

 

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

    Status: Open => Answered

Christian Jakob proposed the following answer:
Hi,

O.engines =
O.engines[:3]+[Law2_ScGeom_CapillaryPhys_Capillarity(capillaryPressure=cur_capillary,label='capillary')]+O.engines[3:]

Maybe this line is the problem in your script (not tested, not sure what
it does). If the engine label is 'capillary' you can try this line
instead:

capillary.capillaryPressure = cur_capillary

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