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

How to simulate flow of 2 gases through the membrane.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2020, 06:28
Default How to simulate flow of 2 gases through the membrane.
  #1
New Member
 
Nyko
Join Date: Oct 2020
Posts: 6
Rep Power: 5
nyko21 is on a distinguished road
Hi, I'm really new to the ANSYS CFX and I got a problem. I need to simulate flow of 2 gases (NO2 and CO2) through the membrane, one gas should go through, and the other one should stop by the membrane (retentate) and go for the outlet. I got simple pipe with 3 components: first one is the smallest pipe, when i have inlet and let in my mixture, then i got 1 ring pipe which is membrane and then the biggest ring which is my permeate. Can anyone help what empirical reactions should i use for my permeate and retentate. I got inlet data, and im really struggling how to define my membrane and volume fractions value at the outlet for retentate and for permeate.
nyko21 is offline   Reply With Quote

Old   October 20, 2020, 07:37
Default
  #2
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
What exact question do you want to solve when performing this simulation?
And what reaction is taking place?
Gert-Jan is offline   Reply With Quote

Old   October 20, 2020, 07:46
Default
  #3
New Member
 
Nyko
Join Date: Oct 2020
Posts: 6
Rep Power: 5
nyko21 is on a distinguished road
I need to check how much of a mixture will be stopped by the membrane (retentate) and what will be separated through the membrane (permeate). Its just laminare flow of the mixture without heat exchange.
This is my geometry : https://ibb.co/cYMCT7m
The smallest pipe is where I insert my mixture with outlet for the retentate on the other side. Next is the first ring which is my porous membrane, and the second ring pipe is my permeate zone.
If it possible i can try to solve this simulation with just Air, but i don't now if it make sense to try separate 1 fluid through the membrane
nyko21 is offline   Reply With Quote

Old   October 20, 2020, 07:54
Default
  #4
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
In CFX your membrane is just an empty box. You need to feed it with properties/model to let the permeate go through and leave the retentate behind.
What do you have in mind for this? There is no membrane model in CFX that you can pick from the shelf. There are no adsorption models or what so ever.
You can model the membrane as a porous volume, to match your pressure drop, but separation is not included.
Gert-Jan is offline   Reply With Quote

Old   October 20, 2020, 08:07
Default
  #5
New Member
 
Nyko
Join Date: Oct 2020
Posts: 6
Rep Power: 5
nyko21 is on a distinguished road
In setup I have add a new material, and describe it as porous domain with all properties that i need. But my problem is that I don't know how to set correct equations of CO2 for both sides, permeat outlet and retentate leftovers.
nyko21 is offline   Reply With Quote

Old   October 20, 2020, 09:13
Default
  #6
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
1) In Materials, you have to define a mixture of both components.
2) In Domain, set one of the components as contraint

2) Set the incoming mass fraction of the other component at the inlet
3) let it run.
Gert-Jan is offline   Reply With Quote

Old   October 20, 2020, 10:04
Default
  #7
New Member
 
Nyko
Join Date: Oct 2020
Posts: 6
Rep Power: 5
nyko21 is on a distinguished road
Thanks, I will try this option. Should i left 0.0 mass fraction at the retentate and permate outlets for component that i define at inlet?
nyko21 is offline   Reply With Quote

Old   October 20, 2020, 10:10
Default
  #8
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
you don't prescribe the massfractions at the outlet. That should be an outcome of your simulation.
Gert-Jan is offline   Reply With Quote

Old   October 20, 2020, 10:27
Default
  #9
New Member
 
Nyko
Join Date: Oct 2020
Posts: 6
Rep Power: 5
nyko21 is on a distinguished road
Yes I know, but the default is set to 0.0 i cant choose any other option than massfraction for this. In domain I set CO2 Ideal Gas as Cointrant just like you said and N2 Ideal Gas I set as Transport Equations but for both Outlets there is no CO2 and on N2 there is only Mass Fraction option set default to 0.0

Screenshot of what I mean: https://ibb.co/YXHGTHZ

edit: My bad, I got selected Opening instead of Outlet.
nyko21 is offline   Reply With Quote

Old   October 20, 2020, 11:13
Default
  #10
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
Indeed. Use Outlet instead of opening.
Also, please don't add pictures via link.
Better add pictures directly in this forum via the menu "Go Advanced", at the bottom of your reply window.
Gert-Jan is offline   Reply With Quote

Old   October 20, 2020, 17:58
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Just checking: Are you using a multicomponent mixture for this, or a multiphase model?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 20, 2020, 18:22
Default
  #12
New Member
 
Nyko
Join Date: Oct 2020
Posts: 6
Rep Power: 5
nyko21 is on a distinguished road
At first I tried to use multicomponent mixture, but I can't make it work at all, so now I will try to create new mixture made of those two gases like Gert-Jan suggested.
nyko21 is offline   Reply With Quote

Old   October 20, 2020, 18:40
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
They are completely different physical models and are not interchangeable. You definitely should not be choosing the physical model just because your first attempt at using it did not work.

If the materials are mixed such that it is all a single phase and diffusion controls the motion then you need multicomponent mixture. If the mixture is separable phases (liquid/gas, continuous/droplets, continuous/bubbles) then you need a multiphase model.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks 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
About Some Concepts:Laminar flow, turbulent flow, steady flow and time-dependent flow Jing Main CFD Forum 8 October 5, 2018 17:02
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
How to simulate flow of a certain volume from an opening in fluent? obiscolly50 FLUENT 0 February 18, 2017 12:18
What is the best software to simulate flow through Electrostatics Precipitators (ESP) Putri Main CFD Forum 1 December 13, 2013 01:27
how to simulate orifice in supersonic flow? YING FLUENT 2 May 16, 2013 10:41


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