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

multiphaseEulerFoam: How to specify the continuous/dispersed phase

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2015, 10:30
Unhappy multiphaseEulerFoam: How to specify the continuous/dispersed phase
  #1
New Member
 
nov.t
Join Date: Feb 2015
Posts: 4
Rep Power: 11
nov.t is on a distinguished road
Hello Foamers,

I am using multiphaseEulerFoam (ver. 2.2) for the multiphase jet flow.

I want to specify the continuous and dispersed phase in calculating the drag force between each phase.

I found that it is possible to determine the continuous/dispersed phase in twoPhaseEulerFoam (ver. 2.3) as follows (but this is the case of virtual mass force):

virtualMass
(
(water in air) // water droplets dispersed in air
{
type constantCoefficient;
Cvm 0.5;
}
);

http://www.openfoam.org/version2.3.0/multiphase.php

Is it possible to specify the phases in multiphaseEulerFoam 2.2.x ?
Please give me your knowledge.

Best regards,
nov.t
Kummi likes this.

Last edited by nov.t; February 5, 2015 at 07:47.
nov.t is offline   Reply With Quote

Old   February 3, 2015, 12:31
Default
  #2
New Member
 
Dominik Schmidt
Join Date: Mar 2014
Posts: 11
Rep Power: 12
dschmidt is on a distinguished road
Hi nov.t,

as far as I know, the phases are read from the interface dict from left to right.

Code:
        
dragModel
        (
            const dictionary& interfaceDict,
            const phaseModel& phase1,
            const phaseModel& phase2
        );

so: (air water)
air=phase1
water=phase2


From e.g. SchillerNaumann drag you can see that phase1 is the dispersed phase, as its diameter is used for the calculation of Re (phase1_.d()).

Code:
  volScalarField Re(max(Ur*phase1_.d()/phase2_.nu(), scalar(1.0e-3)));
From the continuous phase (phase2,water) the kinematic viscosity is used (phase2_.nu()).


In short:
(air water) => (air in water)


Hope this clarifies it for you.

Regards,
Dominik
Luttappy likes this.
dschmidt is offline   Reply With Quote

Old   February 5, 2015, 09:07
Default
  #3
New Member
 
nov.t
Join Date: Feb 2015
Posts: 4
Rep Power: 11
nov.t is on a distinguished road
Dear dschmidt,

Thank you for replying.

Is the phase1 always the dispersed phase?

When I used the "blended" type for the drag in transportProperties as following code, phase inversion is considered.

Code:
drag
(
    (air water)
    {
        type blended;

        air
        {
            type SchillerNaumann;
            residualPhaseFraction 0;
            residualSlip 0;
        }

        water
        {
            type SchillerNaumann;
            residualPhaseFraction 0;
            residualSlip 0;
        }

        residualPhaseFraction 1e-3;
        residualSlip 1e-3;
    }
)
So I think the drag force calculation was carried out for both cases. (If I was wrong, sorry.)
(case A: continuous = air, dispersed = water, and case B: continuous = water, dispersed = air)

Is there different type along with "blended" ?


Best regards,

nov.t
nov.t is offline   Reply With Quote

Old   February 5, 2015, 09:37
Default
  #4
New Member
 
Dominik Schmidt
Join Date: Mar 2014
Posts: 11
Rep Power: 12
dschmidt is on a distinguished road
Yes, when using blended the solver automatically weights the drag forces based on the phase fraction, so both drag forces are calculated
and different models for each dispersed phase can be chosen.

Code:
return phase2()*dragModel1_->K(Ur) + phase1()*dragModel2_->K(Ur)


phase1() and phase2() are the phase fractions of each phase.
Luttappy and MMNCH like this.
dschmidt is offline   Reply With Quote

Old   February 10, 2015, 08:39
Default
  #5
New Member
 
nov.t
Join Date: Feb 2015
Posts: 4
Rep Power: 11
nov.t is on a distinguished road
Dear dschmidt,

Thank you for explaining the blended model, and I could understood about it.

However, I want to fix the two dispersed phases (air, oil) in the three-phase flow (continuous phase is water).

