Reverse Osmosis

This Demonstration models a reverse osmosis process in which salt water at high pressure is fed to a chamber with a membrane that is only permeable to water. The outlet permeate stream is pure water at low pressure, and the retentate stream is water enriched in salt.
Use the sliders to set the pressure drop across the membrane, the inlet salt mass fraction and the stirring bar speed. Increasing the stirring speed decreases concentration polarization on the feed side of the membrane and increases water flux through the membrane. The inlet mass flow rate is fixed and the process is isothermal.
The water flux through the membrane is plotted versus the pressure drop across the membrane. The blue line represents the water flux when pure water is fed to the system. The green line represents the water flux when salt water is fed to the system. The dashed black line indicates the maximum water flux through the membrane. The values in the diagram on the right correspond to the conditions represented by the black dot, whose location is selected by the pressure drop slider. If the pressure drop is less than the osmotic pressure (orange dot on the axis), the system exhibits osmosis, and pure water permeates into the salt water feed.
Uncheck the "show diagram" box to remove the flow diagram on the right and display a larger graph of flux versus pressure drop.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


First, solve for the mass transfer coefficient using the equation:
where is the mass transfer coefficient,
is the rotational speed of the stirring bar (rad/s),
is the tank diameter (m),
is kinematic viscosity (),
is the Schmidt number (dimensionless) and
is the diffusivity of the solute in water ().
Then solve for the maximum solvent flux:
where is maximum water flux through the membrane () and is the density of water ().
Solve for the solvent flux:
where is mechanical pressure (atm),
is osmotic pressure (atm) and
is permeability of the membrane to the solvent ().
A material balance is done for salt across the system to get the value for the mass fraction of salt in the outlet stream, which is the same as the retentate mass fraction inside the tank (given the tank is well mixed):
where is inlet feed (kg/s), is the mole fraction of salt in the inlet stream, and is the area of the membrane ().
To find how much of the feed exits as the permeate, an overall mass balance is done:
where is the fraction of the feed that is purified and exits as the permeate, i.e., cut (dimensionless).
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2017 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+