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

Water Volume Present in Domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2019, 23:37
Default Water Volume Present in Domain
  #1
New Member
 
RAJDEEP JAGDALE
Join Date: Oct 2018
Posts: 26
Rep Power: 7
RAJDEEP is on a distinguished road
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
RAJDEEP is offline   Reply With Quote

Old   November 15, 2019, 02:56
Default
  #2
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,888
Rep Power: 27
Gert-Jan will become famous soon enough
try volumeInt(Water.Volume Fraction)@Default Domain
Gert-Jan is offline   Reply With Quote

Old   November 15, 2019, 03:28
Default
  #3
New Member
 
RAJDEEP JAGDALE
Join Date: Oct 2018
Posts: 26
Rep Power: 7
RAJDEEP is on a distinguished road
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.
RAJDEEP is offline   Reply With Quote

Old   November 15, 2019, 03:50
Default
  #4
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,888
Rep Power: 27
Gert-Jan will become famous soon enough
Why would you want this? Do you want to neglect all elements where air is present? Even with only 1% air and 99% water?
Gert-Jan is offline   Reply With Quote

Old   November 15, 2019, 03:59
Default
  #5
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,888
Rep Power: 27
Gert-Jan will become famous soon enough
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 ;-)
Gert-Jan 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
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


All times are GMT -4. The time now is 20:15.