mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
release on 2012-08-01_14-14-45
This commit is contained in:
@ -30,7 +30,7 @@ fix m3 all property/global coefficientRestitution peratomtypepair 1 0.9
|
||||
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
||||
|
||||
#pair style
|
||||
pair_style gran/hertz/history 1 0 #Hertzian without cohesion
|
||||
pair_style gran/hertz/history #Hertzian without cohesion
|
||||
pair_coeff * *
|
||||
|
||||
#timestep, gravity
|
||||
@ -40,11 +40,12 @@ timestep 0.00003
|
||||
fix gravi all gravity 981 vector 0.0 0.0 -1.0
|
||||
|
||||
#walls
|
||||
fix xwalls all wall/gran/hertz/history 1 0 xplane 0 1 1
|
||||
#fix ywalls all wall/gran/hertz/history 1 0 yplane -1 1f 1
|
||||
fix ywalls all wall/gran/hertz/history 1 0 yplane 0 1 1
|
||||
fix zwalls all wall/gran/hertz/history 1 0 zplane 0 4 1
|
||||
#--modified C.K. deleted z-wall
|
||||
fix xwalls1 all wall/gran/hertz/history primitive type 1 xplane 0.
|
||||
fix xwalls2 all wall/gran/hertz/history primitive type 1 xplane 1.
|
||||
fix ywalls1 all wall/gran/hertz/history primitive type 1 yplane 0.
|
||||
fix ywalls2 all wall/gran/hertz/history primitive type 1 yplane 1.
|
||||
fix zwalls1 all wall/gran/hertz/history primitive type 1 zplane 0.
|
||||
fix zwalls2 all wall/gran/hertz/history primitive type 1 zplane 4.
|
||||
|
||||
#-import mesh from cad:
|
||||
#fix cad1 all mesh/gran hopperGenauerSALOME.stl 1 1.0 0. 0. 0. 0. 180. 0.
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# Pour granular particles into chute container, then induce flow
|
||||
|
||||
echo both
|
||||
atom_style granular
|
||||
atom_modify map array
|
||||
communicate single vel yes
|
||||
@ -24,7 +24,7 @@ fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
|
||||
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
||||
|
||||
#pair style
|
||||
pair_style gran/hertz/history 1 0 #Hertzian without cohesion
|
||||
pair_style gran/hertz/history #Hertzian without cohesion
|
||||
pair_coeff * *
|
||||
|
||||
#timestep, gravity
|
||||
@ -32,20 +32,19 @@ timestep 0.00001
|
||||
fix gravi all gravity 9.81 vector 0.0 0.0 -1.0
|
||||
|
||||
#walls
|
||||
fix zwalls all wall/gran/hertz/history 1 0 zplane 0.0 0.0553 1
|
||||
fix cylwalls all wall/gran/hertz/history 1 0 zcylinder 0.01385 1
|
||||
fix zwalls1 all wall/gran/hertz/history primitive type 1 zplane 0.0
|
||||
fix zwalls2 all wall/gran/hertz/history primitive type 1 zplane 0.0553
|
||||
fix cylwalls all wall/gran/hertz/history primitive type 1 zcylinder 0.01385 0. 0. tangential_damping off
|
||||
|
||||
#cfd coupling
|
||||
#fix cfd all couple/cfd
|
||||
#particle distributions and insertion
|
||||
region bc cylinder z 0.0 0.0 0.012 0. 0.055 units box
|
||||
fix pts1 all particletemplate/sphere 1 atom_type 1 density constant 200 radius constant 0.0005
|
||||
fix pdd1 all particledistribution/discrete 1. 1 pts1 1.0
|
||||
|
||||
#particle insertion
|
||||
group nve_group region reg
|
||||
region bc cylinder z 0.0 0.0 0.012 0.02 0.03 units box
|
||||
fix ins nve_group pour 10000 1 1 vol 0.7 100 diam uniform 0.001 0.001 dens uniform 200 200 vel uniform 0. 0. 0. 0. -1.0 region bc
|
||||
fix ins all insert/pack seed 100001 distributiontemplate pdd1 vel constant 0. 0. -1. insert_every once overlapcheck yes all_in yes particles_in_region 10000 region bc
|
||||
|
||||
#apply nve integration to all particles that are inserted as single particles
|
||||
fix integr nve_group nve/sphere
|
||||
|
||||
fix integr all nve/sphere
|
||||
|
||||
#screen output
|
||||
compute 1 all erotate/sphere
|
||||
|
||||
@ -28,16 +28,16 @@ fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
|
||||
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
||||
|
||||
#pair style
|
||||
pair_style gran/hertz/history 1 0 #Hertzian without cohesion
|
||||
pair_style gran/hertz/history #Hertzian without cohesion
|
||||
pair_coeff * *
|
||||
|
||||
#timestep, gravity
|
||||
timestep 0.00001
|
||||
fix gravi all gravity 9.81 vector 0.0 0.0 -1.0
|
||||
|
||||
#walls
|
||||
fix zwalls all wall/gran/hertz/history 1 0 zplane 0.0 0.0553 1
|
||||
fix cylwalls all wall/gran/hertz/history 1 0 zcylinder 0.01385 1
|
||||
fix zwalls1 all wall/gran/hertz/history primitive type 1 zplane 0.0
|
||||
fix zwalls2 all wall/gran/hertz/history primitive type 1 zplane 0.0553
|
||||
fix cylwalls all wall/gran/hertz/history primitive type 1 zcylinder 0.01385 0. 0. tangential_damping off
|
||||
|
||||
# change the particles density
|
||||
set group all density 2000
|
||||
@ -47,18 +47,17 @@ fix cfd all couple/cfd couple_every 100 mpi
|
||||
fix cfd2 all couple/cfd/force
|
||||
|
||||
#apply nve integration to all particles that are inserted as single particles
|
||||
#group nve_group region reg
|
||||
fix integr nve_group nve/sphere
|
||||
fix integr all nve/sphere
|
||||
|
||||
#center of mass
|
||||
compute centerOfMass all com
|
||||
|
||||
#compute total dragforce
|
||||
#compute dragtotal all reduce sum f_dragforce[1] f_dragforce[2] f_dragforce[3]
|
||||
compute dragtotal all reduce sum f_dragforce[1] f_dragforce[2] f_dragforce[3]
|
||||
|
||||
#screen output
|
||||
compute 1 all erotate/sphere
|
||||
thermo_style custom step atoms ke c_1 vol c_centerOfMass[3] #c_dragtotal[1] c_dragtotal[2] c_dragtotal[3]
|
||||
thermo_style custom step atoms ke c_1 vol c_centerOfMass[3] c_dragtotal[1] c_dragtotal[2] c_dragtotal[3]
|
||||
thermo 10
|
||||
thermo_modify lost ignore norm no
|
||||
compute_modify thermo_temp dynamic yes
|
||||
@ -66,7 +65,7 @@ compute_modify thermo_temp dynamic yes
|
||||
#insert the first particles so that dump is not empty
|
||||
dump myDump all stl 1 post/dump_*.stl
|
||||
#run 1
|
||||
dump dmp all custom 5000 ../DEM/post/dump*.liggghts_restart id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius
|
||||
dump dmp all custom 5000 ../DEM/post/dump*.liggghts_restart id type type x y z vx vy vz fx fy fz f_dragforce[1] f_dragforce[2] f_dragforce[3] radius
|
||||
undump myDump
|
||||
|
||||
run 1
|
||||
|
||||
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
# Pour granular particles into chute container, then induce flow
|
||||
|
||||
echo both
|
||||
atom_style granular
|
||||
atom_modify map array
|
||||
communicate single vel yes
|
||||
@ -24,7 +24,7 @@ fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
|
||||
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
||||
|
||||
#pair style
|
||||
pair_style gran/hertz/history 1 0 #Hertzian without cohesion
|
||||
pair_style gran/hertz/history #Hertzian without cohesion
|
||||
pair_coeff * *
|
||||
|
||||
#timestep, gravity
|
||||
@ -32,19 +32,22 @@ timestep 0.00001
|
||||
fix gravi all gravity 9.81 vector 0.0 0.0 -1.0
|
||||
|
||||
#walls
|
||||
fix zwalls all wall/gran/hertz/history 1 0 zplane 0.0 0.0553 1
|
||||
fix cylwalls all wall/gran/hertz/history 1 0 zcylinder 0.01385 1
|
||||
fix zwalls1 all wall/gran/hertz/history primitive type 1 zplane 0.0
|
||||
fix zwalls2 all wall/gran/hertz/history primitive type 1 zplane 0.0553
|
||||
fix cylwalls all wall/gran/hertz/history primitive type 1 zcylinder 0.01385 0. 0. tangential_damping off
|
||||
|
||||
#cfd coupling
|
||||
#fix cfd all couple/cfd
|
||||
|
||||
#particle insertion
|
||||
group nve_group region reg
|
||||
region bc cylinder z 0.0 0.0 0.012 0.02 0.03 units box
|
||||
fix ins nve_group pour 10000 1 1 vol 0.7 100 diam uniform 0.001 0.001 dens uniform 200 200 vel uniform 0. 0. 0. 0. -1.0 region bc
|
||||
#particle distributions and insertion
|
||||
region bc cylinder z 0.0 0.0 0.012 0. 0.055 units box
|
||||
fix pts1 all particletemplate/sphere 1 atom_type 1 density constant 200 radius constant 0.0005
|
||||
fix pdd1 all particledistribution/discrete 1. 1 pts1 1.0
|
||||
|
||||
fix ins all insert/pack seed 100001 distributiontemplate pdd1 vel constant 0. 0. -1. insert_every once overlapcheck yes all_in yes particles_in_region 10000 region bc
|
||||
|
||||
#apply nve integration to all particles that are inserted as single particles
|
||||
fix integr nve_group nve/sphere
|
||||
fix integr all nve/sphere
|
||||
|
||||
|
||||
#screen output
|
||||
|
||||
@ -28,7 +28,7 @@ fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
|
||||
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
||||
|
||||
#pair style
|
||||
pair_style gran/hertz/history 1 0 #Hertzian without cohesion
|
||||
pair_style gran/hertz/history #Hertzian without cohesion
|
||||
pair_coeff * *
|
||||
|
||||
#timestep, gravity
|
||||
@ -36,8 +36,10 @@ timestep 0.00001
|
||||
fix gravi all gravity 9.81 vector 0.0 0.0 -1.0
|
||||
|
||||
#walls
|
||||
fix zwalls all wall/gran/hertz/history 1 0 zplane 0.0 0.0553 1
|
||||
fix cylwalls all wall/gran/hertz/history 1 0 zcylinder 0.01385 1
|
||||
#walls
|
||||
fix zwalls1 all wall/gran/hertz/history primitive type 1 zplane 0.0
|
||||
fix zwalls2 all wall/gran/hertz/history primitive type 1 zplane 0.0553
|
||||
fix cylwalls all wall/gran/hertz/history primitive type 1 zcylinder 0.01385 0. 0. tangential_damping off
|
||||
|
||||
# change the particles density
|
||||
set group all density 2000
|
||||
@ -47,8 +49,7 @@ fix cfd all couple/cfd couple_every 100 mpi
|
||||
fix cfd2 all couple/cfd/force
|
||||
|
||||
#apply nve integration to all particles that are inserted as single particles
|
||||
#group nve_group region reg
|
||||
fix integr nve_group nve/sphere
|
||||
fix integr all nve/sphere
|
||||
|
||||
#center of mass
|
||||
compute centerOfMass all com
|
||||
|
||||
@ -28,7 +28,7 @@ fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
|
||||
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
||||
|
||||
#pair style
|
||||
pair_style gran/hertz/history 1 0 #Hertzian without cohesion
|
||||
pair_style gran/hertz/history #Hertzian without cohesion
|
||||
pair_coeff * *
|
||||
|
||||
#timestep, gravity
|
||||
@ -36,8 +36,9 @@ timestep 0.00001
|
||||
fix gravi all gravity 9.81 vector 0.0 0.0 -1.0
|
||||
|
||||
#walls
|
||||
fix zwalls all wall/gran/hertz/history 1 0 zplane 0.0 0.0553 1
|
||||
fix cylwalls all wall/gran/hertz/history 1 0 zcylinder 0.01385 1
|
||||
fix zwalls1 all wall/gran/hertz/history primitive type 1 zplane 0.0
|
||||
fix zwalls2 all wall/gran/hertz/history primitive type 1 zplane 0.0553
|
||||
fix cylwalls all wall/gran/hertz/history primitive type 1 zcylinder 0.01385 0. 0. tangential_damping off
|
||||
|
||||
# change the particles density
|
||||
set group all density 2000
|
||||
@ -47,8 +48,7 @@ fix cfd all couple/cfd couple_every 100 mpi
|
||||
fix cfd2 all couple/cfd/force
|
||||
|
||||
#apply nve integration to all particles that are inserted as single particles
|
||||
#group nve_group region reg
|
||||
fix integr nve_group nve/sphere
|
||||
fix integr all nve/sphere
|
||||
|
||||
#center of mass
|
||||
compute centerOfMass all com
|
||||
|
||||
Binary file not shown.
@ -18,3 +18,8 @@ dummyfile
|
||||
dummyfile
|
||||
dummyfile
|
||||
dummyfile
|
||||
dummyfile
|
||||
dummyfile
|
||||
dummyfile
|
||||
dummyfile
|
||||
dummyfile
|
||||
|
||||
@ -27,17 +27,20 @@ fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
||||
fix m5 all property/global characteristicVelocity scalar 2.0
|
||||
|
||||
#pair style
|
||||
pair_style gran/hooke 1 0 #Hookean without cohesion
|
||||
pair_style gran/hooke/history #Hookean without cohesion
|
||||
pair_coeff * *
|
||||
|
||||
#timestep, gravity
|
||||
timestep 0.00001
|
||||
fix gravi all gravity 9.81 vector 0.0 -1.0 0.0
|
||||
|
||||
#walls
|
||||
fix xwalls all wall/gran/hooke 1 0 xplane 0.0 0.1 1
|
||||
fix ywalls all wall/gran/hooke 1 0 yplane 0 0.1 1
|
||||
fix zwalls all wall/gran/hooke 1 0 zplane 0 0.01 1
|
||||
#walls (liggghts 2.0)
|
||||
fix xwalls1 all wall/gran/hooke/history primitive type 1 xplane 0.0
|
||||
fix xwalls2 all wall/gran/hooke/history primitive type 1 xplane 0.1
|
||||
fix ywalls1 all wall/gran/hooke/history primitive type 1 yplane 0.0
|
||||
fix ywalls2 all wall/gran/hooke/history primitive type 1 yplane 0.1
|
||||
fix zwalls1 all wall/gran/hooke/history primitive type 1 zplane 0.0
|
||||
fix zwalls2 all wall/gran/hooke/history primitive type 1 zplane 0.01
|
||||
|
||||
#-import mesh from cad:
|
||||
#fix cad1 all mesh/gran hopperGenauerSALOME.stl 1 1.0 0. 0. 0. 0. 180. 0.
|
||||
|
||||
@ -38,7 +38,7 @@ meshMotionModel noMeshMotion;
|
||||
|
||||
regionModel allRegion;
|
||||
|
||||
IOModel off;
|
||||
IOModel basicIO;
|
||||
|
||||
dataExchangeModel twoWayMPI;//twoWayFiles;//oneWayVTK;//
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ clc;
|
||||
fprintf('\ncalc Ergun eqn:\n')
|
||||
dp = 0.022; % particle diameter
|
||||
phip = 1; % sphericity
|
||||
epsilon = 0.41; % voidfraction
|
||||
epsilon = 0.4436; % voidfraction
|
||||
U = 1; % superficial velocity
|
||||
L = 1; % length of bed
|
||||
rhoG = 1.188; % density in kg/m
|
||||
|
||||
@ -13,9 +13,6 @@ processors 1 1 2
|
||||
#read the restart file
|
||||
read_restart ../DEM/liggghts.restart
|
||||
|
||||
#region reg block 0 0.1 0 0.1 0 0.1 units box
|
||||
#create_box 1 reg
|
||||
|
||||
neighbor 0.003 bin
|
||||
neigh_modify delay 0 binsize 0.01
|
||||
|
||||
@ -28,7 +25,7 @@ fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
|
||||
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
||||
|
||||
#pair style
|
||||
pair_style gran/hertz/history 1 0 #Hertzian without cohesion
|
||||
pair_style gran/hertz/history #Hertzian without cohesion
|
||||
pair_coeff * *
|
||||
|
||||
#timestep, gravity
|
||||
@ -36,15 +33,19 @@ timestep 0.00001
|
||||
fix gravi all gravity 9.81 vector 0. 0. -1.
|
||||
|
||||
#walls
|
||||
fix xwalls all wall/gran/hertz/history 1 0 xplane 0. 0.1 1
|
||||
fix ywalls all wall/gran/hertz/history 1 0 yplane 0. 0.1 1
|
||||
fix zwalls all wall/gran/hertz/history 1 0 zplane 0. 1.1 1 #temperature 283
|
||||
#walls
|
||||
fix xwalls1 all wall/gran/hertz/history primitive type 1 xplane 0.
|
||||
fix xwalls2 all wall/gran/hertz/history primitive type 1 xplane 0.1
|
||||
fix ywalls1 all wall/gran/hertz/history primitive type 1 yplane 0.
|
||||
fix ywalls2 all wall/gran/hertz/history primitive type 1 yplane 0.1
|
||||
fix zwalls1 all wall/gran/hertz/history primitive type 1 zplane 0.
|
||||
fix zwalls2 all wall/gran/hertz/history primitive type 1 zplane 1.1
|
||||
|
||||
|
||||
#heat transfer
|
||||
fix ftco all property/global thermalConductivity peratomtype 5. # lambda in [W/(K*m)]
|
||||
fix ftca all property/global thermalCapacity peratomtype 0.1 # cp in [J/(kg*K)]
|
||||
fix heattransfer all heat/gran 600.
|
||||
fix heattransfer all heat/gran initial_temperature 600.
|
||||
|
||||
#set particle temperature for the bed
|
||||
run 0
|
||||
|
||||
73
tutorials/cfdemSolverPisoScalar/packedBedTemp/DEM/in.packing
Normal file
73
tutorials/cfdemSolverPisoScalar/packedBedTemp/DEM/in.packing
Normal file
@ -0,0 +1,73 @@
|
||||
#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 2
|
||||
|
||||
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/hertz/history #Hertzian without cohesion
|
||||
pair_coeff * *
|
||||
|
||||
timestep 0.00001
|
||||
|
||||
#walls
|
||||
fix xwalls1 all wall/gran/hertz/history primitive type 1 xplane 0.
|
||||
fix xwalls2 all wall/gran/hertz/history primitive type 1 xplane 0.1
|
||||
fix ywalls1 all wall/gran/hertz/history primitive type 1 yplane 0.
|
||||
fix ywalls2 all wall/gran/hertz/history primitive type 1 yplane 0.1
|
||||
fix zwalls1 all wall/gran/hertz/history primitive type 1 zplane 0.
|
||||
fix zwalls2 all wall/gran/hertz/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
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user