|
[Sponsors] |
July 28, 2014, 16:17 |
UDF bubble diameter
|
#1 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
Hello all,
I'm writing a UDF for mass transfer between the gas and liquid phase in the eulerian multiphase model. One of the parameters in the Kla is of course the bubble size (or sauter mean diameter). Now, I was looking for a macro to read this diameter from FLUENT but could not find one. For regular calculations, this is not extremely problematic as the bubble diameter can be fixed in the UDF. But as I want to move towards population balance models this becomes somewhat more problematic - I need the local bubble diameter and bin distribution of sizes. I know people used kla models with population balances - at least they published work on it - but could not find a UDF code that does something like that, or a way to load the local bubble distribution into my UDF. Could anyone help me out on this? Thanks in advance, Cees |
|
August 1, 2014, 04:51 |
|
#2 |
Senior Member
Join Date: Nov 2010
Posts: 103
Rep Power: 16 |
Hi,
You can use Code:
C_PHASE_DIAMETER(c,t) For the second part, however, when you are solving a PBE, and I am assuming here you are solving it via tracking moments of an NDF, you might be able to get away by storing the moments into UDS(s) and then use the stored moments to build the size distribution function, or at least get its mean and variance. cheers! |
|
August 1, 2014, 15:45 |
|
#3 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
Hi Sun,
Thanks! I didn't stumble across that one yet. I did find C_PB_DISCI(c,t,i) which should give the volume fraction per bin i in a pop. balance model; so combining that with knowing the bin size should get me there, I think. Another issue I'm now facing (for the single bubble size) is that FLUENT does not seem to recognize my mass transfer UDF, also when I turn `use linearized m.t. udf' off. It simply says no m.t. UDF is loaded. Did anyone experience this problem? Maybe using a linearized version solves it, but haven't worked on that yet. Best, Cees |
|
August 1, 2014, 16:01 |
|
#4 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
nvm, fixed it. it seems to matter if you switch between m.t. and linearized m.t. before or after compiling...
|
|
April 16, 2015, 06:47 |
a littie more explanation
|
#5 |
Member
majid kamyab
Join Date: Jul 2014
Posts: 32
Rep Power: 12 |
could you please give me more details?
could you find bubble diameter in population balance model? how? |
|
April 16, 2015, 11:49 |
|
#6 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
I never worked with the discrete population balance models in the end, switched to QMOM. There, there is no bubble diameter that you can extract as you are tracking purely statistical characteristics. You can however use the definition of the sauter mean diameter: moment 3/moment 2. These you can extract and use, if sauter is the applicable diameter to represent in your case.
|
|
April 18, 2015, 08:53 |
macros?
|
#7 |
Member
majid kamyab
Join Date: Jul 2014
Posts: 32
Rep Power: 12 |
sauter mean is applicable.is there any specific macros that can be used in order to attain d3/d2?
how did you defined it? sorry I am new to PBM. I cant use QMOM because I only have two phases. thanks in advance |
|
April 19, 2015, 06:06 |
|
#8 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
You can use QMOM with 2 phases - QMOM uses moments to describe the population distribution in the 2nd phase rather than a discrete-bin approach.
It could be there is a direct way to call the sauter diameter as FLUENT also uses this for drag calculations when using qmom. In any way, you can use the moment macros to calculate the sauter diameter: Code:
S_DIAM = C_PB_QMOMI(c,t,3)/C_PB_QMOMI(c,t,2); More information can be found in the manual - advance addon modules/population balance |
|
April 19, 2015, 06:33 |
thanks a lot
|
#9 |
Member
majid kamyab
Join Date: Jul 2014
Posts: 32
Rep Power: 12 |
thanks a lot for the details.
I hope I can do something in return best wishes |
|
May 20, 2023, 03:54 |
|
#10 |
New Member
sachin
Join Date: Dec 2016
Posts: 7
Rep Power: 10 |
Hii all...
I am trying to perform sub-cooled flow boiling simulations in Fluent with RPI wall boiling and population balance model. But I am unable to couple both simultaneously as, if the boiling model is enabled, the population balance is not active. How can I tackle this issue? Your kind suggestions will be highly appreciated. |
|
Tags |
euler, kla, mass transfer, multiphase, pbm |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bubble equivalent diameter | mayj | CFX | 9 | November 17, 2019 13:12 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
help for UDF, define bubble growth | tagada | Fluent UDF and Scheme Programming | 0 | October 25, 2010 10:07 |
Query on VOF for Bubble rise | Vamsi | Main CFD Forum | 0 | December 22, 2005 01:02 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |