How to use user provided drag force

Hello everyone, I want to use user drag, and for that, I have implemented the same equation in Mfix, but I’ve called it a subroutine, DRAG_USR, so that I can verify the results and confirm that the drag implementation is working as expected. when I used the already implemented drag the particles are fluidizing but when I used the same equation in USER_DRAG file and compile this with custom solver the particles are not fluidizing at same gas velocity. How I can debug the issue that error is in drag file or compilation issue ? The case file is attached here
fb_dem.mfx (11.0 KB)
usr_drag.f (2.6 KB)
is there any tutorial where user-provided drag has been used?