|
[Sponsors] |
Two-phase Eulerian model for nucleate subcooled boiling |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 13, 2010, 11:56 |
Two-phase Eulerian model for nucleate subcooled boiling
|
#1 |
Member
Join Date: Sep 2010
Posts: 35
Rep Power: 16 |
Hi Foamers,
I want to model nucleate boiling using a Eulerian-Eulerian approach (no interface tracking or level set method but derivation of mass, momentum and energy conservation equations for both liquid and vapor phase). Basically my geometry is a 2D semi-channel in the plane (x,y) * x=0-axis corresponds to the centerline of the real channel (bulk coolant) * x=xmax corresponds to the heated wall * water is flowing along the y-axis Physically speaking, part of the water will boil in the vicinity of the heated wall, and formed bubbles will subsequently move towards the center of the real channel, i.e towards x=0 and condensate due to the contact with the surrounding subcooled water. In this model, one assumes that the whole heat given by the wall is given to the liquid phase. The vapor phase can only gain energy through evaporation of water. I started from the twoPhaseEulerFoam solver, and I implemented interfacial forces for drag, lift, virtual mass, turbulent dispersion, wall lubrication. In a first time, I just modeled the condensation of bubbles, assuming that at the inlet, there is some void and these bubbles are condensing while flowing along the channel. BUT FOR THE MOMENT NO HEAT WAS SUPPLY TO THE WALL, so no evaporation was considered. The results were quite satisfying. Now i want to go one step further and add in my model the evaporation of water close to the wall. Before developing a more complicated boiling model, I tried something very simple. I just took a constant evaporation rate that I applied to the cells in contact with the wall. Then in my momentum and energy equations, I took into account both the variations due to condensation and evaporation, as well as the heat supplied by the wall to the liquid phase in contact with the wall. However, my simulations crashed very quickly and I get this error message: Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/home/michta/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::sigFpe::sigFpeHandler(int) in "/home/michta/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so" #2 in "/lib/libc.so.6" #3 Foam::LimitedScheme<double, Foam::limitedLinearLimiter<Foam::NVDTVD>, Foam::limitFuncs::magSqr>::limiter(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/michta/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libfiniteVolume.so" #4 Foam::limitedSurfaceInterpolationScheme<double>::weights(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/michta/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libfiniteVolume.so" #5 Foam::fv::gaussConvectionScheme<double>::fvmDiv(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&) const in "/home/michta/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libfiniteVolume.so" #6 in "/home/michta/OpenFOAM/michta-1.7.x/applications/bin/linux64GccDPOpt/EulerEulerBoilingFoam" #7 in "/home/michta/OpenFOAM/michta-1.7.x/applications/bin/linux64GccDPOpt/EulerEulerBoilingFoam" #8 in "/home/michta/OpenFOAM/michta-1.7.x/applications/bin/linux64GccDPOpt/EulerEulerBoilingFoam" #9 __libc_start_main in "/lib/libc.so.6" #10 in "/home/michta/OpenFOAM/michta-1.7.x/applications/bin/linux64GccDPOpt/EulerEulerBoilingFoam" Floating point exception Code:
UaEqn = ( (scalar(1) + CVM*rhob*alpha*beta/rhoa)* ( fvm::ddt(Ua) + fvm::div(phia, Ua, "div(phia,Ua)") - fvm::Sp(fvc::div(phia), Ua) ) - fvm::laplacian(nuEffa, Ua) + fvc::div(Rca) + fvm::div(phiRa, Ua, "div(phia,Ua)") - fvm::Sp(fvc::div(phiRa), Ua) + (fvc::grad(alpha)/(fvc::average(alpha) + scalar(0.001)) & Rca) == // g // Buoyancy term transfered to p-equation - fvm::Sp(beta/rhoa*AD, Ua) //+ beta/rhoa*AD*Ub // Explicit drag transfered to p-equation - beta/rhoa*(liftForce - virtualMassForcea + turbulentDispersionForce + wallLubricationForce) + (GammaGL-GammaLG)/(alpha+scalar(0.001))/rhoa*Ub - fvm::Sp((GammaGL-GammaLG)/(alpha+scalar(0.001))/rhoa, Ua) ); If you need more details, don't hesitate to ask. Thanks in advance! /Ed |
|
October 14, 2010, 21:51 |
|
#2 |
Senior Member
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17 |
Hi Edy, I am also doing the simulation on two-phase flow with phase change using Euler-Euler model. But you are way ahead of me. This time I am struggling at the stage without considering the mass and heat transfer.
Back to your question, I think you need to add a source term to the pressure equation considering the condensation or evaporation. Hope this can help you. Best regards, Chiven |
|
October 15, 2010, 08:19 |
|
#3 |
Member
Join Date: Sep 2010
Posts: 35
Rep Power: 16 |
Hi Chiven,
Thanks for your reply. Your answer is actually very helpful, i'll dig deeper in this p-Eqn and try to see which term to add. With condensation only, I kept the pEqn unchanged and it worked. But my evaporation rate is much bigger and it might cause some problems. I'll check this issue next week cause I found out mistakes in my interfacial forces implementation that I need to solve first. If you have questions while developing your model, dont hesitate to ask, perhaps I will have encountered the same problem before. Thanks again. Best /Ed |
|
September 26, 2013, 12:31 |
|
#4 | |
New Member
yasin ramzani
Join Date: May 2011
Posts: 5
Rep Power: 15 |
Quote:
maybe its better to see master thesis of Edouard Michta (Modeling of Subcooled Nucleate Boiling with OpenFOAM) |
||
February 9, 2017, 03:09 |
|
#5 | |
Member
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 56
Rep Power: 13 |
Quote:
I've read that thesis and i think it's suitable for my work. But i couldn't find his solver on the net. Do you have it? Or do you know how can i get it? Thanks in advance, |
||
February 11, 2017, 17:21 |
|
#6 |
Member
Juho Peltola
Join Date: Mar 2009
Location: Finland
Posts: 89
Rep Power: 17 |
It is not the Michta's solver discussed above, but you may wan't to look at reactingTwoPhaseEulerFoam of recent OpenFOAM releases (3.1 and newer).
You can currently find two subcooled nucleate boiling tutorials in OpenFOAM-dev: Constant bubble diameter: https://github.com/OpenFOAM/OpenFOAM...AS/wallBoiling With IATE diameterModel: https://github.com/OpenFOAM/OpenFOAM...allBoilingIATE |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boiling and combustion of Eulerian phase? | naimishharpal | Main CFD Forum | 0 | August 29, 2010 20:13 |
Lift coefficients for Eulerian Multiphase Model | Anastasios Georgoulas | FLUENT | 0 | July 14, 2008 07:13 |
Source Term used in Eulerian Model(Two phase) | Padian | FLUENT | 1 | May 19, 2008 04:47 |
Mass and het transfer using eulerian model | Pablo | FLUENT | 0 | February 16, 2007 09:36 |
3 phase Eulerian Model | krishna | FLUENT | 1 | January 3, 2004 15:20 |