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

driftFluxFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree14Likes
  • 4 Post By decah
  • 2 Post By cfdsolver1
  • 2 Post By decah
  • 2 Post By cfdsolver1
  • 1 Post By farzadpolytechnic
  • 1 Post By drissjbira
  • 1 Post By rsamstag
  • 1 Post By nepomnyi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2017, 08:08
Post driftFluxFoam
  #1
New Member
 
farzad khallaghi
Join Date: Dec 2015
Posts: 10
Rep Power: 10
farzadpolytechnic is on a distinguished road
hi foamers
for my MSc thesis i work with openFOAM . i want to simulate air bubble flow with driftFluxFoam and mixture approache. but as i know this solver use non-Newtonian fluid for second phase in transport properties, and we know that the air bubble's are Newtonian.
when i use Newtonian method instead of binghamPlastic(default of driftFluxFoam in openFoam 4.0) i recive this error:
PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading incompressibleTwoPhaseInteractingMixture

Selecting incompressible transport model transportModel


--> FOAM FATAL ERROR:
Unknown mixtureViscosityModel type transportModel

Valid mixtureViscosityModels are :

3
(
BinghamPlastic
plastic
slurry
)


From function static Foam::autoPtr<Foam::mixtureViscosityModel> Foam::mixtureViscosityModel::New(const Foam::word&, const Foam::dictionary&, const volVectorField&, const surfaceScalarField&)
in file mixtureViscosityModel/mixtureViscosityModelNew.C at line 49.

FOAM exiting



so please help me how can i solve this problem?
is there any way for use both phase as Newtonian?

Last edited by farzadpolytechnic; May 26, 2017 at 06:33.
farzadpolytechnic is offline   Reply With Quote

Old   May 26, 2017, 18:08
Default
  #2
Member
 
Declan
Join Date: Oct 2016
Location: Ireland
Posts: 40
Rep Power: 9
decah is on a distinguished road
Hi Farzad

I think interFoam or twoPhaseEulerFoam would be more appropriate solvers for your problem. The drift flux model equations are solved for a two-phase mixture where the two phases are considered to be interpenetrating, i.e. the continuous and dispersed phases are both defined at every point.

If you still want to use driftFluxFoam, I would say select the default Bingham viscosity model and then in transportProperties:
Code:
BinghamCoeff  0; //sets the yield stress to 0
...
muMax  1.8e-6; //viscosity of air at 20 deg
This should make the mixture viscosity quasi-Newtonian
decah is offline   Reply With Quote

Old   May 27, 2017, 04:48
Default
  #3
New Member
 
farzad khallaghi
Join Date: Dec 2015
Posts: 10
Rep Power: 10
farzadpolytechnic is on a distinguished road
hi dear declan
thank you for your quick answer
my modeling is in two-phase mixture approach, so i have to work with this solver
i change the binghamCoeff and mu Max as you said, but it still don't get correct answer
do you know about the other coefficient in transport properties file? do you have some text our any source that explain about this coefficient?
best regard
farzad
farzadpolytechnic is offline   Reply With Quote

Old   May 27, 2017, 07:00
Default
  #4
Member
 
Join Date: Jul 2013
Posts: 39
Rep Power: 12
cfdsolver1 is on a distinguished road
I think you can do that by adding new transport model to solver and compiling it. As an alternative, I think it might be possible to add the needed model into your controlDict file. Both examples are available in the forum as I remember.
cfdsolver1 is offline   Reply With Quote

Old   May 27, 2017, 07:00
Default
  #5
Member
 
Declan
Join Date: Oct 2016
Location: Ireland
Posts: 40
Rep Power: 9
decah is on a distinguished road
Hi Farzad

The other coefficients are for calculating the plastic yield stress (which would be zero for a Newtonian fluid) and the plastic viscosity (which you want to be a linear function of strain rate for a Newtonian fluid). You could try the Chalmers report by Naser Hamedi for some more info.

The twoPhaseEulerFoam solver also employs a mixture approach and will allow you to select Newtonian viscosity more easily. driftFluxFoam assumes one phase moves relative to the other at a constant slip velocity like solid particles settling out of water under gravity.
decah is offline   Reply With Quote

Old   May 27, 2017, 11:39
Default
  #6
New Member
 
farzad khallaghi
Join Date: Dec 2015
Posts: 10
Rep Power: 10
farzadpolytechnic is on a distinguished road
thank you cfdsolver1
do you remember the title of the topic or do you have its link?
farzadpolytechnic is offline   Reply With Quote

Old   May 27, 2017, 11:46
Default
  #7
Member
 
Join Date: Jul 2013
Posts: 39
Rep Power: 12
cfdsolver1 is on a distinguished road
Quote:
Originally Posted by farzadpolytechnic View Post
thank you cfdsolver1
do you remember the title of the topic or do you have its link?

I think you can compile new model as in this thread: How creating new thermo physical model

and adding it to controlDict file should be similar like this: How to add a new Equation of State
cfdsolver1 is offline   Reply With Quote

Old   May 27, 2017, 11:47
Default
  #8
New Member
 
farzad khallaghi
Join Date: Dec 2015
Posts: 10
Rep Power: 10
farzadpolytechnic is on a distinguished road
dear declan
it is really helpful for me.thank you a lot
twoPhaseEulerFoam solve problem in Eulerian-Eulerian method which both phase are Newtonian fluid. i use this solver before.know i want to compare the result with mixture method.
my case is bubble plume and i want to simulate air bubble flow. free surface and bubble coalescence and break up doesn't care for my case
Bashar likes this.
farzadpolytechnic is offline   Reply With Quote

Old   August 16, 2017, 12:08
Default
  #9
Member
 
Bashar
Join Date: Jul 2015
Posts: 74
Rep Power: 10
Bashar is on a distinguished road
Hi, Farzad

I am also interested in using driftFlux for two Newtonian fluid. Did you have any information about these kind of applications.
Bashar is offline   Reply With Quote

Old   May 22, 2018, 16:59
Default driftFlux
  #10
New Member
 
Join Date: May 2018
Posts: 4
Rep Power: 7
Mousa.h is on a distinguished road
Quote:
Originally Posted by Bashar View Post
Hi, Farzad

I am also interested in using driftFlux for two Newtonian fluid. Did you have any information about these kind of applications.
Hi Bashar

Has your problem resolved with the driftFluxFoam?
Mousa.h is offline   Reply With Quote

Old   June 14, 2018, 09:55
Exclamation
  #11
New Member
 
driss
Join Date: Jun 2018
Posts: 1
Rep Power: 0
drissjbira is on a distinguished road
please i want to understand everething about this Solver(DriftFluxFoam)
if anyone have an idea or a book
please help me
thanks
nepomnyi likes this.
drissjbira is offline   Reply With Quote

Old   June 13, 2019, 17:58
Default driftFluxFoam
  #12
New Member
 
Randal Samstag
Join Date: Jan 2015
Location: Bainbridge Island, WA US
Posts: 8
Rep Power: 11
rsamstag is on a distinguished road
Quote:
Originally Posted by drissjbira View Post
please i want to understand everething about this Solver(DriftFluxFoam)
if anyone have an idea or a book
please help me
thanks

There aren't any good tutorials for driftFluxFoam to my knowledge besides Brennan's thesis: powerlab.fsb.hr/ped/kturbo/OpenFOAM/docs/DanielBrennanPhD.pdf. Cheers, Randal
nepomnyi likes this.
rsamstag is offline   Reply With Quote

Old   September 12, 2022, 12:33
Default Seeking clarification
  #13
Member
 
Ivan Nepomnyashchikh
Join Date: Sep 2019
Location: USA
Posts: 30
Blog Entries: 1
Rep Power: 6
nepomnyi is on a distinguished road
Quote:
Originally Posted by rsamstag View Post
There aren't any good tutorials for driftFluxFoam to my knowledge besides Brennan's thesis: powerlab.fsb.hr/ped/kturbo/OpenFOAM/docs/DanielBrennanPhD.pdf. Cheers, Randal

Hello Randal, thank you for the suggestion because it is frustrating not been able to find a manual for the drift flux model.
The link you provided is broken. It appears to be difficult to manually find the dissertation on the Internet with the information you gave.
I'm wondering if you can be so kind to give more information on the thesis. Such as (but not limited to), the name of the dissertation, university where Danial Brennan studied and the d.o.i of the publication.

Thank you in advance.
Ivan
nepomnyi is offline   Reply With Quote

Old   September 12, 2022, 12:49
Default
  #14
Member
 
Ivan Nepomnyashchikh
Join Date: Sep 2019
Location: USA
Posts: 30
Blog Entries: 1
Rep Power: 6
nepomnyi is on a distinguished road
Quote:
Originally Posted by nepomnyi View Post
Hello Randal, thank you for the suggestion because it is frustrating not been able to find a manual for the drift flux model.
The link you provided is broken. It appears to be difficult to manually find the dissertation on the Internet with the information you gave.
I'm wondering if you can be so kind to give more information on the thesis. Such as (but not limited to), the name of the dissertation, university where Danial Brennan studied and the d.o.i of the publication.

Thank you in advance.
Ivan

I guess, I've found it.

Here's one link, here's another one to Google books.
I can't seem to find d.o.i. Here is the full name of the dissertation. Daniel Brennan, The numerical simulation of two-phase flows in settling tanks, January 2001. Thesis submitted for the degree of Doctor of Philosophy of the University of London. Imperial college of science, technology of medicine, department of mechanical engineering, Exhibition road, London, SW7 2BX.


The dissertation is from 2001. I doubt it provides all the details of the OpenFOAM implementation of the drift-flux model.


Ivan
esma likes this.
nepomnyi is offline   Reply With Quote

Reply

Tags
air bubble, drift flux model, mixture model., newtonian


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
driftFluxFoam viscosity model modification problem dleduc OpenFOAM Programming & Development 15 October 1, 2018 09:37
buoyantKEpsilon in driftFluxFoam randolph OpenFOAM Running, Solving & CFD 1 July 3, 2018 13:53
New Viscosity model in DriftFluxFoam yang.l OpenFOAM 2 December 2, 2017 06:56
wall BC driftFluxFOAM Arne87 OpenFOAM Running, Solving & CFD 0 March 17, 2016 03:00
Potential bug(s) in driftFluxFoam viscosityModel code Astrodan OpenFOAM Programming & Development 0 August 11, 2014 04:13


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