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

kEpsilon turbulence model and twoPhaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By remidemol

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2016, 15:01
Default kEpsilon turbulence model and twoPhaseEulerFoam
  #1
New Member
 
Rémi Demol
Join Date: Mar 2016
Location: Nancy, France
Posts: 10
Rep Power: 10
remidemol is on a distinguished road
Hi everyone,

I've run several times my case (a bubble column) using twoPhaseEulerFoam and mixtureKEpsilon turbulent model for both phases.
I want to change the turbulence model to the standard kEpsilon model. So I changed the turbulentProperties files. But it crashed at the first iteration.

Maybe the answer is in the forum but I didn't find it yet.

Does anyone have a clue to fix it ?

Edit : I have to had that I consider the free surface in my simulation, that's maybe the raison why it crashed.

Thanks in advance for your answer.

My version of OF is 3.0.1
Here is what I got in my terminal

Code:
Starting time loop

Courant Number mean: 0.000104375 max: 0.00166667
Max Ur Courant Number = 0.00166667
deltaT = 0.00119617
Time = 0.00119617

PIMPLE: iteration 1
MULES: Solving for alpha.air
MULES: Solving for alpha.air
alpha.air volume fraction = 0.0624943  Min(alpha.air) = 0  Max(alpha.air) = 1
Constructing momentum equations
smoothSolver:  Solving for e.air, Initial residual = 1, Final residual = 4.30053e-09, No Iterations 2
smoothSolver:  Solving for e.water, Initial residual = 0.998714, Final residual = 1.41482e-07, No Iterations 1000
min T.air 349.868
min T.water 350
GAMG:  Solving for p_rgh, Initial residual = 1, Final residual = 3.19227e-09, No Iterations 9
PIMPLE: iteration 2
MULES: Solving for alpha.air
MULES: Solving for alpha.air
alpha.air volume fraction = 0.0625092  Min(alpha.air) = 0  Max(alpha.air) = 1
Constructing momentum equations
smoothSolver:  Solving for e.air, Initial residual = 0.951929, Final residual = 8.62357e-10, No Iterations 2
smoothSolver:  Solving for e.water, Initial residual = 0.00241502, Final residual = 3.63505e-10, No Iterations 1
min T.air 350
min T.water 350
GAMG:  Solving for p_rgh, Initial residual = 0.000249446, Final residual = 3.19735e-09, No Iterations 5
PIMPLE: iteration 3
MULES: Solving for alpha.air
MULES: Solving for alpha.air
alpha.air volume fraction = 0.0625042  Min(alpha.air) = 0  Max(alpha.air) = 1
Constructing momentum equations
smoothSolver:  Solving for e.air, Initial residual = 0.998442, Final residual = 3.91661e-11, No Iterations 2
smoothSolver:  Solving for e.water, Initial residual = 0.00105975, Final residual = 2.61401e-10, No Iterations 1
min T.air 348.551
min T.water 350
GAMG:  Solving for p_rgh, Initial residual = 0.000489843, Final residual = 8.84302e-10, No Iterations 5
#0  "Foam::error::printStack(Foam::Ostream&)" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/lib/libOpenFOAM.dylib
#1  "Foam::sigFpe::sigHandler(int)" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/lib/libOpenFOAM.dylib
#2  "_sigtramp" in /usr/lib/system/libsystem_platform.dylib
#3  ? in /usr/lib/system/libsystem_platform.dylib
#4  "Foam::symGaussSeidelSmoother::smooth(Foam::Field<double>&, Foam::Field<double> const&, unsigned char, int) const" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/lib/libOpenFOAM.dylib
#5  "Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/lib/libOpenFOAM.dylib
#6  "Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&)" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/lib/libfiniteVolume.dylib
#7  "Foam::fvMatrix<double>::solve(Foam::dictionary const&)" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/lib/libphaseCompressibleTurbulenceModels.dylib
#8  "Foam::fvMatrix<double>::solve()" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/lib/libphaseCompressibleTurbulenceModels.dylib
#9  "Foam::SolverPerformance<double> Foam::solve<double>(Foam::tmp<Foam::fvMatrix<double> > const&)" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/lib/libphaseCompressibleTurbulenceModels.dylib
#10  "Foam::RASModels::kEpsilon<Foam::EddyDiffusivity<Foam::ThermalDiffusivity<Foam::PhaseCompressibleTurbulenceModel<Foam::phaseModel> > > >::correct()" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/lib/libphaseCompressibleTurbulenceModels.dylib
#11  "Foam::twoPhaseSystem::correctTurbulence()" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/lib/libcompressibleTwoPhaseSystem.dylib
#12  "main" in /Volumes/OpenFOAM/OpenFOAM-3.0.1/platforms/darwin64ClangDPInt32Opt/bin/twoPhaseEulerFoam
#13  "start" in /usr/lib/system/libdyld.dylib
#14  ? in /usr/lib/system/libdyld.dylib
Floating point exception: 8
lourencosm likes this.

