mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
74 lines
2.5 KiB
Plaintext
74 lines
2.5 KiB
Plaintext
#Particle packing by insertion and successive growing of particles
|
|
|
|
atom_style granular
|
|
atom_modify map array
|
|
boundary m m m
|
|
newton off
|
|
echo both
|
|
|
|
communicate single vel yes
|
|
|
|
units si
|
|
processors 1 1 *
|
|
|
|
region reg block 0. 0.1 0. 0.1 0. 1.1 units box
|
|
create_box 1 reg
|
|
|
|
neighbor 0.002 bin
|
|
neigh_modify delay 0
|
|
|
|
|
|
#Material properties required for new pair styles
|
|
|
|
fix m1 all property/global youngsModulus peratomtype 5.e6
|
|
fix m2 all property/global poissonsRatio peratomtype 0.45
|
|
fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
|
|
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
|
|
|
#New pair style
|
|
pair_style gran model hertz tangential history #Hertzian without cohesion
|
|
pair_coeff * *
|
|
|
|
timestep 0.00001
|
|
|
|
#walls
|
|
fix xwalls1 all wall/gran model hertz tangential history primitive type 1 xplane 0.
|
|
fix xwalls2 all wall/gran model hertz tangential history primitive type 1 xplane 0.1
|
|
fix ywalls1 all wall/gran model hertz tangential history primitive type 1 yplane 0.
|
|
fix ywalls2 all wall/gran model hertz tangential history primitive type 1 yplane 0.1
|
|
fix zwalls1 all wall/gran model hertz tangential history primitive type 1 zplane 0.
|
|
fix zwalls2 all wall/gran model hertz tangential history primitive type 1 zplane 1.1
|
|
|
|
fix gravi all gravity 9.81 vector 0.0 0.0 -1.0
|
|
|
|
#heat transfer
|
|
fix ftco all property/global thermalConductivity peratomtype 5.
|
|
fix ftca all property/global thermalCapacity peratomtype 10.
|
|
fix heattransfer all heat/gran initial_temperature 263.
|
|
|
|
#particle distributions and insertion
|
|
region bc block 0. 0.1 0. 0.1 0. 1.1 units box
|
|
fix pts1 all particletemplate/sphere 1 atom_type 1 density constant 2500 radius constant 0.011
|
|
fix pdd1 all particledistribution/discrete 1. 1 pts1 1.0
|
|
|
|
fix ins all insert/pack seed 100001 distributiontemplate pdd1 vel constant 0. 0. -3. insert_every 10000 overlapcheck yes all_in yes particles_in_region 1005 region bc
|
|
|
|
#apply nve integration to all particles that are inserted as single particles
|
|
fix integr all nve/sphere
|
|
|
|
#output settings, include total thermal energy
|
|
compute 1 all erotate/sphere
|
|
thermo_style custom step atoms ke c_1 f_heattransfer vol
|
|
thermo 1000
|
|
thermo_modify lost ignore norm no
|
|
compute_modify thermo_temp dynamic yes
|
|
|
|
#insert the first particles
|
|
run 1
|
|
dump dmp all custom 1000 post/dump.packing id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius f_heattransfer[0] f_heatFlux[0]
|
|
|
|
run 150000
|
|
|
|
write_restart liggghts.restart
|
|
|