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

Jan Stránský proposed the following answer:
> So how is the magnitude of the force determined?

it is up to you and your problem.
For your case, it could be something like
force = bodyLoad / fictitiousParticleVolume
or
force = surfaceLoad / fictitiousParticleArea

> Is it done by (1,0,0) force vector? I'm a little unsure how to set the
size of a force through a force vector.

You can compose force vector from magnitude and direction, like:
magnitude = 123 # scalar
direction = Vector3(1,2,3).normalized() # unit (normalized) vector, with its 
norm equal to 1
forceVector = magnitude * direction
O.forces.setPermF(bodyID,forceVector)

Cheers
Jan

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to