Present setting is as follows:

Code:
drag
(
    (air water)
    {
        type blended;

        air
        {
            type SchillerNaumann;
            residualPhaseFraction 0;
            residualSlip 0;
        }

        water
        {
            type SchillerNaumann;
            residualPhaseFraction 0;
            residualSlip 0;
        }

        residualPhaseFraction 1e-3;
        residualSlip 1e-3;
    }
 
   (oil water)
    {
        type blended;

        oil
        {
            type SchillerNaumann;
            residualPhaseFraction 0;
            residualSlip 0;
        }

        water
        {
            type SchillerNaumann;
            residualPhaseFraction 0;
            residualSlip 0;
        }

        residualPhaseFraction 1e-3;
        residualSlip 1e-3;
    }

   (oil air)
    {
        type blended;

        oil
        {
            type SchillerNaumann;
            residualPhaseFraction 0;
            residualSlip 0;
        }

        air
        {
            type SchillerNaumann;
            residualPhaseFraction 0;
            residualSlip 0;
        }

        residualPhaseFraction 1e-3;
        residualSlip 1e-3;
    }

);
To fix the dispersed phases definitely, I think blended model is not appropriate.
So I am finding the different approach without using the blended type.

thank you.

Best regards,

nov.t
Luttappy likes this.
nov.t is offline   Reply With Quote

Old   February 10, 2015, 08:42
Default
  #6
New Member
 
Dominik Schmidt
Join Date: Mar 2014
Posts: 11
Rep Power: 12
dschmidt is on a distinguished road
Code:
 (dispersedPhase contPhase)
    {
        type SchillerNaumann;

        residualPhaseFraction 1e-3;
        residualSlip 1e-3;
    }
... set dispersedPhase & contPhase as needed: e.g. (air water) ... air dispersed in water.
Luttappy likes this.
dschmidt is offline   Reply With Quote

Old   February 10, 2015, 09:04
Default
  #7
New Member
 
nov.t
Join Date: Feb 2015
Posts: 4
Rep Power: 11
nov.t is on a distinguished road
Dear dschmidt,

I understood, I realized it was simple problem... Thank you.
nov.t is offline   Reply With Quote

Old   May 10, 2016, 04:53
Default is the first phase in multiphaseEulerFoam seen as dispersed?
  #8
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 237
Rep Power: 16
vonboett is on a distinguished road
Dear Foamers,

Is there a good validation case around for multiphaseEulerFoam?
vonboett is offline   Reply With Quote

Old   May 25, 2016, 13:19
Default multiphaseEulerFoam
  #9
Senior Member
 
Asmaa
Join Date: Mar 2016
Posts: 102
Rep Power: 10
foamiste is on a distinguished road
Dear vonboett,

Did you find any information about multiphaseEulerFoam?
foamiste is offline   Reply With Quote

Old   May 27, 2016, 03:03
Default
  #10
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 237
Rep Power: 16
vonboett is on a distinguished road
well at least some, the best overview for me was available here:
http://documents.mx/documents/cfd-si...ous-media.html

but there are others like "Numerical Investigation of Vertical Plunging Jet Using a Hybrid Multifluid–VOF Multiphase CFD Solver" by Olabanji Y. Shonibare and Kent E. Wardle (2015) or "Hybrid Multiphase CFD Solver for Coupled Dispersed/Segregated Flows in Liquid-Liquid Extraction" by Kent E. Wardle and Henry G. Weller (2015). My problem is that I implemented the transportModels so you can model Non-Newtonian rheologies, but I get a fluctuating interface between my air phase and my other components that is somehow oscillating in a way I do not observe with interFoam (or interMixingFoam). The dambreak test case works fine, (and the coupling to a lagrangian particle simulation in a way like in DPMFoam using kinematicCollidingCloud worked quite well, too) so the interface behavior is the only thing that worries me. I played around with the sigmas but the problem remained.
Luttappy likes this.
vonboett is offline   Reply With Quote

Old   August 7, 2016, 11:40
Default
  #11
New Member
 
Nicolò Scapin
Join Date: Apr 2016
Posts: 15
Rep Power: 10
nic92 is on a distinguished road
Hi guys,

