[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] reading force on particle

From: Kai Szuttor
Subject: Re: [ESPResSo-users] reading force on particle
Date: Thu, 18 Jul 2019 17:00:28 +0200

Can you please show your script or a MWE?
Setting a force on a particle does actually not work since it will be overwritten in the integration loop. That might be the case here. If you want to have a static force, you can use external forces instead.



Kai Szuttor
Institute for Computational Physics
Universität Stuttgart
Allmandring 3
Room 1.084
70569 Stuttgart, Germany
Phone: +49 711 685-67707

On 18. Jul 2019, at 16:46, Dusan Racko <address@hidden> wrote:

Dear all,

I'm trying to do a simulation where I have a polymer chain attached at one end {part 1 fix 1 1 1} and I apply force to the other end {part 100 f [expr 100*sin (simstep/360*pi)] 0 0}, and I try to measure how much of the force is transferred {part 1 print f}, but I don't see those numbers correlated :-)

Please, anybody has an idea what could be going wrong?

Best regards,
Polymer Institute of the Slovak Academy of Sciences
Dubravska cesta 3
845 41 Bratislava, Slovak Republic [‡]
tel: +421 2 3229 4321

reply via email to

[Prev in Thread] Current Thread [Next in Thread]