Color walls in image dump

Greetings,

I am running a simulation (with in.pour as my starting point) where I am defining an interior wall/region. As a simple example:

region reg block -10 10 -10 10 -0.5 16 units box
# this is the experimental domain established in the example in.pour
region myWall block -3 3 -4 4 1 9 side out units box
# this is my obstacle, placed within the above domain

create_box 1 reg
fix wall all wall/region myWall lj93 1.0 1.0 2.5

From my dump images, I can see atoms interacting with the block, but the block itself is invisible. The dump command I am using is:

dump 2 all image 500 ./images/image.*.jpg type type &
axes yes 0.8 0.02 view 80 -30
dump_modify 2 pad 5

My question is: what do I need to do to "see" the obstacle in my dumped images? An outline like what is done for the domain is fine, or a filled-in object would be fine too.

Thanks,
Jeremy

Greetings,

I am running a simulation (with in.pour as my starting point) where I am
defining an interior wall/region. As a simple example:

region reg block -10 10 -10 10 -0.5 16 units box
# this is the experimental domain established in the example in.pour
region myWall block -3 3 -4 4 1 9 side out units box
# this is my obstacle, placed within the above domain

create_box 1 reg
fix wall all wall/region myWall lj93 1.0 1.0 2.5

>From my dump images, I can see atoms interacting with the block, but the
block itself is invisible. The dump command I am using is:

dump 2 all image 500 ./images/image.*.jpg type type &
axes yes 0.8 0.02 view 80 -30
dump_modify 2 pad 5

My question is: what do I need to do to "see" the obstacle in my dumped
images? An outline like what is done for the domain is fine, or a filled-in
object would be fine too.

​i don't think there is currently a way to do this in LAMMPS directly via
the image dump. the only way to do this that i know would be using VMD,
where you can add all kinds of OpenGL primitives (spheres, triangles,
cones, cylinders, "smooth" triangles) to a visualization. see e.g.
https://www.youtube.com/watch?v=JGz5oFR71jA which was made from a LAMMPS
simulation with VMD.

axel.​