yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #13097
Re: [Question #298001]: Input Kn and Ks directly
Question #298001 on Yade changed:
https://answers.launchpad.net/yade/+question/298001
Bernardo Albuquerque posted a new comment:
Klaus, I am trying to use MatchMaker but I keep getting an error that
says
TypeError: No registered converter was able to produce a C++ rvalue of
type Eigen::Matrix<double, 3, 1, 0, 3, 1> from this Python object of
type tuple
Here is my code
spheresMaterial=FrictViscoMat(density=particleDensity, frictionAngle=particleFricAng, young=particleYoung, poisson=particlePoisson, betan=0.)
boundaryMaterial=FrictViscoMat(density=particleDensity, frictionAngle=0., young=10*particleYoung, poisson=0.5, betan=0.)
Ip2_FrictViscoMat_FrictViscoMat_FrictViscoPhys(
kn=MatchMaker(matches=((spheresMaterial,spheresMaterial,10.e7),(spheresMaterial,boundaryMaterial,10.e7))),
kRatio=MatchMaker(matches=((spheresMaterial,spheresMaterial,.25),(spheresMaterial,boundaryMaterial,.25)))
),
What could it be?
Bruno, I guess just a few lines is ok. I am going to take a look at the
published papers. Thanks.
--
You received this question notification because your team yade-users is
an answer contact for Yade.