Simulating Hydrogen diffusion out of a chamber (in air)

Click For Summary
SUMMARY

The discussion centers on simulating hydrogen diffusion from a small container (10x10x15 cm) through a 30 mm² opening. The user employed Visual Basic 6 to model the diffusion process, utilizing a diffusion constant (D) of 6.3E-5 for hydrogen in air, leading to a calculated molecular diffusion speed of v = (2*D)^(0.5). The user expressed concerns about the perceived slowness of the diffusion rate and sought validation of the simulation's accuracy and methodology.

PREREQUISITES
  • Understanding of molecular diffusion principles
  • Familiarity with Visual Basic 6 programming
  • Knowledge of diffusion constants, specifically for hydrogen in air
  • Basic grasp of physical chemistry concepts related to gas behavior
NEXT STEPS
  • Research the governing equations of diffusion, such as Fick's laws
  • Explore advanced simulation techniques in MATLAB for diffusion modeling
  • Learn about the effects of temperature and pressure on diffusion rates
  • Investigate alternative programming languages for scientific simulations, such as Python with SciPy
USEFUL FOR

Researchers in physical chemistry, engineers working on gas diffusion systems, and programmers developing simulations for molecular behavior will benefit from this discussion.

Oliver
Messages
1
Reaction score
0
Hello,

I've a fysical problem.

A small container (about 10x10x15cm) has a source which releases hydrogen at a small rate.

The container has an small oppening 30mm^2.

The question is how fast does the hydrogen diffuse to the outside of the container.

I've made simmulation (see attachment) in visual basic 6.
In the simulation I took a molicule diffusion speed of
v = (2*D)^(0.5) (per sec).
D = diffusion constant of hydrogen in air (6.3E-5, giancoli)

The diffution seems to been veeerrrrryyyy slow.
Does this seem correct? Is it good by proxy?


I've included a small visual basic program and source code (not commented).
The program simulates hydrogen diffusion in a user made chamber. The occupation is calculated in the user defined box.

Everybody is free to use the program and sourcecode.


Oliver
 

Attachments

Physics news on Phys.org
Please, post the governing equations.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
5K
  • · Replies 4 ·
Replies
4
Views
10K
  • · Replies 1 ·
Replies
1
Views
12K