Computational fluid dynamics (C.F.D.) aided development of a membrane bioreactor for waste gas treatment.