|
[Sponsors] |
November 14, 2019, 23:37 |
Water Volume Present in Domain
|
#1 |
New Member
RAJDEEP JAGDALE
Join Date: Oct 2018
Posts: 26
Rep Power: 7 |
Hello everyone,
i am carrying out multiphase simulation in rotating domain in cfx. I want to know about, how can i monitor the water volume which is present within the entire domain as one of my boundary condition is opening? From my understanding, expression would be, volume (Water.Volume Fraction==1)@Default Domain The above expression is providing me an error. Please help me out to solve it. Regards, RAJDEEP JAGDALE |
|
November 15, 2019, 02:56 |
|
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,888
Rep Power: 27 |
try volumeInt(Water.Volume Fraction)@Default Domain
|
|
November 15, 2019, 03:28 |
|
#3 |
New Member
RAJDEEP JAGDALE
Join Date: Oct 2018
Posts: 26
Rep Power: 7 |
Thanks for the information and the expression you told worked perfectly well.
My related query is, can't i use the conditional expression like "Water.Volume Fraction ==1" as mentioned earlier. |
|
November 15, 2019, 03:50 |
|
#4 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,888
Rep Power: 27 |
Why would you want this? Do you want to neglect all elements where air is present? Even with only 1% air and 99% water?
|
|
November 15, 2019, 03:59 |
|
#5 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,888
Rep Power: 27 |
You can do something like this:
volumeInt(step(Water.Volume fraction - 0.5)*Water.Volume fraction))@Default Domain The term step(Water.Volume fraction - 0.5) will be zero where the volume fraction is lower than 0.5 and 1 if it is higher than 0.5. In this way CFX will not include the elements with Water.volume fractions lower than 0.5. You can change 0.5 into 0.9999, ignoring the elements with more than 1e-4 air. Then I'm not sure if something will be left to integrate ;-) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I achieve better convergence? | sheaker | CFX | 12 | September 19, 2019 15:36 |
Problem of simulating of small droplet with radius of 2mm | liguifan | OpenFOAM Running, Solving & CFD | 5 | June 3, 2014 02:53 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 13:06 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 09:11 |
uptodate water distribution network | fredius,magige,tanzanian,(e.a) | Main CFD Forum | 0 | January 27, 2002 07:10 |