forked from lijiext/lammps
75 lines
2.3 KiB
Groff
75 lines
2.3 KiB
Groff
LAMMPS (27 Nov 2018)
|
|
using 1 OpenMP thread(s) per MPI task
|
|
# pouring 3d rounded polyhedron bodies
|
|
|
|
variable steps index 6000
|
|
|
|
units lj
|
|
boundary p p fm
|
|
comm_modify vel yes
|
|
|
|
atom_style body rounded/polyhedron 1 8
|
|
atom_modify map array
|
|
|
|
region reg block 0 50 0 50 0 50 units box
|
|
create_box 4 reg
|
|
Created orthogonal box = (0 0 0) to (50 50 50)
|
|
1 by 1 by 1 MPI processor grid
|
|
|
|
variable cut_inner equal 0.5
|
|
variable k_n equal 100
|
|
variable k_na equal 5
|
|
variable c_n equal 20
|
|
variable c_t equal 5
|
|
variable mu equal 0
|
|
variable A_ua equal 1
|
|
|
|
pair_style body/rounded/polyhedron ${c_n} ${c_t} ${mu} ${A_ua} ${cut_inner}
|
|
pair_style body/rounded/polyhedron 20 ${c_t} ${mu} ${A_ua} ${cut_inner}
|
|
pair_style body/rounded/polyhedron 20 5 ${mu} ${A_ua} ${cut_inner}
|
|
pair_style body/rounded/polyhedron 20 5 0 ${A_ua} ${cut_inner}
|
|
pair_style body/rounded/polyhedron 20 5 0 1 ${cut_inner}
|
|
pair_style body/rounded/polyhedron 20 5 0 1 0.5
|
|
pair_coeff * * ${k_n} ${k_na}
|
|
pair_coeff * * 100 ${k_na}
|
|
pair_coeff * * 100 5
|
|
|
|
neighbor 0.5 bin
|
|
neigh_modify every 1 delay 0 check yes
|
|
|
|
timestep 0.001
|
|
|
|
fix 1 all nve/body
|
|
fix 2 all gravity 1.0 spherical 0.0 -180.0
|
|
|
|
molecule object molecule.cube molecule.tetra toff 1 molecule.rod3d toff 2 molecule.point3d toff 3
|
|
Read molecule object:
|
|
1 atoms with max type 1
|
|
0 bonds with max type 0
|
|
0 angles with max type 0
|
|
0 dihedrals with max type 0
|
|
0 impropers with max type 0
|
|
Read molecule object:
|
|
1 atoms with max type 2
|
|
0 bonds with max type 0
|
|
0 angles with max type 0
|
|
0 dihedrals with max type 0
|
|
0 impropers with max type 0
|
|
Read molecule object:
|
|
1 atoms with max type 3
|
|
0 bonds with max type 0
|
|
0 angles with max type 0
|
|
0 dihedrals with max type 0
|
|
0 impropers with max type 0
|
|
Read molecule object:
|
|
1 atoms with max type 4
|
|
0 bonds with max type 0
|
|
0 angles with max type 0
|
|
0 dihedrals with max type 0
|
|
0 impropers with max type 0
|
|
|
|
region slab block 5 45 5 45 25 35 units box
|
|
fix ins all pour 500 0 4767548 vol 0.4 10 region slab mol object molfrac 0.25 0.25 0.25 0.25
|
|
ERROR: Unknown fix style pour (src/modify.cpp:898)
|
|
Last command: fix ins all pour 500 0 4767548 vol 0.4 10 region slab mol object molfrac 0.25 0.25 0.25 0.25
|