|
[Sponsors] |
January 14, 2020, 12:43 |
Transonic reactingFoam
|
#1 |
Member
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 8 |
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 |
|
January 14, 2020, 18:06 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
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 |
|
January 15, 2020, 06:28 |
|
#3 |
Member
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 8 |
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. |
|
January 15, 2020, 13:06 |
|
#4 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
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 |
|
January 15, 2020, 13:28 |
|
#5 |
Member
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 8 |
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 |
|
Tags |
reactingfoam, transonic |
|
|
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 |