|
From: | Peter Kosovan |
Subject: | Re: [ESPResSo-users] Printing out velocity |
Date: | Thu, 11 Aug 2011 12:25:46 +0200 (CEST) |
User-agent: | Alpine 2.00 (LNX 1167 2008-08-23) |
Hi Aparna to print the particle velocities, use the part command. E.g. if you want to print velocity and angular velocity of particle 3, call part 3 print v omega Part command is abolutely essential and can do a lot of things, so I would recommend to read section 4 of the manual in detail. You have to print v before you start the integration. Velocities are not initialized automatically but if you are using a thermostat, random forces and friction bring them to the correct distribution after a few integration steps. peter -- Peter Košovan Institute of Computational Physics University of Stuttgart Pfaffenwaldring 27 70569 Stuttgart Germany On Thu, 11 Aug 2011, Sreekumari Aparna wrote:
Hello all, To do the dipole simulation, I have initialised coordinates and dipolemoment orientation of dipoles and set the temperature and thermostat. I did not initialise velocities by hand. But from the simulation results i found that its taking the correct velocities, I would like to print the initial linear and angular velocities. I have searched in User's guide, i don't know whether its due to my mistake, i could not find it. Can anybody help? Regards, Aparna
[Prev in Thread] | Current Thread | [Next in Thread] |