CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Modelling multispecies passive diffusion in heterogeneous media

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2015, 09:57
Default Modelling multispecies passive diffusion in heterogeneous media
  #1
New Member
 
Tao Chen
Join Date: Sep 2015
Posts: 2
Rep Power: 0
anthonytchen is on a distinguished road
I'm new to OpenFOAM and in the past I used in-house C++ code to do simple meshing and the CVODE code to solve the discretised ODEs. I'm looking for advice how the following problem should be setup and solved in OpenFOAM.

Essentially it's a mass transfer problem, where a liquid solution containing several species diffuses through a media (no convection). The media is heterogeneous in the sense that the diffusivity is different at different locations; diffusivity also depends on the concentration of the species, because some chemicals interact with the media and change the diffusivity. Simulation needs to be transient.

I looked at a few threads talking about using reactingFoam and switching off the reactions, to deal with the multispecies. Also there are a few threads suggesting writing user-defined code and compile with OpenFOAM to handle "variable diffusivity". Also one thread suggests modifying scalarTransportFoam to handle multiple species. But I haven't figured out what is needed to solve my specific problem above.

Many thanks!
anthonytchen is offline   Reply With Quote

Old   November 30, 2015, 02:36
Default
  #2
Member
 
Yan Wang
Join Date: May 2015
Location: Beijing
Posts: 41
Rep Power: 11
wayne14 is on a distinguished road
Quote:
Originally Posted by anthonytchen View Post
I'm new to OpenFOAM and in the past I used in-house C++ code to do simple meshing and the CVODE code to solve the discretised ODEs. I'm looking for advice how the following problem should be setup and solved in OpenFOAM.

Essentially it's a mass transfer problem, where a liquid solution containing several species diffuses through a media (no convection). The media is heterogeneous in the sense that the diffusivity is different at different locations; diffusivity also depends on the concentration of the species, because some chemicals interact with the media and change the diffusivity. Simulation needs to be transient.

I looked at a few threads talking about using reactingFoam and switching off the reactions, to deal with the multispecies. Also there are a few threads suggesting writing user-defined code and compile with OpenFOAM to handle "variable diffusivity". Also one thread suggests modifying scalarTransportFoam to handle multiple species. But I haven't figured out what is needed to solve my specific problem above.

Many thanks!
Interesting problem, have you managed to solve it?
wayne14 is offline   Reply With Quote

Old   December 1, 2015, 10:27
Default
  #3
New Member
 
Tao Chen
Join Date: Sep 2015
Posts: 2
Rep Power: 0
anthonytchen is on a distinguished road
Quote:
Originally Posted by wayne14 View Post
Interesting problem, have you managed to solve it?
no not yet ...
anthonytchen is offline   Reply With Quote

Reply

Tags
diffusion, multispecies, openfoam


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
gas diffusion through porous solid media flo777 FLUENT 1 February 15, 2024 11:53
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Diffusion modelling through porous media?? Evergreen FLUENT 1 April 1, 2011 10:02
Porous media flow with diffusion albertinho OpenFOAM 0 March 31, 2010 18:14
Question for modelling flow in porous media legendyxg FLUENT 9 April 21, 2009 23:24


All times are GMT -4. The time now is 20:13.