yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #17844
Re: [Question #671132]: tow engines in a program
Question #671132 on Yade changed:
https://answers.launchpad.net/yade/+question/671132
Status: Answered => Open
Alireza Sadeghi is still having a problem:
Hello Jan,
Thank you for your response. I can't run it. it gives me the error:
TypeError: No registered converter was able to produce a C++ rvalue of
type int from this Python object of type Body
when I run the below engines:
#================== engine for movement of particles =========================
O.engines=[
ForceResetter(),
InsertionSortCollider([Bo1_Box_Aabb(),Bo1_Sphere_Aabb()]),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom()],
[Ip2_FrictMat_FrictMat_FrictPhys()],
[Law2_ScGeom_FrictPhys_CundallStrack()]
),
NewtonIntegrator(damping=0.4,gravity=[0,0,-9.8],label="newton"),
]
#================== engine for movement of piston ===========================
O.engines=[
ForceResetter(),
InsertionSortCollider([Bo1_Box_Aabb(),Bo1_Sphere_Aabb()]),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
[Ip2_JCFpmMat_JCFpmMat_JCFpmPhys()],
[Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM()]
),
NewtonIntegrator(damping=0,gravity=[0,0,-9.8],label="newton",),
TranslationEngine(translationAxis=[0,0,-5],velocity=0.5,ids=pst)
GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=10,timestepSafetyCoefficient=0.4, defaultDt=0.1*utils.PWaveTimeStep()),
]
O.dt=.5*PWaveTimeStep()
O.saveTmp()
Bests
Alireza
--
You received this question notification because your team yade-users is
an answer contact for Yade.