← Back to team overview

yade-users team mailing list archive

Re: [Question #688250]: code for sand drop simulation

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

apart from the warnings, you also have one error:
FATAL /build/yade-fDuCoe/yade-2018.02b/pkg/common/InteractionLoop.cpp:143 action: None of given Law2 functors can handle interaction #70+76, types geom:ScGeom=1 and phys:PolyhedraPhys=16 (LawDispatcher::getFunctor2D returned empty functor)

you have created ScGeom from Polyhedra-Polyhedra contact, PolyhedraPhys from PolyhedraMat-PolyhedraMat contact, but you have no law combining ScGeom and PolyhedraPhys...
Use Ig2_Polyhedra_Polyhedra_PolyhedraGeom() instead of Ig2_Polyhedra_Polyhedra_ScGeom()

Apart from that, set a suitable initial time step as
GlobalStiffnessTimeStepper(defaultDt=0.001), # 0.01 is an example
With no hint, GlobalStiffnessTimeStepper has no idea what to choose and set dt to 1, which leads that after the very first time step, the polyhedrons are far below the main scene..

cheers
Jan

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