Spasman,
Trapped gas can be extemely painful, and I feel for you. There are a lot of people here who have had colectomies due to colonic inertia or chronic constipation and feel a lot better now. I had a proctocolectomy due to severe Crohn's and feel great now. I can tell you that if you have an ostomy, there is no "throttle" with a stoma, so if there is gas, it just comes out quietly into the bag. Have you discussed any of this with your doctor?
Take care,
Cecilia