CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

Mass diffusion (ie air or oxygen) through membrane

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 28, 2013, 07:11
Default Mass diffusion (ie air or oxygen) through membrane
  #1
New Member
 
Join Date: Feb 2013
Posts: 15
Rep Power: 4
zania is on a distinguished road
Hi
I am new to OpenFoam and I just managed to run the planeWall2D tutorial (I am not quit sure about all the files).
To study:
Fluid mass diffusion (ie air or oxygen) through membrane (ie food bag). Next I will have platelets in it (rectangular leaving polymer space about its dimensions around it).
Fick's first law is applicable, the diffusive mass flux

or the analogue Fourierís Law of Heat Conduction Heat flux (W/m2)

Q1) Is there a solver for mass flux?
Q2) What is the appropriate solver (laplasianfoam is only for the second law?)
Q3) To start could I use files from the planeWall2D tutorial (leaving out the boundaries near the wall ?
Q3.1)Is there a simpler tutorial similar to my case?
Q4) In the planeWall2D tutorial if I manage to change the 1)dimensions for mass-diffusivity and concentration 2)The value of high and low concentration 3) the mass-diffusivity, would that be enough for a start?
Q5) Would be easier for me to keep only the necessary files (I was not able to pick the necessary one) and build on them next?
Thanks in advance
zania is offline   Reply With Quote

Old   April 14, 2013, 13:34
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi zania,

"planeWall2D"? That's not one of the official tutorials... is it this one: http://openfoamwiki.net/index.php/Ge..._-_planeWall2D

If I understand your questions correctly, I think I'm only able to answer some of your questions:
  • Q1) I think the "porous" ones are the ones you're looking for. You can find in the "tutorials" folder cases that are porous-related by running:
    Code:
    find $FOAM_TUTORIALS -iname "*porous*"
  • Q2) laplacianFoam is a very basic solver. And I'm not sure you'll be able to set-up a wall barrier for using with that solver...
  • Q3) I think you can adjust the parameters in the file "constant/wall/solidThermophysicalProperties". The wall thickness is controlled in "system/topoSetDict" (divides the original mesh into 3 blocks) and "constant/polyMesh/blockMeshDict" (creates the original mesh).
  • Q5) Like I said in Q1, the porous solvers are probably the ones you need. But I'm not sure of which one of them you need... as for a infinitely thin wall, look for "porous baffles".
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   April 21, 2013, 01:36
Default
  #3
New Member
 
Join Date: Feb 2013
Posts: 15
Rep Power: 4
zania is on a distinguished road
Hello Bruno
Thank you for your response.
That is the tutorial.
Iíll check your subjections
Best regards .
zania is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to stop diffusion and advection in a zone for selected species. hda FLUENT 0 March 19, 2012 00:59
Does buoyancy affect mass diffusion? evcelica Main CFD Forum 2 August 9, 2011 10:25
gas diffusion through membrane sosat1012 CFX 0 September 8, 2010 08:14
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
Mass Diffusion Problem : How to? Rahul CFX 3 October 27, 2008 15:15


All times are GMT -4. The time now is 22:56.