VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Apr 21 2015 - 15:32:33 CDT
- Next message: Bennion, Brian: "RE: fftk water interaction questions"
- Previous message: John Stone: "Re: molefacture doesn't recognize lower-case letters"
- In reply to: Hojjat Behmadi: "Drawing a vector for each particle's velocity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
Have a look at the VMD-CPMD tutorials written by Axel Kohlmeyer,
they contain some great examples of how to draw arrows and other
geometry for whatever custom visualization purposes you have in mind:
https://sites.google.com/site/akohlmey/redirect
Unfortunately, any scheme you might use to calculate
velocities "after the fact" is doomed to be incorrect, since
trajectories typically skip timesteps and subtracting positions
will not restore the correct velocity information. For this reason,
velocity informatino must normally be written to trajectory files
at simulation time.
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Tue, Apr 14, 2015 at 09:34:42PM +0330, Hojjat Behmadi wrote:
> Dear VMD users
> I am new to VMD and would like to simulate the problem of N spherical
> micro-particles in two dimensions. I have the coordinates of particles in
> an xyz-file and can visualize them with VMD. But two questions has been
> remained:
> 1- How can I put an arrow on each particle demonstrating it's direction of
> motion(e.g. for velocity field)?
> 2- Is there any approach to calculate each particle's velocity?
> Cheers,
> Hojjat Behmadi
-- NIH Center for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349 http://www.ks.uiuc.edu/Research/vmd/
- Next message: Bennion, Brian: "RE: fftk water interaction questions"
- Previous message: John Stone: "Re: molefacture doesn't recognize lower-case letters"
- In reply to: Hojjat Behmadi: "Drawing a vector for each particle's velocity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]