← Back to team overview

yade-dev team mailing list archive

Re: MakeItFlat

 

Cosurgi,

the same effect as with MakeItFlat (ugly name, really` how about
FlattenBodies or something similar?) can be obtained using
PhysicalParameters::blockedDOFs. For example, if you block z on all
bodies, there will be no movement along z. To make "2d" simulation, you
can block z, rx, ry. And so on. (see LeapFrog*Integrator or
NewtonsDampedLaw for the code)

Václav



References