← Back to team overview

yade-users team mailing list archive

Re: [Question #695587]: applying force on facet

 

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

Jan Stránský proposed the following answer:
@ytang:

> the following code doesn't show any errors.

it does show this error:
IOError: [Errno 2] No such file or directory: 'cluster-adddd.txt'

> why the facets wall doesn't move?

The order of engines does matter.
In your case, the forces are reset before being applied (you set them by addForcestop, but then they are reset by ForceResetter).
Put addForcestop PyRunner **before** NewtonIntegrator (as it is in [2])

@Klaus
> facets in Yade are massless and non-dynamic. You cannot apply forces
this is the default state. By setting mass (and inertia) and unblocking desired DOFs, you can easily have dynamic "plain" facets.

But yes, pfacets may be a better choice for various reasons

cheers
Jan

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