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

density calculation in cold flow and reacting flow solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2013, 12:43
Default density calculation in cold flow and reacting flow solver
  #1
Senior Member
 
Join Date: Nov 2012
Posts: 171
Rep Power: 13
hz283 is on a distinguished road
Hi All,

I noticed there is a small difference about the density calculation in rhoPimpleFoam and fireFoam solvers:

For rhoPimpleFoam, in pEqn.H, density is updated before and after solving the pressure equations: rho = thermo.rho(); And then in the file rhoPimpleFoam.C, after the turbulence is updated turbulence->correct(), the density will not be caluclated in this current time loop.

For fireFoam, in pEqn.H, rho = thermo.rho() is enfored before the pressure Poison equation is solved. However, after the pressure in pEq.H, no density update. And then calculate turbulence in fireFoam.C, after that the density is calculated in that source file.

I not know the reason why this changed was made. Can anybody say something about this problem?

Thank you!
H
hz283 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
Laminar Stiff reacting flow won't converge aarongoodwin FLUENT 1 March 13, 2012 19:13
fortran code for reacting flow mohamad Main CFD Forum 0 December 21, 2011 01:05
MutiSpecies Reacting Flow sanjibdsharma OpenFOAM Running, Solving & CFD 1 August 2, 2009 08:14
PISO for reacting flow newcomer_ to_ CFD Main CFD Forum 0 September 25, 2005 18:49
regarding reacting flow with coupled solver kiran FLUENT 2 April 15, 2005 04:57


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