CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Density(rho) in compressibleInterFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2016, 13:12
Default Density(rho) in compressibleInterFoam
  #1
New Member
 
Jue Wang
Join Date: Apr 2014
Posts: 23
Rep Power: 12
Joe Wang is on a distinguished road
Hi, Foamers,
I would like to integrate the air mass in a certain domain solved with compressibleInterFoam. Since air phase is compressible, an approximate way I would use is let
rho_air = rho - alpha.water * rho_water
where I assume rho_water is a constant when alpha.water equals to 1.
However, when I checked the calculation results, it's not true. rho_water changes along with pressure changing. I thought compressibleInterFoam only takes gas as the compressible phase. Am I wrong?
And regardless of I'm correct or wrong, does someone know how to calculate the gas mass in a certain domain in a multi-phase flow field?
Hope someone knows more about the hypothesis of this solver and clear up my confusion. Thanks.

Joe
Joe Wang is offline   Reply With Quote

Reply

Tags
air compressibility, compressibleinterfoam, density, mass


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



All times are GMT -4. The time now is 16:09.