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

two mixing compresible fluids solver

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2010, 10:32
Default two mixing compresible fluids solver
  #1
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
Hi,
I am interested in solver which is able to model mixing of two compressible fluids (lets say Helium and Air).
As far as I know there is no such solver among standard OF solvers.
I looked at twoMixingLiquidFoam which is for incompressible fluids.
So I decided to change this solver for compressible fluids as well, but I am not sure if method used there can be applied for compressible fluids as well.

I am not sure if the concentration equation method from incompressible solver can be used for compressible flows.

My idea is as follows:
1. solve compressible NS eq with PISO method (U,p)
2. solve energy eq (e)
3. solve concentration eq (c)
4. calculate density rho=c*rho1 + (1-c)*rho2
5. similar for viscosity, R (individual gas constant), Cp,...

Could anyone tell me please if such approach is correct ?

Many thanks,
ZM
ziemowitzima is offline   Reply With Quote

Old   September 7, 2010, 15:52
Default Possible Solver for Mixing of 2 Compressible Fluids
  #2
New Member
 
Michael Ahlmann
Join Date: Feb 2010
Posts: 27
Rep Power: 16
danishdude is on a distinguished road
Have you looked at compressibleInterFoam? From the description in the source code, this solver is design for the following:

Description:
Solver for 2 compressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach. The momentum and other fluid properties are of the "mixture" and a single momentum equation is solved. Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
danishdude is offline   Reply With Quote

Old   September 7, 2010, 16:17
Default
  #3
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
I know this solver, I used to work with it.
But it is for immiscible flulids, and I need for mixing .
and It is isotermal
ziemowitzima is offline   Reply With Quote

Old   January 22, 2011, 07:11
Default
  #4
New Member
 
zhenyan xia
Join Date: Jan 2011
Location: Tianjin,China
Posts: 6
Rep Power: 15
xiazhy is on a distinguished road
Send a message via MSN to xiazhy
Hi Michael

i am a fresher in OF..i want to simulate high speed jet with OF. the two phases are incompressible and immiscible. i intend to do this simulation using A VOF + LES modle . I want to know which solver i should use..\
Many thanks
xiazhy is offline   Reply With Quote

Old   January 22, 2011, 15:21
Default
  #5
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
HI Zhenyan,
The Solver u need is:
interFoam
"Solver for 2 incompressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach"


for the other standart solvers chceck OF userguide:
http://www.openfoam.com/docs/user/st...p#x13-890003.5


Ziemowit
ziemowitzima is offline   Reply With Quote

Old   January 23, 2011, 00:30
Default
  #6
New Member
 
zhenyan xia
Join Date: Jan 2011
Location: Tianjin,China
Posts: 6
Rep Power: 15
xiazhy is on a distinguished road
Send a message via MSN to xiazhy
Ziemowit,thanks a lot for your help! I read the part of interFoam on the web site you mentioned above. actually, my need to do LES+VOF+Non_newtonian to solve my question. do you have any advice about it. Any help would be much appreciated.

zhenyan
xiazhy is offline   Reply With Quote

Old   January 25, 2011, 11:54
Default
  #7
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
Hi Zhenyan,
I have never worked with LES models or Non-newtonian fluids. But OF is written in very flexible way. You can use any written turbulent model (including LES) and Non-newtonian fluid. You have to just define proper dictionaries (files) and values. To see how it work just look trough different solvers and cases where LES or Non-n model was used. And then just based on this example.
I am sure that you can find a lot of informations searching the OF forum, and some hints in UserGuide.

Hope it helps,
ZM
ziemowitzima is offline   Reply With Quote

Old   May 15, 2012, 07:17
Default
  #8
Member
 
R. P.
Join Date: Jul 2010
Posts: 73
Rep Power: 16
Rophys is on a distinguished road
Hi all,

I want to simulate a simple case: a flat plate with transverse jet, where air is my main flow and the jet is Hydrogen.

So, how can I deal with two different fluids in openFoam ? Which solver is better for this kind of problem ?

I look forward your help.

Cheers,

Rophys
Rophys is offline   Reply With Quote

Old   May 15, 2012, 11:32
Default
  #9
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
Rophys,
It depends if u want to simulate immiscible or miscible, compressible or incompressible fluids ...
Just check "Standard solvers" chapter in the OF User Guide (look for Multiphase flow ).

Best
ziemowitzima is offline   Reply With Quote

Old   May 15, 2012, 11:46
Default
  #10