I need to simulate a gas-oil-water flows, with gas the continuous phase, water and oil dispersed ones. After having a look at the code of multiphaseEulerFoam (specifically, UEqn), I think that the momentum exchange term among phases is counted for the dispersed phases and continuous and not between the dispersed phases. The influence of a disperse phase on the other one is negligible when I do not have a separation process, however in my case there is a time after which oil and water's domain is in contact and through this interface, mometum is surely exchange.
Do you agree with my conclusion concernig with this solver?

For example, in the twoPhaseEulerFoam, the drag term is counted as k_{d12}(U_1-U_2) for phase1 and k_{d21}(U_2-U_1) for phase2. In this way, both phases are treated without specifying which one is the dispersed or the continous one. On the other hand, in MFE, if 1 is the continuous phase and 2 and 3 the disperse ones, the drag term is counted as k_{d12}(U_1-U_2) and k_{d13}(U_1-U_3).

Thanks in advance.
nic92 is offline   Reply With Quote

Old   August 8, 2016, 09:59
Default
  #12
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 237
Rep Power: 16
vonboett is on a distinguished road
Wardle & Weller (2013):
"In this solver, calculation of the drag coefficient can be done by specifying a dispersed phase or by independent calculation with each phase as the “dispersed phase” and the overall drag coefficient applied to the momentum equations taken as the volume fraction weighted average of the two values. This is a so-called blended scheme which is a useful approximation for flows with regions in which either phase is the primary phase"
vonboett is offline   Reply With Quote

Old   August 8, 2016, 12:00
Default
  #13
New Member
 
Nicolò Scapin
Join Date: Apr 2016
Posts: 15
Rep Power: 10
nic92 is on a distinguished road
Thanks for your answer. I made a mistake.
Do you think that the same holds also for the virtual mass force?
I mean in twoPhaseEulerFoam the blending function is applied to each of the momentum exchange term. On the other hand in MFE, the blended function is applied only on the drag term.
Moreover, here the blended function is an average base on phase fraction, whereas in TFE the blended function is hyperbolic or linear.

Thanks in advance
nic92 is offline   Reply With Quote

Old   November 27, 2016, 00:37
Default Definition of k in momentum equation
  #14
New Member
 
Vishal
Join Date: Feb 2013
Posts: 28
Rep Power: 13
vishal3 is on a distinguished road
Quote:
Originally Posted by nic92 View Post
Hi guys,

I need to simulate a gas-oil-water flows, with gas the continuous phase, water and oil dispersed ones. After having a look at the code of multiphaseEulerFoam (specifically, UEqn), I think that the momentum exchange term among phases is counted for the dispersed phases and continuous and not between the dispersed phases. The influence of a disperse phase on the other one is negligible when I do not have a separation process, however in my case there is a time after which oil and water's domain is in contact and through this interface, mometum is surely exchange.
Do you agree with my conclusion concernig with this solver?

For example, in the twoPhaseEulerFoam, the drag term is counted as k_{d12}(U_1-U_2) for phase1 and k_{d21}(U_2-U_1) for phase2. In this way, both phases are treated without specifying which one is the dispersed or the continous one. On the other hand, in MFE, if 1 is the continuous phase and 2 and 3 the disperse ones, the drag term is counted as k_{d12}(U_1-U_2) and k_{d13}(U_1-U_3).

Thanks in advance.


Dear nic92,

I am looking into the formulation details of the twoPhaseEulerFOam and come across this post. In OpenFOAM, the momentum transfer due to the drag force is defined in terms of k_{d13}(U_1-U_3). I was interested in knowing that what is the relationship between this term and drag coefficient. How drag coefficient is taken into account while solving this term?
I need the exact formulation for k, which includes drag coefficient.


Thanking you,
vishal3 is offline   Reply With Quote

Old   November 30, 2016, 03:38
Default
  #15
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 237
Rep Power: 16
vonboett is on a distinguished road
there are many drag models, depending on your "phase particles" or other characteristics of you flow. They are in multiphaseEulerFoam/interfacialModels/dragModels.

