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

Basic understanding question (single phase <-> multi phase)

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By crubio.abujas

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2020, 09:32
Post Basic understanding question (single phase <-> multi phase)
  #1
New Member
 
Join Date: Jan 2015
Location: Germany
Posts: 13
Rep Power: 11
Flexi1095 is on a distinguished road
Hey,

after I searched quite a while through the forum, I am a bit confused. Maybe someone can help me out.
Following Issue: I want to simulate a pipe with two inlets and two gases (each gas entering at one inlet). I already run a simulation with interFoam, which worked fine, just deltaT is very small.
But I'm confused, if I really have to use a multiPhaseSolver (like interFoam) for a flow with 2 gases (a steady-state-solve would be also fine for me)?
Would it be also work with e.g. simpleFoam? Can I also use alpha.* there like in interFoam?

Edit: Just tried to set it up with simpleReactingParcelFoam, which worked also quite good. Is this the right dircetion? But there I can't see the gas percentage in each cell of each gas, is this normal?

Sorry for my quite basic questions.
Thank you in advance and best regards

(Similar Thread, but I couldn't find the answer there:
Tracing a gas in a gas)

Last edited by Flexi1095; May 23, 2020 at 11:59.
Flexi1095 is offline   Reply With Quote

Old   May 23, 2020, 12:19
Default Could be "species" what you're looking for?
  #2
Senior Member
 
Carlos Rubio Abujas
Join Date: Jan 2018
Location: Spain
Posts: 127
Rep Power: 11
crubio.abujas is on a distinguished road
Quote:
Originally Posted by Flexi1095 View Post
Hey,

Following Issue: I want to simulate a pipe with two inlets and two gases (each gas entering at one inlet). I already run a simulation with interFoam, which worked fine, just deltaT is very small. But I'm confused, if I really have to use a multiPhaseSolver (like interFoam) for a flow with 2 gases (a steady-state-solve would be also fine for me)?

Would it be also work with e.g. simpleFoam? Can I also use alpha.* there like in interFoam?
Well, typically multiphase solvers are based on the assumption that the phases are not miscible, this is, they have a clear interface separating them. In the application you mention of two gases mixing it is quite obvious that they are going to interact and this is not the case. So I would say that multiphase solvers are not the best option for your problem.

I think what you're looking for is to model different concentration of species inside a single phase fluid. All the fluid is a gas, but in any point there are different concentrations of the gases conforming it. Each specie (02, H2, CH4...) is model as a scalarField, a single number which determine de concentration in that specific point. The thermo-physical properties (cp, density, viscosity) may vary according with the composition on each point and that can be taken into account.

In this kind of simulation is frequent that you want to model some kind of chemical reaction, so you may want to have a look onto reactingFoam (inside the combustion category), which allows to do all I've told you in the paragraph before. Of course the reactions can be disabled if you are just working with inert substances.

However, if your case can be simplified (there is one main gas a small traces of the other, for example) you can try to model the main current with simpleFoam, and up on these results run a scalarTransportFoam, to see how the second-gas is distributed along the flow. This approach considers that the secondary-gas does not affect the thermo-physical properties of the main-gas, which may be consistent if there are small traces or their properties are alike.

Forgot about the alpha.* that is for the multiphase solvers, simpleFoam would simply ignore these files while running.

Concerning the steady-state, it is perfectly fine to work with it in any of the approaches to the problem I've discussed, if you're just interested in the final state.


I hope that makes it a little bit more clear.
Good luck!
Flexi1095 and enthusiast like this.
crubio.abujas is offline   Reply With Quote

Old   May 23, 2020, 12:34
Default
  #3
New Member
 
Join Date: Jan 2015
Location: Germany
Posts: 13
Rep Power: 11
Flexi1095 is on a distinguished road
Hey crubio.abujas,

thank you very much for your detailed explanation! I will have a look onto reactingFoam and simpleFoam+scalarTransportFoam. If more questions come up, I'll come back.

Best regards
Flexi1095 is offline   Reply With Quote

Reply

Tags
gas, multi phase, single phase


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
multi phase flow with chemical reactions in one phase Habibfateh OpenFOAM Programming & Development 0 February 10, 2014 08:33
VOF for single phase? vuccj7 FLUENT 0 April 20, 2011 20:59
Question about reference values --> Area (multi element wing) Zweeper FLUENT 7 March 28, 2010 12:29


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