[lammps-users] group command

Fix ave/spatial already works within a region inherently (the
slabs it slices the volume into). What specifically do
you want to do that a group in combination with the slab
volume doesn't let you calculate?

Steve

hi
the fix ave/spatial bins spatially by layer in a dimension…but the problem i am facing is that when i am executing a command like
fix 1 flow ave/spatial 100 10 1000 y 0.0 1.0 vx vz norm sample file vel.profile,
it bins spatially in the y dimension. but the z dimension varies from -infinity to +infinity. i was wondering if i could limit the z dimension to a particular range of values i.e, bin spatially in the y dimension for a region inside the computational domain limited by the z direction…looking forward for your valuable suggestions…

Thanking you in advance…

With Warm Regards
Unni

Can't think of a way to do this currently. If you give fix ave/spatial
a compute or variable that only had non-zero vx for atoms in
a region maybe that would work, but there's no compute
or variable that does that. Maybe one could be added
that filters by a region flag or the like. Have to think about it.

Steve