yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00477
Re: Yade-users Digest, Vol 9, Issue 4
yade-users-request@xxxxxxxxxxxxxxxx wrote:
> Send Yade-users mailing list submissions to
> yade-users@xxxxxxxxxxxxxxxx
>
> 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
> yade-users-request@xxxxxxxxxxxxxxxx
>
> You can reach the person managing the list at
> yade-users-owner@xxxxxxxxxxxxxxxx
>
> 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" <fchen3@xxxxxxx>
> Subject: [Yade-users] Is there a method to change the parameters
> during a simulation
> To: yade-users <yade-users@xxxxxxxxxxxxxxxx>
> Message-ID: <45F7FE26@xxxxxxxxxxxxxxx>
> 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
> Yade-users@xxxxxxxxxxxxxxxx
> 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
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users
Follow ups