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

Porous membrane modelling

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By Cornelia
  • 2 Post By giack
  • 1 Post By giack
  • 1 Post By giack

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2015, 11:25
Default Porous membrane modelling
  #1
New Member
 
Cornelia Blanke
Join Date: Mar 2015
Posts: 4
Rep Power: 11
Cornelia is on a distinguished road
I am trying to set up a model with several hundred of porous membranes of size 1.3mē each. Their thickness is 0.003m and their Darcy's coefficient is 10e+10 m^(-2) - quite high!

My first idea was to use a porousBafflePressure BC inside the simpleFoam solver. But I found out that this BC is really unstable: it is already quite hard to get converged a simple test case, and it seems to be impossible for my real model.

So I had a deeper look into porousSimpleFoam solver. With a test case I found out that I have to use a very fine mesh inside my porous media and also next to my porous media in order to predict the pressure loss through the membrane accurately. If I use only 1-2 cell layers inside my membranes, the pressure drop is computed much too low. For my real model I would get a crazy amount of cells...


So I wonder if somebody can share some experiences or ideas on how I can set up my model efficiently:
- How do you usually model your porous membranes? As porous baffle or as porous media?
- Is there a good way to converge the porousBafflePressure BC?
- How fine is your mesh?
- etc.
Cornelia is offline   Reply With Quote

Old   November 20, 2015, 05:17
Default
  #2
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
Hi,

I have a similar problem (simulation of pressure drop through a membrane). Did you find the answer to your questions? How did you proceed in your simulations?

Many thanks
giack is offline   Reply With Quote

Old   November 20, 2015, 05:50
Default
  #3
New Member
 
Cornelia Blanke
Join Date: Mar 2015
Posts: 4
Rep Power: 11
Cornelia is on a distinguished road
Hi Giack,

Unfortunately there is still no working solution inside the official version of OpenFoam. At the moment I still have to use a commercial solver for such cases.

But there is a small company in Germany that has developed an extended porousBafffle boundary condition. Their name is www.dhcae-tools.com. If you are interested and willing to spend some money, just have a look.

That is also my plan at the moment, to find out more about it.
giack likes this.
Cornelia is offline   Reply With Quote

Old   October 13, 2016, 14:45
Default
  #4
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by Cornelia View Post
I am trying to set up a model with several hundred of porous membranes of size 1.3mē each. Their thickness is 0.003m and their Darcy's coefficient is 10e+10 m^(-2) - quite high!

My first idea was to use a porousBafflePressure BC inside the simpleFoam solver. But I found out that this BC is really unstable: it is already quite hard to get converged a simple test case, and it seems to be impossible for my real model.

So I had a deeper look into porousSimpleFoam solver. With a test case I found out that I have to use a very fine mesh inside my porous media and also next to my porous media in order to predict the pressure loss through the membrane accurately. If I use only 1-2 cell layers inside my membranes, the pressure drop is computed much too low. For my real model I would get a crazy amount of cells...


So I wonder if somebody can share some experiences or ideas on how I can set up my model efficiently:
- How do you usually model your porous membranes? As porous baffle or as porous media?
- Is there a good way to converge the porousBafflePressure BC?
- How fine is your mesh?
- etc.
Hi Cornelia,

could you tell me how did you set membrane properties in transportProperties file?
Ahmed Khattab is offline   Reply With Quote

Old   October 17, 2016, 09:19
Default
  #5
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
Hi to all,

I solved the problem using the fan boundary condition. You can create an internal patch (zero tichkness) with createBaffle and then use the fan boundary condition for the pressure field.

In this way you essentially create two coincident patches with cyclic behavior and impose a pressure drop through them.

I attached an example of the files p and createBaffleDict.

I hope it will be useful to you

createBafflesDict.txt

p.txt
mizzou and batdan like this.
giack is offline   Reply With Quote

Old   January 30, 2017, 09:54
Default Nanofiltration modelling
  #6
New Member
 
Jano van Rensburg
Join Date: Jan 2017
Posts: 3
Rep Power: 9
JanoVR is on a distinguished road
Good day,

