To evaluate the disposal effluent from the Aldura refinery in Iraq, which comprises oily wastewater, a mathematical model has been developed for both forward osmosis (FO) and osmotic membrane bioreactor (OsMBR). The procedure is explained mathematically, accounting for both the concentration and polarization aspects. As a result of mathematical modeling, the water flux was determined by the osmotic pressure, the concentration, and the polarization of the feed and draw solutions. Based on traditional methods of predicting water flux using external and internal concentration polarizations, it is determined that water flux will occur in the first model (Model-1). To increase the accuracy of Model-1, the resistivity (K) of the solute has been modified to be independent of the diffusivity of the solute. The old model (Model-1) and the updated model (Model-2) overestimated water flux by 17 and 25%, respectively. It was possible to make a valid comparison between the experiment and theory based on the results of both experiments.