CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Mass conservation under reaction in reactingFoam (https://www.cfd-online.com/Forums/openfoam/224033-mass-conservation-under-reaction-reactingfoam.html)

K.C. February 5, 2020 04:58

Mass conservation under reaction in reactingFoam
 
Dear Foamers,


I try to use reactingFoam to simulate a reacting flow with shrinkage of volume due to reaction. For example 2A -> B.


I tried to understand the mechanism of reactingFoam:
It seems that reactingFoam performs only a manipulation of the Y_i durring reaction step, but that would mean, that the density rho, the pressure p and the velocity U will remain unchanged. Therefore a shrinkage of volume due to reaction would not occur.



Does anybody of you have the same problem or can give me a hint what I missunderstood?


Thanks for any reply,
K.C.


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