attach force to a certain point of the box
Hello there.
I attach a force at the box (by using ForceEngine) and as I know this force affects at mass center of the box or something like this.
I would like attach force to a certain box point (e.g. to the center of upper facet).
I will appreciate if you tell me how to do it. Thanks!
#######
box_size = Vector3(3, 3, 5)
box_center = Vector3(
pile_size = Vector3(1, 3, 3)
pile_center = box_center
O.periodic = True
O.cell.hSize = (box_size[
sp = pack.SpherePack()
sp.makeCloud(
)
sp.toSimulation
pile_id = O.bodies.
pile_center,
pile_size/2
))
O.bodies[
O.engines = [
ForceResett
InsertionSo
Interaction
),
ForceEngine
NewtonInteg
GlobalStiff
]
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: