yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #04795
[Question #166257]: question on CapillaryPhys
New question #166257 on Yade:
https://answers.launchpad.net/yade/+question/166257
Hi,
I want to model a wet granular material (sand). I tried to create a model with following engines:
O.engines=[
ForceResetter(),
InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom6D(),Ig2_Facet_Sphere_ScGeom()],
[Ip2_FrictMat_FrictMat_CapillaryPhys(label='ContactModel')],
[Law2_ScGeom_CapillaryPhys_Capillarity()],
),
GravityEngine(gravity=(0,0,-9.81)),
NewtonIntegrator(damping=0.01),
]
There an error message occured in yade:
me@debian ~/YADE/my-yade-projects/01-converted-PFC-model > yade converted-model.py
Welcome to Yade bzr2877
TCP python prompt on localhost:9001, auth cookie `duasec'
XMLRPC info provider on http://localhost:21001
Running script converted-model.py
Traceback (most recent call last):
File "/home/me/YADE/bin/yade-bzr2877", line 183, in runScript
execfile(script,globals())
File "converted-model.py", line 33, in <module>
[Law2_ScGeom_CapillaryPhys_Capillarity()],
TypeError: No registered converter was able to produce a C++ rvalue of type boost::shared_ptr<LawFunctor> from this Python object of type Law2_ScGeom_CapillaryPhys_Capillarity
What did I do wrong?
Unfortunatly I could not find an example, that shows how to use CapillaryPhys.
Regards,
Christian.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.