Osmosis in a 2D Gas JS Model DocumentsThis material has 3 associated documents. Select a document title to view a document's information. Main DocumentOsmosis in a 2-dimensional gas solution
written by
Kostas Papamichalis The Osmosis in 2D JavaScript Model shows a hard disk gas in a container with a semi-permeable barrier in which N particles are moving. The particles are discriminated into two classes: The "red" particles which cannot pass through the barrier and they are always trapped in chamber D1 and the "blue" particles which can pass through the barrier and move everywhere in the container. The number of "red" particles is n_r=N/3 and that of the "blues" is n_b=2N/3. At time t=0, there are equal numbers of particles in D1 an D2: N/3 "reds" and N/6 "blues" in D1 and N/2 "blues" in D2. Hence the pressure of the gas in each chamber is the same. But, because of the inability of the red particles to pass through the barrier, the number of particles in D1 gradually increases, and that of the particles in D2 decreases. As a result, the pressure in D1 increases with time, and the pressure in D2 decreases by the same amount. This process continues until the system reaches in a state of dynamical equilibrium, achieved when the number of "blue" particles is the same in both chambers. In the state of dynamical equilibrium, the total numbers of particles in each chamber are different. This implies that the final pressure in D1 is different than the pressure in D2; their difference is defined as the osmotic pressure of the system.
Last Modified September 15, 2020
Supplemental DocumentsOsmosis Simulation Theory and User GuideThe osmosis effect theory is described and simulated for the case of a 2D gas
Last Modified September 15, 2020
This file is included in the full-text index. Source Code DocumentsOsmosis Source CodeThe EJS source code for the Osmosis model.
Last Modified September 15, 2020
|