output the dragforce
In the DEM inpustscript file, I use the comand:
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 10
thermo_modify lost ignore norm no
compute_modify thermo_temp dynamic yes
#insert the first particles so that dump is not empty
dump myDump all stl 1 ../DEM/post/dump_*.stl
#run 1
Forums:
- Read more about output the dragforce
- 8 comments
- Log in or register to post comments