← Back to team overview

yade-users team mailing list archive

Re: [Question #233232]: F

 

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

    Status: Open => Answered

Klaus Thoeni proposed the following answer:
Hi,

in python you can just use:

O.forces.addF(bodyID,(Fx,Fy,Fz))

For more details see [1].

HTH
Klaus

[1] https://yade-
dem.org/doc/yade.wrapper.html?highlight=addf#yade.wrapper.ForceContainer.addF

On Wednesday 21 August 2013 01:56:07 pingyang.1019@xxxxxxx wrote:
> Question #233232 on Yade changed:
> https://answers.launchpad.net/yade/+question/233232
> 
>     Status: Expired => Open
> 
> pingyang.1019@xxxxxxx is still having a problem:
> Thank you teacher!
>      Can you tell me how to apply force for particles? What command stream
> or programming do we need?
> At 2013-07-31 08:43:39,"平洋" <pingyang.1019@xxxxxxx> wrote:
> >Thank you very much !
> >
> >    In reality, the concrete in the mineral particles initially not in
> >    contact;  mineral particles contact after the cement occur  the
> >    destruction.  I want to simulate it.>
> >At 2013-07-30 13:41:32,"Jan Stránský" 
<question233232@xxxxxxxxxxxxxxxxxxxxx> wrote:
> >>Question #233232 on Yade changed:
> >>https://answers.launchpad.net/yade/+question/233232
> >>
> >>    Status: Open => Answered
> >>
> >>Jan Stránský proposed the following answer:
> >>Hello,
> >>
> >>the very basic idea of DEM is that forces between particles are computed
> >>according to their overlap, i.e. when they are touching. So an idea for
> >>your case:
> >>- particles, that do not touch initially is not a problem
> >>- use aabbEnlargeFactor>1 of Bo1 functor and interactionDetectionFactor>1
> >>of Ig2 functor (the same value for both cases, see [1]) to detect and
> >>create interactions even if particles are not in contact. Then the force
> >>is
> >>applied on particles even if they do not touch and when they touch, the
> >>force has certain value depending on you enlargeFactors value, particle
> >>size, stiffness and contact law used.
> >>
> >>I am not sure if this is what you are looking for, in this kind of
> >>questions it is always good to explain also why you want to do such things
> >>(some example what you want to simulate for example).
> >>cheers
> >>Jan
> >>
> >>[1] https://yade-dem.org/doc/user.html#creating-interactions
> >>
> >>
> >>
> >>2013/7/30 pingyang.1019@xxxxxxx <question233232@xxxxxxxxxxxxxxxxxxxxx>
> >>
> >>> New question #233232 on Yade:
> >>> https://answers.launchpad.net/yade/+question/233232
> >>> 
> >>> Hello !
> >>> 
> >>>     I  want to simulation Initially particles do not touch and then
> >>>  
> >>>  particles touch when the force between the particles reaches a certain
> >>> 
> >>> value. I do not know how to do it .
> >>> 
> >>> --
> >>> You received this question notification because you are a member of
> >>> yade-users, which is an answer contact for Yade.
> >>> 
> >>> _______________________________________________
> >>> Mailing list: https://launchpad.net/~yade-users
> >>> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> >>> Unsubscribe : https://launchpad.net/~yade-users
> >>> More help   : https://help.launchpad.net/ListHelp
> >>
> >>--
> >>You received this question notification because you are a member of
> >>yade-users, which is an answer contact for Yade.
> >>
> >>_______________________________________________
> >>Mailing list: https://launchpad.net/~yade-users
> >>Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> >>Unsubscribe : https://launchpad.net/~yade-users
> >>More help   : https://help.launchpad.net/ListHelp
> >
> >_______________________________________________
> >Mailing list: https://launchpad.net/~yade-users
> >Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> >Unsubscribe : https://launchpad.net/~yade-users
> >More help   : https://help.launchpad.net/ListHelp
> 
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.


References