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

Using CEL to express mass source

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2011, 00:19
Default Using CEL to express mass source
  #1
Member
 
Ji Guozhao
Join Date: Jan 2011
Posts: 44
Rep Power: 15
jiguozhao is on a distinguished road
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
Attached Images
File Type: jpg problem.jpg (56.7 KB, 26 views)
jiguozhao is offline   Reply With Quote

Old   March 15, 2011, 07:29
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Do you have to use a source/sink? Do any of the available mass transfer across a thin film models do what you want?
ghorrocks is offline   Reply With Quote

Old   March 15, 2011, 18:03
Default
  #3
Member
 
Ji Guozhao
Join Date: Jan 2011
Posts: 44
Rep Power: 15
jiguozhao is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Do you have to use a source/sink? Do any of the available mass transfer across a thin film models do what you want?
Thank you for your reply!
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?
jiguozhao is offline   Reply With Quote

Old   March 16, 2011, 15:08
Default
  #4
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17
joey2007 is on a distinguished road
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 ...."
joey2007 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
[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


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