I am really new to CFD modelling.
I am trying to model an organic solvent nanoflitration system; ie a membrane system separating an organic compound and a homogeneous catalyst.
The catalyst must be rejected by the membrane.

I am not sure how to go about simulating a membrane?
I have read about porous mediums, but I am not sure if this will be suffice for my system?
Is there maybe a tutorial on membrane filtration I can study?

Any advice will be much appreciated.

Thank you
JanoVR is offline   Reply With Quote

Old   March 27, 2017, 08:19
Default
  #7
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
Hi to all,

I have to correct my previous statement. Indeed the fan BC is used for pressure rise, while for pressure drop the porousBafflePressure bc can be used.
I had the same problems described by Cornelia in the first post only for high values of the pressure drop. In these cases a stable solution can be reached decreasing the relaxation factors. I didn't experience any problem with this boundary condition till a pressure drop of the order of 700 Pa.
giack is offline   Reply With Quote

Old   March 27, 2017, 08:20
Default
  #8
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
Hi to all,

I have to correct my previous statement. Indeed the fan BC is used for pressure rise, while for pressure drop the porousBafflePressure bc can be used.
I had the same problems described by Cornelia in the first post only for high values of the pressure drop. In these cases a stable solution can be reached decreasing the relaxation factors. I didn't experience any problem with this boundary condition till a pressure drop of the order of 700 Pa.
giack is offline   Reply With Quote

Old   May 10, 2018, 03:54
Default
  #9
New Member
 
Sarath
Join Date: Mar 2017
Location: Spain
Posts: 22
Rep Power: 9
sk11 is on a distinguished road
Hey giack,
Are you still working on this? I am using porousBafflePressure BC as well for obtaining pressure drop through a porous baffle. But I experience a problem in obtaining the surface as it is while meshing. How do you manage to get the net_135.stl as it is? Is this geometry (surface) curved? I tried using regionwise meshing aroud the geometry using snappyHexMesh, but I still couldnot snap the mesh to the surface of the geomtry to obtain the original shape. It would be nice to know how you managed to tackle this.
Many thanks.
Sarath
sk11 is offline   Reply With Quote

Old   May 14, 2018, 09:38
Default
  #10
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
Hi,

the geometry of my net is in attachment. I had problems with the mesh of the net too.

I solved in the following way:

- create the stl net_closed (in attachment)
- mesh the internal part with snappy
net_closed
{
// Surface-wise min and max refinement level

level (6 6);
faceType internal;
faceZone net_closed;
cellZone net_closed;
cellZoneInside inside;

}
- apply the createBaffle

If the cell zone is meshed properly than the net will be represented in good way, since it corresponds to an internal surface that already exists. I also added a refinement region around the net_closed geometry

Giacomo
Attached Files
File Type: zip net.zip (702 Bytes, 40 views)
sk11 likes this.
giack is offline   Reply With Quote

Old   May 14, 2018, 10:17
Default
  #11
New Member
 
Sarath
Join Date: Mar 2017
Location: Spain
Posts: 22
Rep Power: 9
sk11 is on a distinguished road
Thanks alot Giacomo.

I believe this will work for me. My net is already a closed one.

They are able to mesh to the surface with out creating the patch becuase of the face type 'internal' isn't it?


Regards,
sarath
sk11 is offline   Reply With Quote

Old   May 16, 2018, 03:44
Default
  #12
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
Yes, exact
sk11 likes this.
giack is offline   Reply With Quote

Reply


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
Modelling Combustion in Porous Zone tanjinjack FLUENT 2 September 26, 2016 04:10
porous filtration membrane area in model catherina CFX 3 October 27, 2011 06:05
Modelling sound propagation through layered porous media nkinar Main CFD Forum 0 July 4, 2010 14:45
Membrane porous jump problem in VOF Hema kothimbare FLUENT 0 August 7, 2009 01:22
Question for modelling flow in porous media legendyxg FLUENT 9 April 21, 2009 22:24


All times are GMT -4. The time now is 02:12.