I had a temp ileostomy reversed in July, 2010 after having had the bad for about two and a half months. I didn't have a lot of post-op pain from the stiches or anything like that, but I had enough gas to send a rocket to the moon and back. The best thing for that is to walk.....and walk.....and walk.....and then, for good measure.....walk. I spent the second night after the reversal walking from about 10PM to maybe 4AM, with about ten minutes between walks just to rest a little. The pain was very intense. Then, about 4AM, I started to go......and go.....and go.....and, for good measure.....go. I believe between 4AM and 8PM, I had 15 bowel movements. My surgeon finally took pity on me after 8PM when the nurses called her and she said I could have an immodium. That was the first and, as it turns out, the only one I had to take.
Even though they told me I could have a normal diet, I stayed on the ostomy diet for about three weeks after my surgery and then started to gradually add things back in. The hardest part for me, since I love them so much, was delaying eating veggies like broccoli and cauliflower. But I eat those now with no problems.
Even after I got home, I continued to walk three times a day until I could get back to a regular daily workout at the gym. That finally happened in mid to late August. My ostomy wound needed to be packed as it was still seeping even after I got out of the hospital, so my surgeon didn't clear me (nor did I clear myself) for anything heavy until that was all healed.
Everything is fine now, and will be soon for your daughter as well. Congrats on getting home and best wishes for a speedy recovery.