348 lines
16 KiB
Groff
348 lines
16 KiB
Groff
LAMMPS (21 Nov 2023 - Development - patch_21Nov2023-665-g17f869bf5e)
|
|
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98)
|
|
using 1 OpenMP thread(s) per MPI task
|
|
# SRD viscosity demo - ellipsoids
|
|
|
|
units lj
|
|
atom_style ellipsoid
|
|
atom_modify first big
|
|
dimension 2
|
|
|
|
# create big ellipsoidal particles
|
|
|
|
lattice sq 0.14
|
|
Lattice spacing in x,y,z = 2.6726124 2.6726124 2.6726124
|
|
region box block 0 10 0 10 -0.5 0.5
|
|
create_box 2 box
|
|
Created orthogonal box = (0 0 -1.3363062) to (26.726124 26.726124 1.3363062)
|
|
2 by 2 by 1 MPI processor grid
|
|
create_atoms 1 region box
|
|
Created 100 atoms
|
|
using lattice units in orthogonal box = (0 0 -1.3363062) to (26.726124 26.726124 1.3363062)
|
|
create_atoms CPU = 0.001 seconds
|
|
|
|
set type 1 mass 1.0
|
|
Setting atom values ...
|
|
100 settings made for mass
|
|
set type 1 shape 3.0 1.0 1.0
|
|
Setting atom values ...
|
|
100 settings made for shape
|
|
group big type 1
|
|
100 atoms in group big
|
|
set group big quat/random 29898
|
|
Setting atom values ...
|
|
100 settings made for quat/random
|
|
|
|
velocity big create 1.44 87287 loop geom
|
|
|
|
# equilibrate big particles
|
|
|
|
pair_style gayberne 1.0 3.0 1.0 4.0
|
|
pair_coeff 1 1 1.0 1.0 1 1 1 1 1 1
|
|
pair_coeff 1 2 1.0 1.0 1 1 1 1 1 1 0.0
|
|
pair_coeff 2 2 1.0 1.0 1 1 1 1 1 1 0.0
|
|
|
|
neighbor 0.3 bin
|
|
neigh_modify delay 0 every 1 check yes
|
|
|
|
fix 1 big nve/asphere
|
|
fix 2 all enforce2d
|
|
|
|
compute rot big temp/asphere
|
|
compute 0 all property/atom quatw quati quatj quatk shapex shapey shapez
|
|
|
|
#dump 1 all custom 10 dump.ellipsoid.equil id type x y z c_0[*]
|
|
#dump_modify 1 colname c_0[1] quatw colname c_0[2] quati colname c_0[3] quatj colname c_0[4] quatk # colname c_0[5] shapex colname c_0[6] shapey colname c_0[7] shapez
|
|
|
|
thermo_style custom step temp c_rot epair etotal press
|
|
thermo 100
|
|
|
|
run 1000
|
|
|
|
CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE
|
|
|
|
Your simulation uses code contributions which should be cited:
|
|
|
|
- pair gayberne command: doi:10.1063/1.3058435
|
|
|
|
@Article{Brown09,
|
|
author = {W. M. Brown and M. K. Petersen and S. J. Plimpton and G. S. Grest},
|
|
title = {Liquid Crystal Nanodroplets in Solution},
|
|
journal = {J.~Chem.\ Phys.},
|
|
year = 2009,
|
|
volume = 130,
|
|
number = 4,
|
|
pages = {044901}
|
|
}
|
|
|
|
CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE
|
|
|
|
Generated 0 of 1 mixed pair_coeff terms from geometric mixing rule
|
|
Neighbor list info ...
|
|
update: every = 1 steps, delay = 0 steps, check = yes
|
|
max neighbors/atom: 2000, page size: 100000
|
|
master list distance cutoff = 4.3
|
|
ghost atom cutoff = 4.3
|
|
binsize = 2.15, bins = 13 13 2
|
|
1 neighbor lists, perpetual/occasional/extra = 1 0 0
|
|
(1) pair gayberne, perpetual
|
|
attributes: half, newton on
|
|
pair build: half/bin/atomonly/newton
|
|
stencil: half/bin/2d
|
|
bin: standard
|
|
Per MPI rank memory allocation (min/avg/max) = 4.61 | 4.61 | 4.61 Mbytes
|
|
Step Temp c_rot E_pair TotEng Press
|
|
0 1.44 0.95677852 2.7038078 4.1294078 10.518912
|
|
100 2.5524145 2.801098 -0.37027046 2.1566199 0.84703874
|
|
200 2.6266386 2.7938164 -0.35322565 2.2471465 1.004886
|
|
300 2.9987557 2.9499545 -0.58917376 2.3795944 0.73081788
|
|
400 2.8557446 2.8208128 -0.39904801 2.4281391 0.91808964
|
|
500 2.4399047 2.8255746 -0.40056447 2.0149412 1.0538908
|
|
600 2.854258 2.9166789 -0.53424483 2.2914706 0.8117508
|
|
700 2.9593679 2.8231211 -0.40051715 2.5292571 1.1630889
|
|
800 2.7632972 2.9060855 -0.52075354 2.2149107 0.77106773
|
|
900 2.9905599 2.8869667 -0.49099386 2.4696604 0.69616823
|
|
1000 2.8470131 2.9005016 -0.51282147 2.3057215 0.68817329
|
|
Loop time of 0.0905036 on 4 procs for 1000 steps with 100 atoms
|
|
|
|
Performance: 4773291.472 tau/day, 11049.286 timesteps/s, 1.105 Matom-step/s
|
|
99.3% CPU use with 4 MPI tasks x 1 OpenMP threads
|
|
|
|
MPI task timing breakdown:
|
|
Section | min time | avg time | max time |%varavg| %total
|
|
---------------------------------------------------------------
|
|
Pair | 0.039039 | 0.053443 | 0.065528 | 5.0 | 59.05
|
|
Neigh | 0.00068257 | 0.00086692 | 0.0010442 | 0.0 | 0.96
|
|
Comm | 0.016567 | 0.028689 | 0.043189 | 6.8 | 31.70
|
|
Output | 0.00016989 | 0.00018594 | 0.0002316 | 0.0 | 0.21
|
|
Modify | 0.0035809 | 0.0043052 | 0.0050755 | 1.0 | 4.76
|
|
Other | | 0.003013 | | | 3.33
|
|
|
|
Nlocal: 25 ave 27 max 24 min
|
|
Histogram: 2 0 0 1 0 0 0 0 0 1
|
|
Nghost: 42.25 ave 45 max 38 min
|
|
Histogram: 1 0 0 0 0 0 0 2 0 1
|
|
Neighs: 92.25 ave 104 max 85 min
|
|
Histogram: 1 0 1 1 0 0 0 0 0 1
|
|
|
|
Total # of neighbors = 369
|
|
Ave neighs/atom = 3.69
|
|
Neighbor list builds = 174
|
|
Dangerous builds = 0
|
|
|
|
#undump 1
|
|
unfix 1
|
|
unfix 2
|
|
|
|
# add small particles as hi density lattice
|
|
|
|
region plane block INF INF INF INF -0.001 0.001 units box
|
|
lattice sq 120.0
|
|
Lattice spacing in x,y,z = 0.091287093 0.091287093 0.091287093
|
|
create_atoms 2 region plane
|
|
Created 85849 atoms
|
|
using lattice units in orthogonal box = (0 0 -1.3363062) to (26.726124 26.726124 1.3363062)
|
|
create_atoms CPU = 0.007 seconds
|
|
|
|
set type 2 mass 0.01
|
|
Setting atom values ...
|
|
85849 settings made for mass
|
|
group small type 2
|
|
85849 atoms in group small
|
|
velocity small create 1.0 593849 loop geom
|
|
|
|
# delete overlaps
|
|
# must set 1-2 cutoff to non-zero value
|
|
|
|
pair_style lj/cut 2.5
|
|
pair_coeff 1 1 1.0 1.0
|
|
pair_coeff 2 2 0.0 1.0 0.0
|
|
pair_coeff 1 2 0.0 1.0 2.0
|
|
|
|
neigh_modify one 10000
|
|
|
|
delete_atoms overlap 1.6 small big
|
|
System init for delete_atoms ...
|
|
Generated 0 of 1 mixed pair_coeff terms from geometric mixing rule
|
|
Neighbor list info ...
|
|
update: every = 1 steps, delay = 0 steps, check = yes
|
|
max neighbors/atom: 10000, page size: 100000
|
|
master list distance cutoff = 2.8
|
|
ghost atom cutoff = 2.8
|
|
binsize = 1.4, bins = 20 20 2
|
|
2 neighbor lists, perpetual/occasional/extra = 1 1 0
|
|
(1) command delete_atoms, occasional
|
|
attributes: full, newton on
|
|
pair build: full/bin/atomonly
|
|
stencil: full/bin/2d
|
|
bin: standard
|
|
(2) pair lj/cut, perpetual
|
|
attributes: half, newton on
|
|
pair build: half/bin/atomonly/newton
|
|
stencil: half/bin/2d
|
|
bin: standard
|
|
WARNING: Delete_atoms cutoff > minimum neighbor cutoff (src/delete_atoms.cpp:312)
|
|
Deleted 71060 atoms, new total = 14889
|
|
|
|
# SRD run
|
|
|
|
reset_timestep 0
|
|
|
|
neighbor 0.3 multi
|
|
neigh_modify delay 0 every 1 check yes
|
|
|
|
comm_modify mode multi group big vel yes
|
|
neigh_modify include big
|
|
|
|
# no pairwise interactions with small particles
|
|
|
|
pair_style gayberne 1.0 3.0 1.0 4.0
|
|
pair_coeff 1 1 1.0 1.0 1 1 1 1 1 1
|
|
pair_coeff 1 2 1.0 1.0 1 1 1 1 1 1 0.0
|
|
pair_coeff 2 2 1.0 1.0 1 1 1 1 1 1 0.0
|
|
|
|
# use fix SRD to push small particles out from inside big ones
|
|
# if comment out, big particles won't see SRD particles
|
|
|
|
timestep 0.0005
|
|
|
|
fix 1 big nve/asphere
|
|
fix 2 small srd 20 big 1.0 0.25 49894 shift yes 54979 collision noslip search 0.2 inside ignore exact no bounce 50
|
|
fix 3 small viscosity 20 x y 50
|
|
fix 4 all enforce2d
|
|
|
|
# diagnostics
|
|
|
|
compute tbig big temp/asphere
|
|
variable pebig equal pe*atoms/count(big)
|
|
variable ebig equal etotal*atoms/count(big)
|
|
thermo_style custom step temp c_rot f_2[9] etotal v_pebig v_ebig press f_2[1] f_2[2] f_2[3] f_2[4] f_2[5] f_2[6] f_2[7] f_2[8] f_2[9] f_2[10] f_2[11] f_2[12]
|
|
|
|
thermo_modify temp tbig
|
|
WARNING: Temperature for thermo pressure is not for group all (src/thermo.cpp:530)
|
|
thermo 1000
|
|
|
|
#dump 1 all custom 500 dump.ellipsoid id type x y z c_0[*]
|
|
#dump_modify 1 colname c_0[1] quatw colname c_0[2] quati colname c_0[3] quatj colname c_0[4] quatk # colname c_0[5] shapex colname c_0[6] shapey colname c_0[7] shapez
|
|
|
|
#dump 1 all image 500 image.*.jpg type type zoom 1.6
|
|
#dump_modify 1 pad 6 adiam 1 1 adiam 2 0.2
|
|
|
|
run 10000
|
|
|
|
CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE
|
|
|
|
Your simulation uses code contributions which should be cited:
|
|
|
|
- neighbor multi command: doi:10.1016/j.cpc.2008.03.005, doi:10.1007/s40571-020-00361-2
|
|
|
|
@Article{Intveld08,
|
|
author = {in 't Veld, P. J. and S. J.~Plimpton and G. S. Grest},
|
|
title = {Accurate and Efficient Methods for Modeling Colloidal
|
|
Mixtures in an Explicit Solvent using Molecular Dynamics},
|
|
journal = {Comput.\ Phys.\ Commut.},
|
|
year = 2008,
|
|
volume = 179,
|
|
pages = {320--329}
|
|
}
|
|
|
|
@article{Shire2020,
|
|
author = {Shire, Tom and Hanley, Kevin J. and Stratford, Kevin},
|
|
title = {{DEM} Simulations of Polydisperse Media: Efficient Contact
|
|
Detection Applied to Investigate the Quasi-Static Limit},
|
|
journal = {Computational Particle Mechanics},
|
|
year = {2020}
|
|
@article{Monti2022,
|
|
author = {Monti, Joseph M. and Clemmer, Joel T. and Srivastava,
|
|
Ishan and Silbert, Leonardo E. and Grest, Gary S.
|
|
and Lechman, Jeremy B.},
|
|
title = {Large-scale frictionless jamming with power-law particle
|
|
size distributions},
|
|
journal = {Phys. Rev. E},
|
|
volume = {106}
|
|
issue = {3}
|
|
year = {2022}
|
|
}
|
|
|
|
- fix srd command: doi:10.1063/1.3419070
|
|
|
|
@Article{Petersen10,
|
|
author = {M. K. Petersen and J. B. Lechman and S. J. Plimpton and
|
|
G. S. Grest and in 't Veld, P. J. and P. R. Schunk},
|
|
title = {Mesoscale Hydrodynamics via Stochastic Rotation
|
|
Dynamics: Comparison with {L}ennard-{J}ones Fluid},
|
|
journal = {J.~Chem.\ Phys.},
|
|
year = 2010,
|
|
volume = 132,
|
|
pages = 174106
|
|
}
|
|
|
|
CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE
|
|
|
|
Generated 0 of 1 mixed pair_coeff terms from geometric mixing rule
|
|
SRD info:
|
|
SRD/big particles = 14789 100
|
|
big particle diameter max/min = 3 1
|
|
SRD temperature & lamda = 1 0.1
|
|
SRD max distance & max velocity = 0.4 40
|
|
SRD grid counts: 107 107 1
|
|
SRD grid size: request, actual (xyz) = 0.25, 0.24977686 0.24977686 2.6726124
|
|
SRD per actual grid cell = 1.9275711
|
|
SRD viscosity = 0.68810145
|
|
big/SRD mass density ratio = 1.3736715
|
|
# of rescaled SRD velocities = 0
|
|
ave/max small velocity = 13.30933 24.335888
|
|
ave/max big velocity = 2.080284 5.0567191
|
|
Neighbor list info ...
|
|
update: every = 1 steps, delay = 0 steps, check = yes
|
|
max neighbors/atom: 10000, page size: 100000
|
|
master list distance cutoff = 4.3
|
|
ghost atom cutoff = 4.3
|
|
binsize = 26.726124, bins = 1 1 1
|
|
1 neighbor lists, perpetual/occasional/extra = 1 0 0
|
|
(1) pair gayberne, perpetual
|
|
attributes: half, newton on
|
|
pair build: half/multi/atomonly/newton
|
|
stencil: half/multi/2d
|
|
bin: multi
|
|
Per MPI rank memory allocation (min/avg/max) = 16.89 | 16.9 | 16.91 Mbytes
|
|
Step Temp c_rot f_2[9] TotEng v_pebig v_ebig Press f_2[1] f_2[2] f_2[3] f_2[4] f_2[5] f_2[6] f_2[7] f_2[8] f_2[9] f_2[10] f_2[11] f_2[12]
|
|
0 2.9005016 2.9005016 0 0.025582147 -0.51282147 3.8089259 0.89862191 0 0 0 0 0 0 0 0 0 0 0 0
|
|
1000 2.5269102 2.5269102 0.8207596 0.022784455 -0.37271861 3.3923775 2.0963085 13925 34 34 0 322 66564 11449 4235 0.8207596 24 50 0
|
|
2000 1.3685596 1.3685596 0.89115879 0.0089112146 -0.71236311 1.3267907 1.3970875 14444 25 25 0 454 66564 11449 4278 0.89115879 25 50 0
|
|
3000 1.5234001 1.5234001 0.9828293 0.0090168318 -0.92735003 1.3425161 0.70104224 14946 37 37 0 608 66564 11449 4331 0.9828293 27 50 0
|
|
4000 2.2536932 2.2536932 0.97648579 0.017005211 -0.82609701 2.5319058 1.190307 15428 43 43 0 827 66564 11449 4346 0.97648579 32 50 0
|
|
5000 1.8106358 1.8106358 1.0143347 0.012032652 -0.90630586 1.7915415 0.83451531 15438 26 26 0 1039 66564 11449 4314 1.0143347 32 50 0
|
|
6000 1.9880605 1.9880605 1.0142917 0.013767418 -0.91237924 2.0498309 0.87383026 15688 37 37 0 1279 66564 11449 4353 1.0142917 32 50 0
|
|
7000 2.4772098 2.4772098 0.99457682 0.018062012 -1.0017896 2.689253 0.74369504 15723 38 38 0 1521 66564 11449 4293 0.99457682 32 50 0
|
|
8000 2.5749419 2.5749419 1.0337514 0.019908918 -0.87242464 2.9642389 1.0460672 15932 33 34 0 1805 66564 11449 4320 1.0337514 32 50 0
|
|
9000 2.4877578 2.4877578 1.0366259 0.019125113 -0.85922105 2.847538 0.95616808 16292 52 53 0 2099 66564 11449 4291 1.0366259 33 50 0
|
|
10000 2.8498311 2.8498311 1.0117104 0.022669267 -0.87102125 3.3752271 0.98313087 16736 38 38 0 2415 66564 11449 4366 1.0117104 35 50 0
|
|
Loop time of 3.0339 on 4 procs for 10000 steps with 14889 atoms
|
|
|
|
Performance: 142390.919 tau/day, 3296.086 timesteps/s, 49.075 Matom-step/s
|
|
99.1% CPU use with 4 MPI tasks x 1 OpenMP threads
|
|
|
|
MPI task timing breakdown:
|
|
Section | min time | avg time | max time |%varavg| %total
|
|
---------------------------------------------------------------
|
|
Pair | 0.46168 | 0.52303 | 0.69055 | 13.4 | 17.24
|
|
Neigh | 0.0068493 | 0.0072892 | 0.0081958 | 0.6 | 0.24
|
|
Comm | 0.12806 | 0.2911 | 0.34961 | 17.5 | 9.59
|
|
Output | 0.00055286 | 0.00057977 | 0.00065772 | 0.0 | 0.02
|
|
Modify | 2.1454 | 2.1674 | 2.1833 | 0.9 | 71.44
|
|
Other | | 0.04447 | | | 1.47
|
|
|
|
Nlocal: 3722.25 ave 4163 max 3210 min
|
|
Histogram: 1 0 0 0 0 1 1 0 0 1
|
|
Nghost: 46.25 ave 49 max 43 min
|
|
Histogram: 1 0 0 1 0 0 0 0 1 1
|
|
Neighs: 102.5 ave 143 max 79 min
|
|
Histogram: 2 0 0 0 1 0 0 0 0 1
|
|
|
|
Total # of neighbors = 410
|
|
Ave neighs/atom = 0.027537108
|
|
Neighbor list builds = 500
|
|
Dangerous builds = 0
|
|
Total wall time: 0:00:03
|