Detail Page

Item Picture
Osmosis in a 2D Gas JS Model
written by Kostas Papamichalis
The Osmosis in 2D Gas 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.  

The simulation records the number of particles in each chamber, at a specific sequence of time moments, and calculates the corresponding pressures, in real time. In parallel, for every time-step of the simulation, the program calculates the theoretical values of the particles' numbers and the pressures in D1 and D2 derived by the theoretical model, and the corresponding graphs are composed.
1 supplemental document is available
1 source code document is available
Subjects Levels Resource Types
Education Practices
- Active Learning
= Cooperative Learning
= Inquiry Learning
= Modeling
= Problem Solving
- Instructional Material Design
= Activity
= Project
= Simulation
- Teacher Preparation
= Research
- Technology
= Computers
= Distance Education
= Multimedia
Thermo & Stat Mech
- Ensembles
= Boltzmann Distribution
= Maxwell Velocity Distribution
- First Law
= Internal Energy
- Kinetic and Diffusive Processes
= Approach to Equilibrium
= Boltzmann Equation
= Diffusion
= Kinetic Theory
- Models
= Ideal Gas
- Probability
= Probability Density
= Random Walks
- Second and Third Law
= Applications
- Thermal Properties of Matter
= Pressure
- Lower Undergraduate
- Graduate/Professional
- Upper Undergraduate
- Instructional Material
= Activity
= Course
= Demonstration
= Interactive Simulation
= Lecture/Presentation
= Lesson/Lesson Plan
= Problem/Problem Set
= Project
= Tutorial
- Reference Material
= Bibliography
- Tool
= Code
= Software
- Audio/Visual
= Movie/Animation
Intended Users Formats Ratings
- Learners
- Professional/Practitioners
- Researchers
- Educators
- text/html
- application/pdf
- application/javascript
  • Currently 0.0/5

Want to rate this material?
Login here!


Mirror:
http://users.sch.gr/kostaspapamic…
Access Rights:
Free access
License:
This material is released under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 license.
Courtesy of:
Kostas Papamichalis
Record Creator:
Metadata instance created September 14, 2020 by kostas papamichalis
Record Updated:
September 15, 2020 by Wolfgang Christian
Last Update
when Cataloged:
September 9, 2020
Other Collections:

ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
K. Papamichalis, (2020), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15554&DocID=5401).
AJP/PRST-PER
K. Papamichalis, Osmosis in a 2D Gas JS Model, (2020), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15554&DocID=5401>.
APA Format
Papamichalis, K. (2020, September 9). Osmosis in a 2D Gas JS Model. Retrieved October 24, 2020, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15554&DocID=5401
Chicago Format
Papamichalis, Kostas. Osmosis in a 2D Gas JS Model. September 9, 2020. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15554&DocID=5401 (accessed 24 October 2020).
MLA Format
Papamichalis, Kostas. Osmosis in a 2D Gas JS Model. 2020. 9 Sep. 2020. 24 Oct. 2020 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15554&DocID=5401>.
BibTeX Export Format
@misc{ Author = "Kostas Papamichalis", Title = {Osmosis in a 2D Gas JS Model}, Volume = {2020}, Number = {24 October 2020}, Month = {September 9, 2020}, Year = {2020} }
Refer Export Format

%A Kostas Papamichalis
%T Osmosis in a 2D Gas JS Model
%D September 9, 2020
%U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15554&DocID=5401
%O text/html

EndNote Export Format

%0 Electronic Source
%A Papamichalis, Kostas
%D September 9, 2020
%T Osmosis in a 2D Gas JS Model
%V 2020
%N 24 October 2020
%8 September 9, 2020
%9 text/html
%U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15554&DocID=5401


Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

Osmosis in a 2D Gas JS Model:

Is Based On Easy Java Simulations Modeling and Authoring Tool

Use the Easy Java Simulations Modeling and Authoring Tool to edit and to explore the source code for the Osmosis in a 2-dimensional gas solution.

relation by Wolfgang Christian

Know of another related resource? Login to relate this resource to it.
Save to my folders

Contribute

Related Materials

Similar Materials