m_n1
November 15, 2017, 5:58pm
1
Deas Lammps users,
I am trying to simulate a liquid flow between two parallel solid walls. I have created 20 different groups for the flow region in the y direction (normal to the flow direction). How can I output the time-averaged velocity of each group?
Many thanks in advance for any help,
Santiago
I think using compute/chunk and fix ave/chunk will be much more handy than 20 groups for this purpose…
m_n1
November 15, 2017, 6:55pm
3
Thank you for your reply!
I think using compute/chunk and fix ave/chunk will be much more handy than 20 groups for this purpose…
m_n1
November 15, 2017, 10:12pm
4
If I use “compute chunk/atom” + “compute vcm/chunk” + “fix ave/time”, is that right?
I think using compute/chunk and fix ave/chunk will be much more handy than 20 groups for this purpose…
That depends on whether you want the time-averaged velocity of the center of mass or not.
m_n1
November 15, 2017, 10:35pm
6
Thanks again!
That depends on whether you want the time-averaged velocity of the center of mass or not.