|
[Sponsors] |
February 1, 2020, 21:07 |
Multi phase flow properties
|
#1 |
New Member
Join Date: Jul 2018
Posts: 29
Rep Power: 8 |
Hello,
I am trying to use UDF to define my properties. The problem is 2 phase flow (Liquid Desiccant-humid air). Since both flows are the mixture, I want to use define properties for the liquid desiccant flow but by define_properties loops over all cells. I want to loop over only liquid desiccant solution. for example for calling species which C_YI (c,t,0), I want to apply on liquid desiccant phase. Thank you, Amin |
|
February 2, 2020, 05:55 |
Multiphase + Species Modeling
|
#2 |
Senior Member
|
Are you using multiphase or species model or do you have both multiphase and species modeling enabled? As far as multiphase is concerned, each phase has its own property dialogue box. If you use a UDF, though it goes over each cell but Fluent ensures the properties of only that phase are changed to which UDF is hooked.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
February 6, 2020, 03:36 |
|
#3 | |
New Member
Join Date: Jul 2018
Posts: 29
Rep Power: 8 |
Quote:
DEFINE_SPECIFIC_HEAT( name, T, Tref, h, yi) which i can use T instead of C_T function but what about C_YI which is concentration? How can I get my concentration in my function? Regards, Amin |
||
February 6, 2020, 04:10 |
It is already there
|
#4 |
Senior Member
|
In almost every (with few exceptions) DEFINE_ macro, it's only the first argument, i.e., the name of the function, that Fluent expects from the user. The values for the other ones are supplied by Fluent. So, you do not need either C_T or C_YI. Those values are already there in T and yi. You can use yi as it is. Do note that it is a vector, i.e., yi[0] will give mass fraction for the first species.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bubble plume simulation, multi phase flow | Artvandelay | Main CFD Forum | 5 | August 23, 2018 04:52 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
How to simulate a multi phase flow striking a surface and causing it to wear?? | pankajbhatter9 | Main CFD Forum | 0 | November 2, 2013 14:11 |
Mass flow rate of phase in post | mat_cfd | CFX | 0 | September 3, 2013 08:55 |
Which software for modeling viscoelastic properties in a two phase flow? | michaelb | Main CFD Forum | 9 | February 17, 2011 16:27 |