Skip to content

Commit 3b4aa3d

Browse files
committed
added dump image
1 parent ce89a9c commit 3b4aa3d

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

level1/lennard-jones-fluid/improved-input/input.md.lammps

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ delete_atoms group group_type_2_out
4646
# 4) Visualization
4747
thermo 1000
4848
thermo_style custom step temp pe ke etotal press
49-
dump mydmp all atom 1000 dump.md.lammpstrj
49+
dump mydmp all image 100 dump.md.*.jpg &
50+
type type shiny 0.1 box no 0.01 &
51+
view 0 0 zoom 1.8
52+
dump_modify mydmp acolor 1 darkturquoise &
53+
acolor 2 darkblue adiam 1 1 adiam 2 3 &
54+
backcolor white
5055

5156
variable number_type1_in equal count(group_type_1,region_cylinder_in)
5257
variable number_type2_in equal count(group_type_2,region_cylinder_in)

level1/lennard-jones-fluid/improved-input/input.min.lammps

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ pair_coeff 2 2 0.5 3.0
4747
# 4) Visualization
4848
thermo 10
4949
thermo_style custom step etotal press
50-
dump mydmp all atom 10 dump.min.lammpstrj
50+
dump mydmp1 all atom 10 dump.min.lammpstrj
51+
dump mydmp2 all image 10 dump.min.*.jpg type type shiny 0.1 box no 0.01 view 0 0 zoom 1.8
52+
dump_modify mydmp2 acolor 1 darkturquoise acolor 2 darkblue adiam 1 1 adiam 2 3 backcolor white
5153

5254
# 5) Run
5355
minimize 1.0e-4 1.0e-6 1000 10000

0 commit comments

Comments
 (0)