CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

semipermeable membrane

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By Muhammad Shakaib
  • 1 Post By Olek
  • 1 Post By Olek

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2005, 03:56
Default semipermeable membrane
  #1
Muhammad Shakaib
Guest
 
Posts: n/a
Hi.

I have two connected parallel channels. In one channel there is flow of mixture having mass fraction of 0.01. I have define the common edge of channels as porous jump (which is actually a membrane). I want that only one component of the mixture flows in the other channel from the first one(through the membrane)whereas the other is stopped.

Thank you in advance for giving any ideas
kevin_mst likes this.
  Reply With Quote

Old   October 25, 2005, 06:49
Default Re: semipermeable membrane
  #2
Olek
Guest
 
Posts: n/a
Hello!

I have simulated simmilar process. I have solved the problem in the following way:

1. I have build a model (mesh) consisting of two channels (feed & permeate) that are divided by a wall(membrane). The wall had infinitesimal thickness (i.e. it was not made of cells but of faces). The mesh was built in such a way that the elements were highly condensed near the membrane.

2. I have written some macros that model sink on the feed side and sources on the permeate side in the cells adjacent to the membrane ( in this manner, the transport via the membrane has been simulated). The macros were done in such a way that they loop over the feed or pemreate channel's cells checking if they are adjacent to the membrane zone. If yes, then they compare fluid parameters (for example partial pressures or osmotic pressures) on both sides of the membrane and return a value of the sink or source (mass flux).

Hope it applies to your problem.

Olek
M.Bahoosh likes this.
  Reply With Quote

Old   October 26, 2005, 01:07
Default Re: semipermeable membrane
  #3
Muhammad Shakaib
Guest
 
Posts: n/a
Thank you Olek for your response. I have two questions related to your reply. 1. What was the zone type for membrane; porous jump or porous

2. How can I write macros to model source and sink.

Please help me, I am actuallly new user of fluent.

Muhammad Shakaib
  Reply With Quote

Old   October 27, 2005, 03:05
Default Re: semipermeable membrane
  #4
Olek
Guest
 
Posts: n/a
Hi!

The zone type for the membrane is WALL - so the construction of the model is: two fluid zones (permeate and feed) divided by a wall zone.

As I have written before - the macros loop over the fluid zones checking if a cell is adjacent to the membrane - if yes , then they produce sink or source in this cell. If you are completely new in the UDF programming you have to consult the UDF manual and , unfortunately, spend some time on it :| .

BR

Olek
ramakant likes this.
  Reply With Quote

Old   November 9, 2005, 11:05
Default Re: semipermeable membrane
  #5
katya
Guest
 
Posts: n/a
Hallo! I also try to simulate a membrane, but like a fluid porous zone. I'm very interested, how is defined the source term which you use. How many components have you in the system? Do you use your membrane for separation or distribution?

  Reply With Quote

Old   November 9, 2005, 11:36
Default Re: semipermeable membrane
  #6
Olek
Guest
 
Posts: n/a
Hello!

Temporarly, I have no time to wirte a longer letter and i will appear in my office in 4 days. You can expect my response then.

BR

Olek
  Reply With Quote

Old   March 30, 2017, 09:57
Default Expression for mass well
  #7
New Member
 
Ruben
Join Date: Feb 2017
Location: Eindhoven
Posts: 22
Rep Power: 9
Rubblevg is on a distinguished road
Hi all,

I'm having the same problem. I try to model a semipermeable membrane by setting a negative mass source for the permeating phase at one side and a positive mass source on the other side of the membrane. Only I am not sure what expression to use for the mass source so that it doesn't make the flow unphysical. Do you have any idea?
Rubblevg is offline   Reply With Quote

Old   December 8, 2019, 12:11
Default
  #8
New Member
 
Miketsap
Join Date: Nov 2019
Posts: 3
Rep Power: 6
miketsap is on a distinguished road
Quote:
Originally Posted by Olek
;125475
Hello!

I have simulated simmilar process. I have solved the problem in the following way:

1. I have build a model (mesh) consisting of two channels (feed & permeate) that are divided by a wall(membrane). The wall had infinitesimal thickness (i.e. it was not made of cells but of faces). The mesh was built in such a way that the elements were highly condensed near the membrane.

2. I have written some macros that model sink on the feed side and sources on the permeate side in the cells adjacent to the membrane ( in this manner, the transport via the membrane has been simulated). The macros were done in such a way that they loop over the feed or pemreate channel's cells checking if they are adjacent to the membrane zone. If yes, then they compare fluid parameters (for example partial pressures or osmotic pressures) on both sides of the membrane and return a value of the sink or source (mass flux).

Hope it applies to your problem.

Olek

Hello, can you post your UDF code for your situation? So we can use it as a guidance. Thank you
miketsap 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
porous filtration membrane area in model catherina CFX 3 October 27, 2011 06:05
gas diffusion through membrane sosat1012 CFX 0 September 8, 2010 08:14
Membrane porous jump problem in VOF Hema kothimbare FLUENT 0 August 7, 2009 01:22
semipermeable membrane Roman CFX 3 January 14, 2003 09:38
mass transfer from fluids to membrane Peter FLUENT 0 August 2, 2002 14:27


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