LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] velocity plot from lammps output file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] velocity plot from lammps output file

From: Vanessa Oklejas <voklejas@...24...>
Date: Tue, 05 Sep 2017 17:31:29 +0000

See 'in.nemd.2d' file in the /examples/VISCOSITY in your lammps distribution. 

These 2 commands produce a velocity profile. See the fix ave/chunk documentation to see how to specify how the velocity profile is averaged.

compute         layers all chunk/atom bin/1d y center 0.05 units reduced
fix             4 all ave/chunk 20 250 5000 layers vx file profile.nemd.2d

On Tue, Sep 5, 2017 at 10:01 AM Sisir Das <sisirdas@...24...> wrote:
Hi Team,

I was trying to get velocity profile from 2D Poiseulle flow.
I added

dump   5 all custom 500 velocities1.txt type x y vx vy

and created velocity of atoms as per attached dump.
How to get velocity profile from the dump ?
I understand create_box within the region , is it possible to get velocities from it with some modification ? or do we need to use some other tool with lammps output file ?

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
lammps-users mailing list