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

twoPhaseEulerFoam-2.3.x breaks my bubble column

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2014, 07:27
Question twoPhaseEulerFoam-2.3.x breaks my bubble column
  #1
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
I have a bubble column which simulates just fine with twoPhaseEulerFoam-2.3.0. However, twoPhaseEulerFoam-2.3.x breaks the case.

I attached some images to illustrate my problem.

With OF-2.3.0 all turns out just fine. The screenshots of this case are at t=3s.

With OF-2.3.x, however, the simulation crashes at some point after t=0.2s.

I attached also the case for you to play around.


So, to repeat my problem or question:

How can I get my case running in twoPhaseEulerFoam-2.3.x with the fully conservative formulation (i.e. fvm::ddt(alpha1, rho1, U1) instead of fvm::ddt(alpha1, U1))?
Attached Images
File Type: jpg alpha_of230.jpg (20.6 KB, 193 views)
File Type: jpg uAir_of230.jpg (19.3 KB, 144 views)
File Type: jpg alpha_of23x.jpg (16.8 KB, 139 views)
File Type: jpg uAir_of23x.jpg (20.6 KB, 140 views)
Attached Files
File Type: gz bubbleColumn.tar.gz (4.4 KB, 62 views)
GerhardHolzinger is offline   Reply With Quote

Old   October 27, 2014, 08:39
Default
  #2
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
cutter is on a distinguished road
Hi,

I'm currently investigating twoPhaseEulerFoam too. I have no idea what the reason for the crash is, but I can confirm that it's also crashing after 0.1301399s with my version of OF 2.3.x.

Just an idea: You could use 'git bisect' to find the patch that is causing the problem. This will take some time (depending on the number of git commits and your compile times), but it might help you finding the problem or maybe filing a bug report.

BTW: nice talk at the conference!

Cutter


http://git-scm.com/book/en/v2/Git-To...gging-with-Git
cutter is offline   Reply With Quote

Old   November 11, 2014, 16:23
Default
  #3
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
The new formulation couples the system of equations in a much tighter way. You must ensure that the whole system converges well.
The modification was introduced to ensure the conservation of the disperse phase, and to guarantee energy conservation when there are large gradients of the dispersed phase fraction.

In short, use multiple (20 - 40) outer correctors, and a sufficiently strict Courant condition.
makaveli_lcf likes this.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 12, 2014, 07:40
Default
  #4
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
Thanks for your reply and your note at my bug report (http://www.openfoam.org/mantisbt/view.php?id=1441#c3281).

Sorry, for being a whining baby, but is this the only way to get the cases to run?

Making the time step small by prescribing a small Co number and performing tens of outer iteration causes the case to take ages.

I know generalisation is a good thing, but I don't want my isothermal, incompressible cases to take x times as long just because I use a newer version of OpenFOAM.

Although I like the features introduced in OF-2.3.x such as the fvOptions mechanism in twoPhaseEulerFoam, I highly dislike the pain it causes me to get any case running.
GerhardHolzinger is offline   Reply With Quote

Old   November 12, 2014, 11:30
Default
  #5
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
I still don't manage to get the case running.

I use maxCo = 0.2 and the following residualControls.

To get to 0.1s simulated time, I had to wait for 2h and the result is still the same unphysical mess.

Does anybody get this bubble column to work?

Code:
PIMPLE
{
    nOuterCorrectors 40;
    nCorrectors      3;
    nNonOrthogonalCorrectors 0;
    
    residualControl
    {
        "(U|k|epsilon)"
        {
            relTol          0.0001;
            tolerance       0.0001;
        }
    }

    turbOnFinalIterOnly off;

}
Attached Images
File Type: jpg uAirOF23xTest01.jpg (14.7 KB, 45 views)
GerhardHolzinger is offline   Reply With Quote

Old   November 12, 2014, 14:17
Default
  #6
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
I'm giving it a try now :-)
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 12, 2014, 14:32
Default
  #7
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
One question: is the inlet made by a central square and a small square in a corner?

That is what topoSet + createPatch seems to generate here.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 12, 2014, 15:24
Default
  #8
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Ok. Not sure how that happened. But I answered my question... just a square in the center.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 12, 2014, 15:49
Default
  #9
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by GerhardHolzinger View Post
Although I like the features introduced in OF-2.3.x such as the fvOptions mechanism in twoPhaseEulerFoam, I highly dislike the pain it causes me to get any case running.
2.3.x is a development version. I would stick to 2.3.0 for production, if you don't need the features in 2.3.x.

Also, your case has some inconsistency which are independent from the problem you are encountering: you fill the column with water, water cannot go out (slip condition), but you add mass to the system. Also, Uwater at the inlet should be zero, being alpha.water zero.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 12, 2014, 21:26
Default
  #10
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
I investigated a bit more, and run your simulation with Schiller-Naumann drag, obtaining reasonable results. Could you check that? Maybe it is a problem in the implementation of the drag law.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 13, 2014, 03:19
Default
  #11
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
Thank you for having a look on my problem. I apologize for posting a messy case, that's clearly my homework to do.

This bubble column is based on the thesis and other publications of N. Deen, e.g. [1,2]


The problem with the water not being able to leave the domain is a tricky one. How could I model the upper boundary without including the free surface into my simulation domain?
Including the free surface introduces additional problems, e.g. phase-inversion.


I cleaned up and attached the case.

[1] N. G. Deen, T. Solberg, and B. H. Hjertager. Large eddy simulation of the gas-liquid flow in
a square cross-sectioned bubble column. Chemical Engineering Science, 56:6341–6349, 2001.

[2] Niels G. Deen. An experimental and computational study of fluid dynamics in gas-liquid
chemical reactors. PhD thesis, Aalborg University Esbjerg, 2001.
Attached Files
File Type: gz DeenBubbleColumn.tar.gz (4.5 KB, 79 views)
GerhardHolzinger is offline   Reply With Quote

Old   November 13, 2014, 10:47
Default
  #12
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Thanks for the updated case. I will look into it.

Quote:
Originally Posted by GerhardHolzinger View Post
The problem with the water not being able to leave the domain is a tricky one. How could I model the upper boundary without including the free surface into my simulation domain?
Including the free surface introduces additional problems, e.g. phase-inversion.
The problem of phase inversion is well addressed in twoPhaseEulerFoam, so I would not worry about it. For stability, it is probably a good idea to actually include the free surface (it won't be resolved in detail, so it won't add computational cost) because it allows recirculation of water at the boundary to be avoided. Additionally, it lets you specify an easier boundary condition (constant pressure).

In any case, I will come back with additional comments once I look at the updated case :-)
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 13, 2014, 13:51
Default
  #13
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
I have come to the conclusion that the major culprit is the TomiyamaAnalytic drag. I ran the case with both Schiller-Naumann and Tomiyama-Kataoka-Zun-Sakaguchi drag law (I implemented it), and I don't see the very strange velocity profile that comes out with the TomiyamaAnalytic implementation.

Is the grid you are using here the same you had when you ran with 2.3.0 and obtained good results, or did you coarsen it? I don't see a lot of fluctuations in the bubble plume with the Schiller-Naumann drag. The case with Tomiyama-Kataoka-Zun-Sakaguchi is still running, so I will know soon.
makaveli_lcf likes this.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 13, 2014, 14:05
Default
  #14
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
Hi,

it is the same the mesh. I should definitely try other drag laws.

I will look into this issue.

Thanks for taking so many looks on my stuff.

It was definitely good to have a different pair of eyes on a problem I am stuck with.
GerhardHolzinger is offline   Reply With Quote

Old   November 28, 2014, 02:21
Default
  #15
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by GerhardHolzinger View Post
Hi,

it is the same the mesh. I should definitely try other drag laws.

I will look into this issue.

Thanks for taking so many looks on my stuff.

It was definitely good to have a different pair of eyes on a problem I am stuck with.
Any improvements?
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   June 21, 2015, 06:42
Default fuctuations in bubbe pume
  #16
Senior Member
 
zandi's Avatar
 
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 17
zandi is on a distinguished road
Quote:
Originally Posted by alberto View Post
I have come to the conclusion that the major culprit is the TomiyamaAnalytic drag. I ran the case with both Schiller-Naumann and Tomiyama-Kataoka-Zun-Sakaguchi drag law (I implemented it), and I don't see the very strange velocity profile that comes out with the TomiyamaAnalytic implementation.

Is the grid you are using here the same you had when you ran with 2.3.0 and obtained good results, or did you coarsen it? I don't see a lot of fluctuations in the bubble plume with the Schiller-Naumann drag. The case with Tomiyama-Kataoka-Zun-Sakaguchi is still running, so I will know soon.
Dear Dr. Passalacqua
Is fluctuations in plume of bubble in this solver due to drag model? Schiller-Naumann can do fix it? in water and air mixing flow.

Really Thank you
Fatema
zandi is offline   Reply With Quote

Old   August 11, 2015, 04:43
Default
  #17
Member
 
Mohsen
Join Date: Jul 2012
Posts: 49
Rep Power: 13
smhosseini is on a distinguished road
Hi everybody,

I want to simulate a bubble column. In this case, the gas phase is absorbed by the liquid phase and there is a reaction in the liquid phase. I'm going to use OpenFOAM. I want to combine twoPhaseEulerFoam and reactingFoam.

Could you tell me your idea about this case? Do you have any suggestion for me?

what is the term of + fvOptions(rho, Yi) in the YEqn.H of reactingFoam?

Looking forward to your answers.
Thanks in advance.
smhosseini is offline   Reply With Quote

Old   August 11, 2015, 05:38
Default
  #18
Senior Member
 
zandi's Avatar
 
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 17
zandi is on a distinguished road
Quote:
Originally Posted by zandi View Post
Dear Dr. Passalacqua
Is fluctuations in plume of bubble in this solver due to drag model? Schiller-Naumann can do fix it? in water and air mixing flow.

Really Thank you
Fatema
O

I fixed it!! it is because of deltaT and maxCo
delta and courant number
zandi is offline   Reply With Quote

Old   September 8, 2015, 05:07
Default bubble column reactor
  #19
New Member
 
surya
Join Date: Jul 2015
Posts: 24
Rep Power: 10
surya.tdr is on a distinguished road
can any one help to simulate my bubble column which is having co-current flow of air and water. Is it possible to provide boundary conditions for inlet air and water or is it necessary to define a stagnant liquid column?
surya.tdr is offline   Reply With Quote

Old   September 8, 2015, 06:25
Default
  #20
Senior Member
 
zandi's Avatar
 
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 17
zandi is on a distinguished road
Quote:
Originally Posted by surya.tdr View Post
can any one help to simulate my bubble column which is having co-current flow of air and water. Is it possible to provide boundary conditions for inlet air and water or is it necessary to define a stagnant liquid column?
Hi
yes it is. I don't know alot about "co-current flow of air and water" but you can with different U files for water and air .
surya.tdr likes this.
zandi is offline   Reply With Quote

Reply

Tags
openfoam-2.3, openfoam-2.3.x, twophaseeulerfoam


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
2D bubble rising through a column of water vof64 Fluent Multiphase 0 August 19, 2014 23:42
twoPhaseEulerFoam Simulations of bubble column vishal3 OpenFOAM 1 July 7, 2014 04:12
becker bubble column with twoPhaseEulerFoam GerhardHolzinger OpenFOAM Running, Solving & CFD 4 November 25, 2013 01:53
Solving bubble column using twoPhaseEulerFoam vishal3 OpenFOAM Pre-Processing 0 July 11, 2013 06:19
twoPhaseEulerFoam : bubble column modeling chittipo OpenFOAM Running, Solving & CFD 2 June 11, 2012 06:12


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