Last edited by remidemol; September 20, 2016 at 15:47. Reason: More information
remidemol is offline   Reply With Quote

Old   October 31, 2016, 13:48
Default
  #2
Member
 
Join Date: Jun 2011
Posts: 80
Rep Power: 14
maalan is on a distinguished road
Hi Rémi!

Did you find how to solve this problem?

Best,
Antonio
maalan is offline   Reply With Quote

Old   November 1, 2016, 09:33
Default
  #3
New Member
 
Rémi Demol
Join Date: Mar 2016
Location: Nancy, France
Posts: 10
Rep Power: 10
remidemol is on a distinguished road
Hi Maalan,

I didn't solve that problem with the twoPhaseEulerFoam solver but it works with multiphaseEulerFoam.

I suggest you to move on this solver in which you can define 2 phases or more than 2.

Best regards.
remidemol is offline   Reply With Quote

Old   November 3, 2016, 04:02
Default
  #4
Member
 
Join Date: Jun 2011
Posts: 80
Rep Power: 14
maalan is on a distinguished road
Great! I'm using OpenFOAM 2.3.x and I had to modify multiphaseEulerFoam to have RAS models also included.

Thanks Rémi!

Regards
maalan is offline   Reply With Quote

Old   June 18, 2017, 06:14
Default
  #5
New Member
 
farzad khallaghi
Join Date: Dec 2015
Posts: 10
Rep Power: 10
farzadpolytechnic is on a distinguished road
hi remi and malaan

i have same problem with twoPhaseEulerFoam. so do you solve your problem by changing solver?
i really have limitation in my time
so do you think multiPhaseEulerFoam solve problem about modeling air bubble plume and using different turbulence model or i have to do something else?

thanks a lot
farzad
farzadpolytechnic is offline   Reply With Quote

Old   July 14, 2017, 06:24
Default
  #6
New Member
 
atul_walia's Avatar
 
Atul Walia
Join Date: Mar 2017
Posts: 5
Rep Power: 9
atul_walia is on a distinguished road
Hi, how do i define the proper values of drag and lift force in bubble column, is there any formula for that or i just have to choose a random value, please help me out,
atul_walia is offline   Reply With Quote

Old   July 14, 2017, 10:58
Default
  #7
New Member
 
Rémi Demol
Join Date: Mar 2016
Location: Nancy, France
Posts: 10
Rep Power: 10
remidemol is on a distinguished road
Hi Atul,

You can define drag, lift, turbulent dispersion, added-mass or wall lubrication models from file constant/phaseProperties

Few models have been already implemented, you can put a question mark after keyword "type" and then run twoPhaseEulerFoam (or other solver) to see the different models. You can also implement an other.
remidemol is offline   Reply With Quote

Reply


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
RAS turbulence model in multiphase Euler solver for dilute particle laden flows openfoammaofnepo OpenFOAM 0 July 4, 2016 17:29
Turbulence modelling for bubble column in twoPhaseEulerFoam hester OpenFOAM Running, Solving & CFD 2 February 10, 2015 11:42
Buggy twoPhaseEulerFoam turbulence Model Kenna OpenFOAM Pre-Processing 2 December 2, 2013 07:43
twoPhaseEulerFoam: turbulence on produces instability of drag phase florian_krause OpenFOAM 1 October 11, 2013 09:02
twoPhaseEulerFoam turbulence model GerhardHolzinger OpenFOAM Running, Solving & CFD 6 October 16, 2012 04:28


All times are GMT -4. The time now is 02:01.