← Back to team overview

yade-users team mailing list archive

Re: [Question #197576]: Contact time duration

 

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

    Status: Open => Answered

Chareyre proposed the following answer:
>phys->contact_time=(scene->iter-contact->iterMadeReal)*scene->dt;

Be carefull, dt can change if you use a timeStepper, I guess you figured
that. So you need to fix dt in this case...

>Now, how do I output those numbers directly to an output file from Yade
c++ code?

grep "ofstream" in the source code.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.