I am a new user of LAMMPS. I am using its latest version. And I am
unable to find out the problem in my code.
I am trying to simulate a flow of granular particles on an inclined
plane of angle 14 degrees, however I have initially used 60 degrees to
stabilize the flow. Since, I am unable to install the granular
package, I am currently simulating the flow by using atom_style
sphere. These are the following problems I am facing:
1. Seeing the visual on VMD, the size of the box that I have used for
simulation is continuously increasing.
2. The temperature values are coming out very high.
3. E_ pair is coming out to be zero every time.
LAMMPS Code:
# Defining properties of the particles
units si
dimension 3
boundary p m p
newton off
atom_style sphere
atom_modify sort 50 0.5
neighbor 0.005 bin
neigh_modify delay 0
communicate multi vel yes
# Creating Geometry
lattice fcc 1.0
region box block 0 0.05 0 0.02 0 0.05 # 5cm x 2cm x 5cm
create_box 1 box
create_atoms 1 random 8000 453 box
group flow type 1
set group flow type 1 diameter 0.002
# Particle Interactions
pair_style gran/hooke 200200 NULL 0 0 0.0005 0
pair_coeff * *
# Initial Velocities
velocity all set 0.0 0.0 0.0
fix 1 all nve/sphere
fix 2 flow gravity 9.81 vector 0.866 -0.5 0
fix 3 all wall/gran 20020 NULL 0.005 0.003 0.0005 0 yplane -0.000002 NULL
# Run
timestep 0.00003
thermo 400
dump 1 all custom 100 dump.flow id x y z vx vy vz
run 5000 upto
fix 2 flow gravity 9.81 vector 0.24 -0.907 0
dump_modify 1 append yes every 100
run 10000 upto