Providing tangential velocities at walls using UDF

Hi, I have a DEM case where I have to provide tangential velocities to two plates between which particles are placed. I went through the conveyer belt tutorial and similarly used stl for creating geometry. For the udf files, i copied the files from conveyer belt, compiled the solver, added the keywords read_kf and ran the simulation. However it doesn’t seem to work. Where am I going wrong? I am very new to mfix, any help would be appreciated. I have uploaded my files as well
particlebetweenplates.zip (34.4 MB)

I think you need to change the belt direction for BC#3. It is currently in the negative z-direction, which is the normal direction, if you wan tit in the negative x-direction:

!           if(list(3)>0) belt_dir(list(3), :) = (/0., 0., -1./)
           if(list(3)>0) belt_dir(list(3), :) = (/-1., 0., 0./)

You can also try to increase the friction coefficient to see if it helps.

1 Like