some GIs find focus in doing everything to reduce inflammation which is good because of what you describe... of this scenario, in evaluating why you have this pain it is possible the bowel is very inflammed to prevent even the gas from passing properly. So eliminating the inflammation targets this. less inflammation less problems prior to the inflammation. perhaps the more specific remedy is to also include a week of anti-oxidants , liquid only,and nothing solid or bulky, that the gas is absorbed moreso in the liquid than any bulk in theory. conversely, im not sure adding bulk would be beneficial although it is also possible the bulk would fill and then send the gas on its way having filled this space now with food. I dont know, but i suspect that a gas pocket in the bowel as early as the stomach would have something to do with the pain from inflammation or obstruction further on. Perhaps ask if a simethicone (anti-gas) is appropriate for you to take.