From 194b45b7295bb9ad17c29dae482cdc51f1c575f9 Mon Sep 17 00:00:00 2001 From: Dhairya Date: Wed, 7 Feb 2024 09:52:02 -0600 Subject: [PATCH] Example file --- examples/granular/en_example/particles.dat | 18 ++++++++++++++++ examples/granular/en_example/start.lammps | 25 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 examples/granular/en_example/particles.dat create mode 100644 examples/granular/en_example/start.lammps diff --git a/examples/granular/en_example/particles.dat b/examples/granular/en_example/particles.dat new file mode 100644 index 0000000000..c9f3bd7a9c --- /dev/null +++ b/examples/granular/en_example/particles.dat @@ -0,0 +1,18 @@ +Python generated LAMMPS data file + +2 atoms +1 atom types + +0 0.08 xlo xhi +0 0.04 ylo yhi +0 0.08 zlo zhi + +Atoms # sphere + +1 1 0.004 2500 0.04 0.02 0.04 0 0 0 +2 1 0.004 2500 0.04 0.02 0.04416 0 0 0 + +Velocities + +1 0.0 0.0 1 0 0 0 +2 0.0 0.0 -1 0 0 0 diff --git a/examples/granular/en_example/start.lammps b/examples/granular/en_example/start.lammps new file mode 100644 index 0000000000..2bf0f54ddc --- /dev/null +++ b/examples/granular/en_example/start.lammps @@ -0,0 +1,25 @@ +units si +atom_style sphere + +boundary p p f +region box block 0 80e-3 0 40e-3 0 80e-3 open 3 open 4 +create_box 2 box + +read_data particles.dat add append +group mb type 1 + +pair_style granular +pair_coeff * * hertz/material 1e6 0.8 0.4 tangential mindlin NULL 0.0 0.5 damping enhertz +# pair_coeff * * hertz 1e6 0.3 tangential mindlin 1e4 1.0 0.5 damping enhertz +# pair_coeff * * hooke 1e6 0.5 tangential mindlin 1 1.0 0.0 damping enhooke +comm_modify vel yes + +timestep 1e-9 +fix 1 all nve/sphere +compute s all stress/atom NULL pair + +dump 1 all custom 2000000 op.dump id x y z vx vy vz +dump_modify 1 pad 8 +thermo_style custom step ke +run_style verlet +run 10000000