Member
 
R. P.
Join Date: Jul 2010
Posts: 73
Rep Power: 16
Rophys is on a distinguished road
Thanks, ziemowitzima.

Sorry, I didn´t fully explain my problem.
I would like to simulate a compressible flow and mixing, but is a good idea to start with more simple cases and conditions (incompressible and immiscible). Could you suggest me which solver is better (or reasonable) for this conditions ?

Many thanks.
Rophys is offline   Reply With Quote

Old   May 15, 2012, 11:52
Default
  #11
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
I would try:

interFoam
or
compressibleInterFoam
ziemowitzima is offline   Reply With Quote

Old   October 10, 2014, 17:02
Default
  #12
New Member
 
Manohar Kampili
Join Date: Jun 2014
Location: Jülich, Germany
Posts: 2
Rep Power: 0
manu305 is on a distinguished road
Hi Ziemowitzima,

I would like to simulate Helium jet injection into air, this is exactly matching with the problem you mentioned in the starting of this thread. I have gone through many other threads similar to this but I got confused " which solver I have to take and modify further to match the need ?"

Buoyancy effects have to be considered along with the compressible nature of both the fluids (miscible).
I was searching for suitable solver directly, but I couldn't find any direct solver in openfoam as of now. Please tell me how you have solved this problem? finally which solver you have taken to implement the modifications required ?

Thanks in Advance...

Manohar
manu305 is offline   Reply With Quote

Old   February 20, 2015, 12:40
Default
  #13
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19
samiam1000 is on a distinguished road
Any news about this solver? Someone did it?
samiam1000 is offline   Reply With Quote

Old   February 20, 2015, 12:45
Default
  #14
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
Hi,
Currently I am using reactingFOAM, with chemical reactions off and combustion off. Them it works as compressible solver with mixture of several gases. It is possible there to use different thermodynamical models.
Unfortunately results are not as good as I would like. FLUENT (theoretically uses the same approach), but gives better results...
ziemowitzima is offline   Reply With Quote

Old   February 20, 2015, 12:49
Default
  #15
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19
samiam1000 is on a distinguished road
Do you consider miscible or immiscible fluids?
samiam1000 is offline   Reply With Quote

Old   February 20, 2015, 12:52
Default
  #16
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
miscible
helium/argon ejected into air,
ziemowitzima is offline   Reply With Quote

Old   February 20, 2015, 12:54
Default
  #17
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19
samiam1000 is on a distinguished road
That would be exaclty what I want.

Two more questions before going deeper into the model:

1. is it easy to switch off the combustion and the chemical reactions?
2. do you have a parameter to measure the mixing beetween the 2 fluids?
3. would you mind sharing a simple running case you set?

You can also send it to samuele.zampini@gmail.com

Thanks in advance,

Samuele
samiam1000 is offline   Reply With Quote

Old   February 20, 2015, 13:07
Default
  #18
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
yes it is easy, you have to put:
no
no
instead of
yes
yes


what do you mean by the parameter to measure the mixing ?
See one of my publication, where such parameter is defined:
http://www.degruyter.com/view/j/cpe....xml?format=INT

keep in mind that in this paper I do NOT use reactingFOAM.

but the Helium/air mixing process is govern by viscosity/diffusivity of the mixture (in OF).

I will share some simple example. But it will take me few days.

Best
Z
samiam1000 likes this.
ziemowitzima is offline   Reply With Quote

Old   February 23, 2015, 02:40
Default
  #19
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19
samiam1000 is on a distinguished road
That would be great, thanks a lot.

Share your cases, when you can.

Have a good day,
Samuele
samiam1000 is offline   Reply With Quote

Old   March 3, 2015, 12:51
Default
  #20
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
Hi,
Give me your email, I will send you the working case with few words of explanations.
I would attached it here, but size of the file seems to be too large (1.4MB), and I could not attached it to my reply.

best
ziemowitzima is offline   Reply With Quote

Reply

Tags
compressible flow, mixing gases


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
smoothSolver diverges - solution in using PBiCG solver? makaveli_lcf OpenFOAM Running, Solving & CFD 3 September 11, 2013 13:44
Getting too many iterations by velocity solving (aborting). Changing U - Solver? suitup OpenFOAM Running, Solving & CFD 0 January 20, 2010 08:45
mixing 4 kind of fluids ranap CFX 2 September 19, 2008 12:55
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08
Error during Solver cfd guy CFX 4 May 8, 2001 07:04


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