← Back to team overview

yade-users team mailing list archive

Re: [Question #692613]: Order of defining object and engine is causing problems

 

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

    Status: Needs information => Open

Rohit John gave more information on the question:
Dear Robert,

Thanks for your reply.

I am using two materials: one for the internal nodes and one for the
external surface. I tried your recommendation but it did not help. The
cylinder is still falling apart.

I think we need all the Laws. I followed the code given here
(https://gitlab.com/yade-dev/trunk/blob/master/examples/cylinders
/cylinderconnection-roots.py). It says the following

 		Law2_ScGeom_FrictPhys_CundallStrack(),	# contact law for sphere-sphere
		Law2_ScGridCoGeom_FrictPhys_CundallStrack(),	# contact law for cylinder-sphere
		Law2_ScGeom6D_CohFrictPhys_CohesionMoment(),	# contact law for "internal" cylinder forces
		Law2_GridCoGridCoGeom_FrictPhys_CundallStrack()	# contact law for cylinder-cylinder interaction

I tried removing Law2_ScGeom_FrictPhys_CundallStrack() and I got the
following error

None of given Law2 functors can handle interaction #0+1, types geom:ScGeom=1 and phys:FrictPhys=3 (LawDispatcher::getFunctor2D returned empty functor)
QObject::~QObject: Timers cannot be stopped from another thread
Segmentation fault (core dumped)

I tried removing Law2_ScGridCoGeom_FrictPhys_CundallStrack() that did
not do anything. Still the only fix is to define the cylinder after the
engines. I don't understand why it works though.

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