← Back to team overview

yade-users team mailing list archive

[Question #661754]: Force on a clump member

 

New question #661754 on Yade:
https://answers.launchpad.net/yade/+question/661754

Hi,

I am interested in understanding when a force is applied ONLY to a member of the clump, how it is transferred to the clump.

Bottom line is clump is/move always together, right?

Here is the code:

########################
O.materials.append(FrictMat(density=2e3,young=30e9,poisson=.3,frictionAngle=.5236)) # Material Used

##################### Defining Clump
O.bodies.appendClumped([sphere([5,5,5],1),sphere([7,5,5],1) ])
O.bodies.updateClumpProperties(discretization=100)
###############################

O.engines=[
	ForceResetter(),
	InsertionSortCollider([Bo1_Sphere_Aabb()]),
	InteractionLoop(
		[Ig2_Sphere_Sphere_ScGeom()],
		[Ip2_FrictMat_FrictMat_FrictPhys()],
		[Law2_ScGeom_FrictPhys_CundallStrack(sphericalBodies=False)]
	),
	PyRunner(command = 'applied_force()', iterPeriod = 1, label = "checker"),
	NewtonIntegrator(gravity=(0,0,0),damping = 0)
]

###############################
def applied_force():
	O.forces.setPermF(0, Vector3(0,1.0,0))

O.dt = 5e-1*PWaveTimeStep()
O.stopAtIter= int(1e8)
O.run()
########################

The code works fine, shows the expected rotation and clump member stay together. 

O.forces.f(1) is Vector3(0,0,0) and O.bodies[1].state.vel is non-zero and changing.

So how/step the applied force to a member via setPermF is transferred to the clumped body to make it move as a single entity?

Can you please direct me to the right scripts?

Thanks.
Nishant


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