Trace a force under the capillary stress
Hello all,
I am trying to trace a capillary force between two particles under the capillary stress.
However, I have got a zero force between two particles even though the particles are pulling each other.
So, I am wondering whether the force I am using in the script does not include the capillary force.
If not, is there other function I can use to trace a capillary force?
In addition, I would like to compare the capillary force from my hand calculation in order to ensure that the module is working.
Thank you for your time.
from yade import plot,qt
r = 0.0003 #particle radius
h = 0.0001 #praticle distance
#create two sphere paticles#
O.bodies.append([
utils.
utils.
])
#define engines#
O.engines=[
ForceResetter(),
InsertionSor
InteractionLoop(
[
[
[
),
Law2_
NewtonIntegr
PyRunner(
]
Cap.createDista
O.run(1,True)
Cap.createDista
#def addPlotData():
#d0 = O.bodies[
#d1 = O.bodies[
#plot.
def addPlotData():
f0 = O.forces.f(0)
f1 = O.forces.f(1)
plot.addData(
#plot.plots=
plot.plots=
plot.plot()
plot.live=True
plot.autozoom=True
O.dt=0.
qt.View()
O.saveTmp()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bruno Chareyre
- Solved:
- Last query:
- Last reply: