← Back to team overview

yade-users team mailing list archive

Re: [Question #652282]: Why do the particles go up when all the forces(including gravity) are applied in the downward direction?

 

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

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hello Hashir,

You apply gravity in the upward direction with:

NewtonIntegrator(damping=0,gravity=[0,0,9.81],label='newtonInt')

If you want gravity to act in the downward direction, you should use
-9.81.

Cheers,

Robert

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