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

Transonic reactingFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By clapointe

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2020, 12:43
Default Transonic reactingFoam
  #1
Member
 
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 8
TommyM is on a distinguished road
Hi All,
I am trying to switch on the "transonic" option in reactingFoam. It should be exist in this solver since I have found it in the solver implementation.
Anyway, when I try to run the solver, it completely ignore the "div(phiv, p)" term in the fvSchemes, so I don't know if I am using it correctly.
Does anyone know something about it?
Thanks in advance.


Tommy
TommyM is offline   Reply With Quote

Old   January 14, 2020, 18:06
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
I am only aware of its usage in the energy equation (below) that is used if internalEnergy is chosen. It is not used in the pressure equation (but phid is).

Code:
          he.name() == "e"
          ? fvc::div
            (
                fvc::absolute(phi/fvc::interpolate(rho), U),
                p,
                "div(phiv,p)"
            )
          : -dpdt
Caelan
TommyM likes this.
clapointe is offline   Reply With Quote

Old   January 15, 2020, 06:28
Default
  #3
Member
 
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 8
TommyM is on a distinguished road
Hi Caelan,
Thanks for your reply.
I have chosen sensibleEnthalpy so the "phiv" term does not come into my equations, as you said.
I am trying to use reactingFoam to simulate chemical reactions in a supersonic flow (Ma~1.8).
Anyway, I should switch my energy equation to "internalEnergy" in order to do that (as far as I know, "e" equation is preferable to "h" equation in supersonic flows).
Can you give me your opinion about this, please?

Tommy





P.S.: I know that the PIMPLE-based solvers are not the optimal choice for this kind of problems, but at the moment I have not been able to implement reactions in rhoCentralFoam.
TommyM is offline   Reply With Quote

Old   January 15, 2020, 13:06
Default
  #4
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
I do not have much experience using reactingFoam for (tran)sonic problems, so I will refrain from commenting on e vs h thermo. Perhaps someone else could be more help (or you could test yourself). For density-based reacting solvers there are various ones floating around -- e.g. hyFoam, various threads about reacting rhoCentralFoam, etc.

Caelan
clapointe is offline   Reply With Quote

Old   January 15, 2020, 13:28
Default
  #5
Member
 
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 8
TommyM is on a distinguished road
Yes, I already read these threads, in particular reacting rhoCentral, but the implementation of chemical reactions in the central-upwind scheme's perspective is not so straightforward (to me).
Thank you anyway for your help.


Tommy
TommyM is offline   Reply With Quote

Reply

Tags
reactingfoam, transonic


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
reactingFoam crashes with no iterations uckmhnds OpenFOAM Running, Solving & CFD 3 July 17, 2022 19:41
How to switch off combustion and reaction in reactingFoam shenzhou1987 OpenFOAM Running, Solving & CFD 16 October 26, 2017 16:31
Transonic simulation with reactingFoam ? lfgmarc OpenFOAM Running, Solving & CFD 0 July 19, 2011 01:58
reactingFoam wedge handling wrong U dhondupant OpenFOAM Bugs 1 December 9, 2010 08:34
reactingFoam - turbulent reacting flow hamburgFoam OpenFOAM 0 December 7, 2009 13:57


All times are GMT -4. The time now is 21:40.