CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   How to consider the effect of gravity in ractingFoam (https://www.cfd-online.com/Forums/openfoam/235327-how-consider-effect-gravity-ractingfoam.html)

ztdep April 11, 2021 07:32

How to consider the effect of gravity in ractingFoam
 
hello, friends:
I need to modeling the mixing of two gas at different temperature with reactingFoam, but it seems that the default solver didn't taken into the gravity effect. so how to take it into account.

Regars

clapointe April 11, 2021 10:41

There has been a buoyant version -- named something to the effect of rhoReactingBuoyantFoam, depending on the version/flavor of OpenFOAM -- that does include gravity for as long as I remember. This should be what you are looking for. Here's a link to the solver in a recent release : https://develop.openfoam.com/Develop...ingBuoyantFoam.

Caelan

braker April 17, 2021 04:32

How to consider the effect of gravity in ractingFoam
 
You can implement an additional rho*g therm in UEquation, to create g field and read from dictionary you can use headers from some existing solver or play around by yourself.


All times are GMT -4. The time now is 06:12.