You may find related drag models implemented in the lagrangian libraries, for solvers that couple continuous phase fluids solved by the Navier-Stokes eqns. with Lagrangian particle solvers, and maybe you find more comments about how the drag coefficients work searching among those solver discussions.
vonboett is offline   Reply With Quote

Old   July 24, 2017, 16:13
Default
  #16
Member
 
Join Date: May 2017
Posts: 44
Rep Power: 8
bbita is on a distinguished road
Dear Foamers,
I did some modelling for oil and water in a single tube with interFoam (with specific contact angle). I want to model the same thing with eulerFoam as it has momentum equation for both phases. In my problem, both phases are dispersed and I don't want to include any drag force for now. I appreciate your help.
bbita is offline   Reply With Quote

Old   July 27, 2017, 03:55
Default
  #17
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 237
Rep Power: 16
vonboett is on a distinguished road
...well the phases are coupled by drag. Maybe what you are looking for is the mixed interFOAm/Euler OpenFOAM solver developed by:
Wardle, K. E. and Weller, H.: Hybrid Multiphase CFD Solver for Coupled Dispersed/Segregated Flows in Liquid-Liquid Extraction, Int. J.
Chem. Eng., p. 128936, doi:10.1155/2013/128936, 2013.

With that solver, I experienced some difficulties with the free surface though and it is not accounting for non-Newtonian rheologies, however, that was easy to implement, I can send you the code if you like. Still, one should carefully validate this solver before use because it has many parameters and one can easily get in a mess.
bbita likes this.
vonboett is offline   Reply With Quote

Old   July 27, 2017, 10:40
Default
  #18
Member
 
Join Date: May 2017
Posts: 44
Rep Power: 8
bbita is on a distinguished road
Dear Albrecht,

Sure, I will test the solver and let you know if it works for my case.
bbita is offline   Reply With Quote

Old   October 28, 2020, 08:56
Default
  #19
New Member
 
Maria Teresa Scelzo
Join Date: Apr 2018
Posts: 1
Rep Power: 0
MT Scelzo is on a distinguished road
Quote:
Originally Posted by vonboett View Post
there are many drag models, depending on your "phase particles" or other characteristics of you flow. They are in multiphaseEulerFoam/interfacialModels/dragModels.

You may find related drag models implemented in the lagrangian libraries, for solvers that couple continuous phase fluids solved by the Navier-Stokes eqns. with Lagrangian particle solvers, and maybe you find more comments about how the drag coefficients work searching among those solver discussions.



Dear all,



I am checking the calculation of the drag force in
reactingTwoPhaseEulerFoam OF 4.0.



I am in the folder multiphase/reacitngEulerFoam/interfacialModels/dragModels/dragModel.


In dragModel.C, I don't see the density of the dispersed phase in the definition of K.


EDIT: It should not be there because it multiplies the momentum equation. The dimensions are consistent.

Last edited by MT Scelzo; October 28, 2020 at 10:10.
MT Scelzo is offline   Reply With Quote

Old   March 14, 2021, 04:28
Default Blended.C
  #20
New Member
 
Vishal
Join Date: Sep 2020
Posts: 6
Rep Power: 5
vishalgarg474 is on a distinguished road
Why aren't there same blended libraries in multiphaseEulerFoam as twoPhaseEulerFoam?



As I understand they should both give same results when blending methods are used. But they do not.



I tried to look into the drag parameter coefficients and the values are different when I test the same case on twoPhaseEulerFoam and multiphaseEulerFoam.


Can somebody please shed some light on this?


Thank you
vishalgarg474 is offline   Reply With Quote

Reply

Tags
continuous, dispersed, multiphaseeulerfoam, specification


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
multiphaseEulerFoam: method iter() and calculation of phase fractions maybee OpenFOAM Programming & Development 1 July 22, 2020 08:20
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 16:12
Three Phase flow into a reservoir... akjha Main CFD Forum 0 December 15, 2014 07:01
Derive fixed number of phase from clone () in multiphaseEulerFoam Solver Aj Nair OpenFOAM Programming & Development 0 December 16, 2013 20:41
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32


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