CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Injection of 2 gases at different temperature in a pipe (https://www.cfd-online.com/Forums/openfoam-programming-development/250509-injection-2-gases-different-temperature-pipe.html)

imadzg June 21, 2023 04:12

Injection of 2 gases at different temperature in a pipe
 
Hello everyone, I trying to find the most suitable solver to run a simulation of 2 gases at different temperatures inside one pipe (one flow of gas A at a high temp, and a sheath flow of gas B at room temp), and see the effect of the temperature on the flow itself becuase of the density differences resulting from the temperature differences. I don't want to simply see how the temperature is changing.
the ultimate goal is to minimize the wall contacts of gas A.
I have basic knowledge in Openfoam, ive only used simplefoam before.

imadzg June 21, 2023 04:15

1 Attachment(s)
Quote:

Originally Posted by imadzg (Post 852140)
Hello everyone, I trying to find the most suitable solver to run a simulation of 2 gases at different temperatures inside one pipe (one flow of gas A at a high temp, and a sheath flow of gas B at room temp), and see the effect of the temperature on the flow itself becuase of the density differences resulting from the temperature differences. I don't want to simply see how the temperature is changing.
the ultimate goal is to minimize the wall contacts of gas A.
I have basic knowledge in Openfoam, ive only used simplefoam before.


you can find attached a simple image to explain how my case is

tomf June 23, 2023 06:50

Hi,

Based on your description I guess gas A and gas B have different species as well? In that case I guess you would need to run something with rhoReactingBuoyantFoam to have all physics involved modeled correctly.

Otherwise if it is just a single species but at different temperatures, buoyantSimpleFoam or buoyantPimpleFoam can be used.

Best Regards,
Tom

Marpole June 25, 2023 16:05

You can consider using solver reactingFoam with reaction feature turned off. This allow different species and temperature inlet boundary conditions.


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