|
[Sponsors] |
twoPhaseEulerFoam bubble column crashes due to problems at outlet region |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 30, 2015, 08:05 |
twoPhaseEulerFoam bubble column crashes due to problems at outlet region
|
#1 |
Member
Join Date: May 2014
Location: Germany
Posts: 32
Rep Power: 12 |
Hello everyone,
I'm investigating a water air bubble column in a cuboid after Deen. When using more complex modells for the interface momentum transport coefficients I get problems at the outlet area (see pictures below). With SchillerNaumann for drag coefficient everything worked fine, while with IshiiZuber for drag coefficient the simulation crashes. This is my case setup: //========= 1. Mesh =============================// The cuboid measurements are 0.15 m x 0.15 m x 0.45 m. The inlet at the bottom is modelled as rectangular. The water surface is not included. I generated my mesh using blockMesh. It is equidistant. CheckMesh is okay. //========= 2. Boundary conditions ==================// I am using the following boundary condtitions: alpha.air Code:
internalField uniform 0; boundaryField { inlet { type fixedValue; value uniform 1; } outlet { type inletOutlet; phi phi.air; inletValue uniform 0; value uniform 0; } walls { type zeroGradient; } } Code:
internalField uniform (0 0 0); boundaryField { inlet { type fixedValue; value uniform (0 0 0.0784); } outlet { type zeroGradient; } walls { type fixedValue; value uniform (0 0 0); } } Code:
internalField uniform (0 0 0); boundaryField { inlet { type fixedValue; value uniform (0 0 0); } outlet { type slip; } walls { type fixedValue; value uniform (0 0 0); } } Code:
internalField uniform 100000; boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value $internalField; } walls { type zeroGradient; } } Code:
internalField uniform 1e-4; boundaryField { inlet { type turbulentIntensityKineticEnergyInlet; intensity 0.05; value uniform 0; } outlet { type inletOutlet; phi phi.air; inletValue $internalField; value uniform 0; } walls { type zeroGradient; } } Code:
internalField uniform 1e-5; boundaryField { inlet { type turbulentMixingLengthDissipationRateInlet; mixingLength 1e-3; k k.air; value uniform 0; } outlet { type inletOutlet; phi phi.air; inletValue $internalField; value uniform 0; } walls { type zeroGradient; } } Code:
internalField uniform 1e-5; boundaryField { inlet { type fixedValue; value $internalField; } outlet { type inletOutlet; phi phi.water; inletValue $internalField; value uniform 0; } walls { type zeroGradient; } } I'm assuming a constant air bubble diameter of 4 mm. I only consider drag, lift and virtual mass force. Drag is modelled after Ishii and Zuber as describes here: http://cfd-online.com/Forums/openfoa...eulerfoam.html Lift and virtual mass coefficents are both constant with a value of 0.5. //========= 4. Discretization =======================// Used methods in fvScheme Code:
ddtSchemes { default Euler; } gradSchemes { default Gauss linear; } divSchemes { // from bubble column tutorial default Gauss linear; "div\(phi,alpha.*\)" Gauss vanLeer; "div\(phir,alpha.*\)" Gauss vanLeer "div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1; "div\(phi.*,U.*\)" Gauss limitedLinearV 1; "div\(alphaPhi.*,.*rho.*\)" Gauss linear; "div\(alphaPhi.*,(h|e).*\)" Gauss limitedLinear 1; "div\(alphaPhi.*,(K.*|p)\)" Gauss limitedLinear 1; "div\(alphaPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1; "div\(phim,(k|epsilon)m\)" Gauss limitedLinear 1; "div\(\(\(alpha.*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear; } laplacianSchemes { default Gauss linear uncorrected; } interpolationSchemes { default linear; } snGradSchemes { default uncorrected; } fluxRequired { default no; p ; } I only use GAMG as suggested by my professor. fvSolution: Code:
solvers { alpha.air { nAlphaCorr 1; nAlphaSubCycles 2; } p { solver GAMG; smoother DIC; nPreSweeps 0; nPostSweeps 2; nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 160; agglomerator faceAreaPair; mergeLevels 2; tolerance 1e-6; relTol 0.0001; } pFinal { $p; relTol 0; } "e.*" { solver GAMG; smoother DILU; nPreSweeps 0; nPostSweeps 2; nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 160; agglomerator faceAreaPair; mergeLevels 2; tolerance 1e-6; relTol 0.0001; } "(k|epsilon|Theta).*" { solver GAMG; smoother DILU; nPreSweeps 0; nPostSweeps 2; nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 160; agglomerator faceAreaPair; mergeLevels 2; tolerance 1e-6; relTol 0.0001; } } PIMPLE { nOuterCorrectors 1; nCorrectors 2; nNonOrthogonalCorrectors 0; residualControl { "(U|k|epsilon)" { relTol 0.0001; tolerance 0.0001; } } turbOnFinalIterOnly off; } relaxationFactors { } //========= 6. Problem ===========================// After air reaches the outlet area it didn't seem to leave. alpha.air gets big (still <1) in the upper cells and the solution eventually crashes shortly after 7.6 s flow. The flow field for U.water shows there is water inflow. I first set up my case using SchillerNaumann for drag and everything worked fine. But using IshiiZuber instead breaks my simulation. I already tried different things that I found on the forum:
Regards, hester Last edited by hester; March 30, 2015 at 09:33. |
|
March 30, 2015, 09:47 |
|
#2 |
Member
Join Date: May 2014
Location: Germany
Posts: 32
Rep Power: 12 |
Here are the source files of the used Ishii Zuber drag model.
|
|
March 30, 2015, 17:00 |
|
#3 |
Member
Mattia de\' Michieli Vitturi
Join Date: Mar 2009
Posts: 51
Rep Power: 17 |
Hi Hester,
I am wondering why you are using a "slip" boundary condition at the outlet for the liquid velocity and not a "zeroGradient". Have you tested the zeroGradient? Ciao Mattia |
|
March 31, 2015, 07:47 |
|
#4 |
Member
Join Date: May 2014
Location: Germany
Posts: 32
Rep Power: 12 |
Hello Mattia,
thank you for your answer. I tried zeroGradient for the liquid face at the outlet. I get no simulation problems but the results were wrong. I didn't observe the recirculation pattern in the liquid face. Also was the velocity compared with experimental results too low. So zeroGradient is not what I want here. I use slip because the the outlet boundary is where the water surface would be if I included it in my simulation. I don't want any water to leave the domain. Regards, hester |
|
May 18, 2016, 11:20 |
|
#5 | |
Senior Member
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14 |
Quote:
were you able to resolve your problem at the outlet region? I think the slip BC is OK to model water surface but i recognized you did not post your alpha.water file. What did you put there for outlet? For the other approach, when i try to model water and air as two different parts in my domain via setFields i experience that even with a fine mesh the water/air interface (surface) becomes very fuzzy over time which i can not explain or resolve so far.. |
||
July 21, 2024, 09:19 |
regarding to twophaseEulerfoam solver
|
#6 |
New Member
omveer
Join Date: Jul 2024
Posts: 1
Rep Power: 0 |
hello friend ,
now i am doing work on heat exchanger that in which used nanofluid used as a coolent so now i am try to doing solve governing equation in openFoam . and for this problem , choose twophaseEulerFoam but when i apply boundery condition according to desireable result and problem, than facing some problem an showing some error like |
|
Tags |
bubble column, twophaseeulerfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Solving bubble column using twoPhaseEulerFoam | vishal3 | OpenFOAM Pre-Processing | 0 | July 11, 2013 07:19 |
Some problems with twoPhaseEulerFoam | su_junwei | OpenFOAM Running, Solving & CFD | 2 | November 2, 2012 02:12 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |
VOF Outlet boundary condition in cfd - ace | JM | Main CFD Forum | 0 | December 15, 2006 09:07 |
Bubble Column | Glen | Main CFD Forum | 0 | January 24, 2006 01:56 |