CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

density calculation in reactingMultiphaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2016, 09:27
Default density calculation in reactingMultiphaseEulerFoam
  #1
Member
 
Michael Frank
Join Date: Aug 2012
Posts: 55
Rep Power: 13
mike.franky is on a distinguished road
Hi,

I am using the reactingMultiphaseEulerFoam to simulate the solution and dissolution of gases in a liquid. I am really struggling to understand how OpenFoam calculates the density for each phase. For the liquid phase I am using perfectFluid equations of state where I give a reference density. However, for the gaseous phase I am using the perfectGas equation of state which does not ask for the density (I am using heRhoThermo for both the liquid and gas). Can someone help me understand how the density is calculated?

Thanks in advance for any help.

Cheers
Mike
mike.franky is offline   Reply With Quote

Old   May 6, 2016, 13:17
Default
  #2
Member
 
Mattia de\' Michieli Vitturi
Join Date: Mar 2009
Posts: 50
Rep Power: 17
demichie is on a distinguished road
For perfect gases rho=psi*P, where psi is the compressibility.
psi= 1/(RT), where R is the gas constant, function of the molecular weight and the universal gas constant.
demichie is offline   Reply With Quote

Old   May 9, 2016, 04:57
Default
  #3
Member
 
Michael Frank
Join Date: Aug 2012
Posts: 55
Rep Power: 13
mike.franky is on a distinguished road
Hi demichie. Thanks for your response. It was very useful.
mike.franky 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
Current density visualisation (PEM fuel cell add-on module) pchoopanya FLUENT 10 August 21, 2023 14:33
Help with unsteady calculation with source/sink UDF RobV FLUENT 1 November 13, 2016 05:44
Density Calculation MatP OpenFOAM Programming & Development 0 May 11, 2010 11:07
density update by UDF in non-premixed combustion IKSOO FLUENT 2 December 8, 2002 20:37
Help!!!) Magnet flux density vector calculation J.W.Ryu FLUENT 0 November 7, 2002 21:24


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