← Back to team overview

yade-users team mailing list archive

Re: [Question #656538]: Measuring Force, Trapdoor displacement and Surface displacement

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,
the trapdoor motion is done by moveBottom function, which is called in checker() function, which is not used in your script. Just uncomment the line
 PyRunner(iterPeriod=1,command='checker()'),
and it works.
How much and how often is defined by 'nStepsBetweenCycles' and 'dspl' at the beginning of the script (it jumps by dspl every nStepsBetweenCycles time steps, i.e. each nStepsBetweenCycles*O.dt seconds. You can adjust those values to meet your requirements.
cheers
Jan

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