# Modelling a membrane separation process

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

 October 17, 2010, 07:39 Modelling a membrane separation process #1 New Member   Join Date: Mar 2009 Posts: 14 Rep Power: 9 Hi, I'm trying to simulate a membrane separation process. I'm thinking of using two fluid domains (feed and permeate) separated by a membrane through which there is a solution-dependant flux. The geometry I'm considering is rectangular. Can anyone give me some tips as to how to set up this problem in openFOAM? Many thanks

 October 26, 2010, 05:14 Membrane separation #2 New Member   Join Date: Mar 2009 Posts: 14 Rep Power: 9 Hello, I'm quite new to OpenFOAM, and I would really appreciate some pointers here. I'm trying to solve a scalar transport equation (laminar for now) in a recatangulare domain separated in the middle by membrane. The type of fluid is the same above and below the membrane, only the concentration of the scalar is different (part of what is being solved for). I was thinking of using a scalar transport solver similar to the one described in OpenFOAMWiki "How to add temperature to icoFoam". I managed to create the geometry using blockMesh (using a separate block for each of the two fluid regions), but when I tried to test with a (simplified) boundary condition that simulates the membrane (by defining a patch on the shared internal block face), blockMesh complained about the patch on the internal face. So my question for now is: how do I create an internal patch on which I would later define a custom boundary condition? Second, and more importantly, am I on the right track, or should I start from a different solver/tutorial? Any help is really appreciated!

 October 26, 2010, 05:31 #3 New Member   Patricia Join Date: Oct 2010 Posts: 22 Rep Power: 7 Hello sfalsharif, the scalar transport solver that you suggest is certainly a good choice. You should create two individual meshes for both sides of the membrane. Have a look at the chtMultiRegionFoam tutorial which demonstrates how to connect the two regions and how to define the boundary conditions (though for different physcis). It is probably not possible to define your complete case including the membrane in one blockMeshDict. Patricia

 Tags membrane separation, multiple domains, problem set-up

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post DoctorPDV CFX 2 July 28, 2009 06:07 Dan O'Brien CFX 2 November 6, 2007 11:10 Nick FLUENT 1 October 13, 2006 04:47 Nick Main CFD Forum 0 October 7, 2006 05:27 Peter FLUENT 0 August 2, 2002 14:27

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