yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03449
Re: Questions Interaction
2010/2/19 luc scholtes <lscholtes63@xxxxxxxxx>
>
> BTW, the idea was to set this larger interaction distance only for the
> first iterations in order to have a maximum number of cohesive links at the
> initiation of my simulations (within the cohesive range of my interaction
> law).
>
I have already found the answer for this part (...) It was in uniax.py ;)
For those who are interested, here is the procedure (correct me if I am
wrong):
1 - labellize the bound dispatcher and interaction geometry dispatcher
BoundDispatcher([Bo1_Sphere_Aabb(),label='is2aabb'),
InteractionDispatchers( [Ig2_Sphere_Sphere_ScGeom(),label='ss2d3dg'])
2 - set the "size" of the interaction detector
is2aabb['aabbEnlargeFactor']=2.
ss2d3dg['distFactor']=2.
3 - run for the number of desired iter (1 should be sufficient)
O.run(1)
or
O.step()
4 - readjust the "size" of the interaction detector (-1 gives it the default
value)
is2aabb['aabbEnlargeFactor']=-1.
ss2d3dg['distFactor']=-1.
5 - run your simulation
O.run(XXX)
Follow ups
References