add new grid-based examples

This commit is contained in:
Steve Plimpton
2022-12-01 15:51:17 -07:00
parent 7ce4b2eb68
commit 1ba9ff7817
18 changed files with 32938 additions and 36 deletions

23
examples/grid/README Normal file
View File

@ -0,0 +1,23 @@
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.