yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06117
Re: [Question #197576]: Contact time duration
Question #197576 on Yade changed:
https://answers.launchpad.net/yade/+question/197576
Status: Expired => Open
Chiara Modenese is still having a problem:
Hi Bruno,
As for this question, I was thinking to something like
if (uN<0) {
phys->contact_time=(scene->iter-contact->iterMadeReal)*scene->dt; //
contact time duration
scene->interactions->requestErase(contact->getId1(),contact->getId2());
}
I tried but the problem is that at the next iteration the contact gets
deleted and so I am not on time to record the value i.phys.contact_time.
Now, how do I output those numbers directly to an output file from Yade
c++ code? Is there any example in Yade I can look at? It is also a
general question which would be good to know.
Or I could create a list from a template where I keep the information of
initial/final/total contact time for each contact. How to do that in
Yade? Any example in the code?
Thanks for help!
Chiara
On 03/06/12 09:22, Launchpad Janitor wrote:
> Question #197576 on Yade changed:
> https://answers.launchpad.net/yade/+question/197576
>
> Status: Open => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Open' state
> without activity for the last 15 days.
>
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.