|
[Sponsors] |
March 14, 2011, 00:19 |
Using CEL to express mass source
|
#1 |
Member
Ji Guozhao
Join Date: Jan 2011
Posts: 44
Rep Power: 15 |
Dear All:
I would like to simulate gas mass transfer across membrane in gas separation module. There is a membrane separating the module into shell domain and tube domain. As you know the mass transfer is driven by the pressure difference of feed side and perm side. I introduced the sink and source at both sides of membrane by means of CEL. But the problem is if you generate a mass source in one side, you can just use the parameters within this elements (like pressure) to express the source, but the source is also ralated to the parameters (pressure) at the other side element (the nearest element at the other domain). Can any one tell me how to introduce a source expressed by a equation involving parameters from two different elements (as the attached picture shows). Now I can just treat perm side (in tube domain) pressure as 0 when introducing sink at feed side, and treat feed side pressure as a constance when calculating the source at perm side, but this is not quite accurate. Is there any one who can help me? Best regards Ji Guozhao g.ji@uq.edu.au |
|
March 15, 2011, 07:29 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Do you have to use a source/sink? Do any of the available mass transfer across a thin film models do what you want?
|
|
March 15, 2011, 18:03 |
|
#3 | |
Member
Ji Guozhao
Join Date: Jan 2011
Posts: 44
Rep Power: 15 |
Quote:
to the best of my knowledge of CFX, only Darcy's Law is built in thin film model(porous media). unfortunately, it is not able to satisfy my requirement. so I have to introduce a sink at the feed side of the membrane and a source come out from the permeate side of the membrane. the quantity of source or sink is a function of the both pressures at two sides. if i introduce the sink at feed side, I can only use the pressure at feed side. but I can not use the pressure at perm side into the sink CEL. Do you know how to deal with my problem? |
||
March 16, 2011, 15:08 |
|
#4 |
Senior Member
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17 |
Guess you have two domains and and interface between. One solution would be to develop an interpolation in user fortran. Some month ago I talked to some people who did that for an implementation of an temperature periodicity. They required intense support by ANSYS and I guess also much time. I discussed it already below:
http://www.cfd-online.com/Forums/cfx...tml#post283314
__________________
- - - - - ------------------------------------------------------------------------ Please do not forget: I am not paid for answering your questions. Thousands of issues can cause a division by zero. Please do not capture a thread, with the argument: "I have the same issue ...." |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
Mass source, Momentum source theory. | diffo | FLUENT | 4 | August 21, 2009 11:26 |
Problem with Mass source, Momentum source theory | diffo | Fluent UDF and Scheme Programming | 0 | August 20, 2009 07:10 |
Udf for mass source in mixture domain | Asghari | FLUENT | 0 | July 12, 2006 02:16 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 14, 2000 00:03 |