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

Difference between reactingFoam & rhoreactingfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree20Likes
  • 1 Post By upadhyay.1
  • 5 Post By ab2484
  • 1 Post By ghazal_1989
  • 4 Post By TommyM
  • 9 Post By atulkjoy

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2017, 04:20
Default Difference between reactingFoam & rhoreactingfoam
  #1
New Member
 
Ayush
Join Date: May 2017
Posts: 12
Rep Power: 8
upadhyay.1 is on a distinguished road
Hello Friends!

1.) Could any of you know the difference between reactingFoam and rhoreactingFoam as the density is changing in both the cases so why bother to create new solver?
2.) What is the low-mach formulation for a solver? I know that reactingFoam is one low-mach solver. But how can we tell whether a solver is a low mach or not?
ab2484 likes this.
upadhyay.1 is offline   Reply With Quote

Old   October 16, 2017, 09:40
Default
  #2
New Member
 
Andrea
Join Date: Sep 2017
Posts: 12
Rep Power: 8
ab2484 is on a distinguished road
Hello Ayush,

I'm wandering the same question.

Could you tell me why do you think that reactingFoam is Low-Mach? I'd like to run a low-mach case using it in OF 4.X, but according to what I read it is compressible by default (and that is why I'm thinking of modifying it).

I hope someone will reply and clarify.
ab2484 is offline   Reply With Quote

Old   October 16, 2017, 10:31
Default
  #3
New Member
 
Ayush
Join Date: May 2017
Posts: 12
Rep Power: 8
upadhyay.1 is on a distinguished road
Dear Andrea,
Actually after doing some research. I find out that reactingFoam is not a low Mach solver. Sry for the confusion. But again I am unable to figure out what is difference between reacting and rhoreacting as both solves for compressible flows. Do you have any idea?
upadhyay.1 is offline   Reply With Quote

Old   October 17, 2017, 06:53
Default
  #4
New Member
 
Andrea
Join Date: Sep 2017
Posts: 12
Rep Power: 8
ab2484 is on a distinguished road
Dear Ayush,

The main difference is that reactingFoam is a pressure based solver, while the other one is density based. And yes, they are both compressible, but rhoreactingFoam should be recommended if there is a strong coupling between the variables you are solving for.

Please someone correct me if I'm wrong.
ab2484 is offline   Reply With Quote

Old   February 27, 2019, 11:40
Default
  #5
New Member
 
Join Date: Jan 2017
Posts: 13
Rep Power: 9
ghazal_1989 is on a distinguished road
Quote:
Originally Posted by ab2484 View Post
Dear Ayush,

The main difference is that reactingFoam is a pressure based solver, while the other one is density based. And yes, they are both compressible, but rhoreactingFoam should be recommended if there is a strong coupling between the variables you are solving for.

Please someone correct me if I'm wrong.
Hi,
I am not actually sure that rhoReactingFoam is a density-based solver. Because if you check the src of rhoReactingFoam you will see that the pressure is updated by pEqu and pcEqu of rhoPimpleFoam which is a pressure-based solver. Therefore, rhoReactingFoam cannot be a density based solver. Correct me please if I am wrong.

Regards,
Ghazal
ShaneheSSSS likes this.
ghazal_1989 is offline   Reply With Quote

Old   December 22, 2019, 22:28
Default
  #6
Senior Member
 
Ruiyan Chen
Join Date: Jul 2016
Location: Hangzhou, China
Posts: 162
Rep Power: 9
cryabroad is on a distinguished road
This thread is kind of old, but I'm wondering the same thing! I do think that reactingFoam and rhoReactingFoam are both pressure-based solvers, because they both solve for the pressure. The main difference, as pointed out in one of the posts, is that they update the density in different ways.

The real question is why? And I feel that the pressure equation may be the key. I can somewhat understand the pressure equation in reacingFoam, what about the pressure equation in rhoReactingFoam? How is it derived?
cryabroad is offline   Reply With Quote

Old   January 15, 2020, 11:20
Default
  #7
Member
 
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 7
TommyM is on a distinguished road
Hi,
reactingFoam and rhoReactingFoam are both pressure-based solvers.
As far as I know, the only difference is about the thermophysical model (psiReactionThermo for reactingFoam and rhoReactionThermo for rhoReactingFoam). Anyway, I do not know very well the differences between these two thermophysical models, so I am interested in it, too.


Tommy
TommyM is offline   Reply With Quote

Old   January 27, 2020, 16:19
Default
  #8
Member
 
Atul Kumar
Join Date: Dec 2015
Location: National Centre for Combustion Research and Development
Posts: 48
Rep Power: 10
atulkjoy is on a distinguished road
reactingFoam and rhoReactingFoam both are low mach number solvers as pressure equation solution in terms of pEqn.H. The reason npt to use compressible solver is that density rho is only function of temperature not pressure so dp/drho wont affect much ( A typical ideal gas auumption in open atmosphere).
In reactingFoam psi is taken as comprehensibility or psudo comprehensibility to take advantage in compressible models. while in rho reacting foam thermal libraries are updated on the basis of P=rho*R*T. IdeaL gas equation also holds in psiCombustion models but solution of pressure equation are different due to inclution of psi.
atulkjoy is offline   Reply With Quote

Old   October 13, 2022, 09:42
Default
  #9
Member
 
mactone hsieh
Join Date: Apr 2012
Location: Taiwan
Posts: 31
Blog Entries: 1
Rep Power: 14
mactone is on a distinguished road
Since they are both low mach number solvers, is the main difference the bouyancy effect??

I noticed that the constant/g (which should be the gravity) don't really bend the flame when the burner is buring horizontally in the reactingFoam.

I haven't tried rhoReatingFoam, maybe I should build a simple geometry to test that!

Quote:
Originally Posted by atulkjoy View Post
reactingFoam and rhoReactingFoam both are low mach number solvers as pressure equation solution in terms of pEqn.H. The reason npt to use compressible solver is that density rho is only function of temperature not pressure so dp/drho wont affect much ( A typical ideal gas auumption in open atmosphere).
In reactingFoam psi is taken as comprehensibility or psudo comprehensibility to take advantage in compressible models. while in rho reacting foam thermal libraries are updated on the basis of P=rho*R*T. IdeaL gas equation also holds in psiCombustion models but solution of pressure equation are different due to inclution of psi.
mactone 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
How to switch off combustion and reaction in reactingFoam shenzhou1987 OpenFOAM Running, Solving & CFD 16 October 26, 2017 15:31
compressible, reacting nozzle flow rhoReactingFoam hughmorgan OpenFOAM Running, Solving & CFD 1 September 26, 2016 08:08
reactingFoam vs rhoReactingFoam Scot OpenFOAM Running, Solving & CFD 8 June 2, 2016 11:28
[snappyHexMesh] snappyHexMesh and cyclic boundaries Ruli OpenFOAM Meshing & Mesh Conversion 2 December 9, 2013 06:51
reactingFoam wedge handling wrong U dhondupant OpenFOAM Bugs 1 December 9, 2010 07:34


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