← Back to team overview

yade-users team mailing list archive

Re: [Question #686840]: sintered particles - interaction law

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
This then seems to be a constant force, that is untouched by relative
displacements. Not really in the spirit of a contact law that gives
variable contact forces depending on relative displacements.

As said by Bruno, why not just applying this force directly to all
particles in sintered pairs ?

>From Python (would be faster from C++):
O.forces.addF(i.id1,yourFsPayingAttentionToSignAndAttractiveNature) 
O.forces.addF(i.id2,-yourFsPayingAttentionToSignAndAttractiveNature)

i in the above would be an interaction corresponding to a pair of sintered particles. Further reflexion may be needed to know how obtaining i: 
- use the interactions resulting from InteractionLoop() in O.engines if these sintered pairs correspond to interactions handled by the otherwise present contact laws
- something else ?

Relevant links may be https://yade-dem.org/doc/user.html#creating-
interactions and https://yade-
dem.org/doc/yade.wrapper.html?highlight=nevererase#yade.wrapper.Law2_ScGeom6D_CohFrictPhys_CohesionMoment.neverErase

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