Immodium and codeine will slow output down. Tramadol will but to a lesser extent. Try eating a low residue diet, no fruit, veg or fibre. Stick to eggs, cheese, chicken, white bread, unrefined pasta or white rice. It is a bit bland but it takes less digesting and as you are only recently out of surgery it will take a while for bowel to settle back down again.
I also have argument with surgeons after I have operations as my bowel goes into shock for 5 days and when it starts working has huge liquid output and they want to keep me in til it thickens. I refuse and say send me home on immodium and codeine, which works for me and after a week or two it is fine again.
Crohn's dx 1989, loop ileo 1992, end ileo 1992. Arthritis developed 1990 Stoma abcess 1995. Azathioprine started 1995. Panprocolorectomy 1999. Stillbirth 2000, antiphospholipid syndrome dx 2000. Flare up 2004, stoma abcess and strictoplasty 2004. Low blood pressure dx with impaired kidney function 2006, fludrocortisone pres. flare up 2010, steroids, Humira, codeine.