[EMAIL PROTECTED] wrote:
> Send Yade-users mailing list submissions to
>       [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.berlios.de/mailman/listinfo/yade-users
> or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Yade-users digest..."
>
>
> Today's Topics:
>
>    1. Is there a method to change the parameters during a
>       simulation (Feng, Chen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 7 Mar 2007 02:37:19 -0500
> From: "Feng, Chen" <[EMAIL PROTECTED]>
> Subject: [Yade-users] Is there a method to change the parameters
>       during a        simulation
> To: yade-users <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> Hi, all:
>
> I am now trying to make a simulation of based on SDECSpheresPlane, however, I 
> want to make the damping coefficient 0.3 for the first 1000 steps and 0.4 for 
> the next 1000 steps, is it possible to program it in YADE?
>
> Thanks a lot!
>
> Feng Chen
>
>
>
> ------------------------------
>
> _______________________________________________
> Yade-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/yade-users
>
>
> End of Yade-users Digest, Vol 9, Issue 4
> ****************************************
>
>   
Hello Feng,

I didn't try it but maybe you could do the following :

- In "CundallNonViscousForceDamping.hpp", you declare damping as a vector2r
- In "SDECSpheresPlane.cpp", you do the same with 0.3 and 0.4 as both 
values of the vector
- In "CundallNonViscousForceDamping.cpp", you add a condition like :
if (Omega::instance().getTimeStep() < 1000) {Real dampN=damping[0]}
else {Real dampN=damping[0]}

It should work !!!!!!!!

Lionel Favier


_______________________________________________
Yade-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/yade-users

Reply via email to