lammps/examples/grid
Steve Plimpton 1ba9ff7817 add new grid-based examples 2022-12-01 15:51:17 -07:00
..
README add new grid-based examples 2022-12-01 15:51:17 -07:00
data.sph add new grid-based examples 2022-12-01 15:51:17 -07:00
in.grid.2d add new grid-based examples 2022-12-01 15:51:17 -07:00
in.grid.3d add new grid-based examples 2022-12-01 15:51:17 -07:00
in.sph add new grid-based examples 2022-12-01 15:51:17 -07:00
log.1Dec22.grid.2d.g++.1 add new grid-based examples 2022-12-01 15:51:17 -07:00
log.1Dec22.grid.2d.g++.4 add new grid-based examples 2022-12-01 15:51:17 -07:00
log.1Dec22.grid.2d.g++.12 add new grid-based examples 2022-12-01 15:51:17 -07:00
log.1Dec22.grid.3d.g++.1 add new grid-based examples 2022-12-01 15:51:17 -07:00
log.1Dec22.grid.3d.g++.4 add new grid-based examples 2022-12-01 15:51:17 -07:00
log.1Dec22.grid.3d.g++.10 add new grid-based examples 2022-12-01 15:51:17 -07:00
log.1Dec22.sph.g++.1 add new grid-based examples 2022-12-01 15:51:17 -07:00
log.1Dec22.sph.g++.4 add new grid-based examples 2022-12-01 15:51:17 -07:00
log.1Dec22.sph.g++.12 add new grid-based examples 2022-12-01 15:51:17 -07:00

README

These input scripts illustrate the use of several commands that
overlay grids on the simulation domain.

fix ave/grid
compute property/grid
dump grid
dump grid/vtk

The in.grid.2d and in.grid.3d scripts model simple Lennard Jones
liquids.  The in.sph script models SPH water flowing over a dam.  All
the scripts use dynamic load balancing to illustrate that the grid
cells can be dynamically partitioned across processors similar to how
particles are.

To produce output dump files and image files, you will need to
uncomment the various "dump" commands that produce them.  The images
show processor subdomains as well as the background grid, colored by
particle counts in each grid cell.