Advertisement
Guest User

ball mill with walls made out of particles

a guest
Nov 9th, 2020
517
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. #Contact model example
  2.  
  3. atom_style granular
  4. atom_modify map array
  5. boundary f f p #periodic in z
  6. newton off
  7.  
  8. communicate single vel yes
  9.  
  10. units si
  11.  
  12. region reg block -0.51 0.51 -0.51 0.51 -0.01 0.51 units box
  13. #create_box 2 reg
  14.  
  15. neighbor 0.02 bin
  16. neigh_modify delay 0
  17.  
  18. read_data wall.pour
  19.  
  20. #Material properties required for new pair styles
  21.  
  22. fix m1 all property/global youngsModulus peratomtype 1.e7 1e7
  23. fix m2 all property/global poissonsRatio peratomtype 0.3 0.3
  24. fix m3 all property/global coefficientRestitution peratomtypepair 2 0.2 0.2 0.2 0.2
  25. fix m4 all property/global coefficientFriction peratomtypepair 2 0.3 0.3 0.3 0.3
  26. fix m5 all property/global coefficientRollingFriction peratomtypepair 2 0.3 0.3 0.3 0.3
  27.  
  28.  
  29. #New pair style
  30. pair_style gran model hertz tangential history rolling_friction epsd2
  31. pair_coeff * *
  32.  
  33. timestep 1e-5
  34.  
  35. #output settings, include total thermal energy
  36. thermo_style custom step atoms spcpu
  37. thermo 1000
  38. thermo_modify lost ignore norm no
  39. compute_modify thermo_temp dynamic yes
  40. shell mkdir post
  41. dump dmp all custom 1000 post/dump*.liggghts id type x y z vx vy vz fx fy fz omegax omegay omegaz radius mass
  42.  
  43.  
  44. group walls type 1
  45. fix wall walls freeze
  46. #rotate the drum
  47. fix rot walls move rotate 0.0 0.0 0.0 0.0 0.0 1.0 5.0 #Px Py Pz Rx Ry Rz period
  48.  
  49. neigh_modify exclude type 1 1 #walls can not collide with walls
  50.  
  51. create_atoms 2 single 0 0 0.25 #ony free atom in center of system
  52. group free type 2
  53. set group free diameter 0.04 density 2800
  54.  
  55.  
  56.  
  57. #apply gravity and nve integration to free particles
  58. fix gravi free gravity 9.81 vector 0.0 -1.0 0.0
  59. fix integr free nve/sphere
  60.  
  61. run 100000 upto
  62.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement