|
[Sponsors] |
variableHeightFlowRateInletVelocity bubbles at the inlet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 7, 2019, 11:16 |
variableHeightFlowRateInletVelocity bubbles at the inlet
|
#1 |
Member
Grivalszki Péter
Join Date: Mar 2019
Location: Budapest, Hungary
Posts: 39
Rep Power: 7 |
Hi,
I have a multiphase interIsoFoam simulation with variableHeightFlowRateInletVelocity inlet boundary condition for U. When I watched the results I've noticed inflow bubbles at the inlet. It looks quite random. Why are these bubbles? Are they normal? Can I do something against them? I'm afraid that these bubbles may affect my final results. Here is a photo of the problem (but a video would be more effective I know...) Thank you in advance! Griva |
|
October 8, 2019, 04:45 |
|
#2 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Griva,
I happened to come across exactly this in the Applied OpenFOAM course (CFD-Direct) I recently attended. The bubbles are a result of air being trapped at the inlet when the water level is rising at the start of the simulation. The good news is that this can be fixed, the sad news is that I can't remember exactly how... I think it was done by setting the initial volume fraction field not only in a boxToCell region, but also in a boxToFace region, to set the volume fraction on the inlet faces: Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // defaultFieldValues ( volScalarFieldValue alpha.water 0 ); regions ( boxToCell { box (-5 -1 -1) (0.5 1 1.3); fieldValues ( volScalarFieldValue alpha.water 1 ); } boxToFace { box (-5 -1 -1) (0.5 1 1.3); fieldValues ( volScalarFieldValue alpha.water 1 ); } ); Sita |
|
October 8, 2019, 12:54 |
|
#3 |
Member
Grivalszki Péter
Join Date: Mar 2019
Location: Budapest, Hungary
Posts: 39
Rep Power: 7 |
Unfortunately it didn't work... Can you please ask for the solution among your coursemates?
Thank you! Griva |
|
October 8, 2019, 15:30 |
|
#4 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Griva,
Ah, that's too bad, I'm fairly sure that this was the solution that was used during the course. If you want I can send you the case we did in a PM, so you can compare and try things for yourself. Sita P.S. I'm not sure I can see those bubbles in the images you attached. Wouldn't a phase fraction plot be more suitable here? |
|
October 9, 2019, 04:11 |
|
#5 |
Member
Grivalszki Péter
Join Date: Mar 2019
Location: Budapest, Hungary
Posts: 39
Rep Power: 7 |
I would be really grateful, thank you!
|
|
October 9, 2019, 08:02 |
|
#6 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Griva,
The private messaging tool is throwing errors, so I put the case on Dropbox instead: https://www.dropbox.com/s/j39gpxb4tx...rflow.zip?dl=0 I'm not sure whether the problem we prevented in this case is the same one you're encountering now, but hopefully it's useful to you anyway. Good luck, Sita P.S. Please let me know when you've downloaded the case, so I can remove it from my Dropbox |
|
October 10, 2019, 07:55 |
|
#7 |
Member
Grivalszki Péter
Join Date: Mar 2019
Location: Budapest, Hungary
Posts: 39
Rep Power: 7 |
Thank you so much, I've downloaded it!
Griva |
|
November 7, 2019, 11:14 |
|
#8 |
Member
Grivalszki Péter
Join Date: Mar 2019
Location: Budapest, Hungary
Posts: 39
Rep Power: 7 |
It didn't work
|
|
November 8, 2019, 06:30 |
|
#9 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Ah, that's too bad, sorry to hear that! I'm afraid I can't help you any further in that case.
|
|
Tags |
bubbles, inflow, inlet, random, variableheightflowrate |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
setting the correct format of nonuniform List<vector> for inlet in 0 Folder | cfdonline2mohsen | OpenFOAM Running, Solving & CFD | 8 | July 18, 2019 09:03 |
Adjuting oulet pressure till inlet pressure reaches a certain value in timestep | pvpnrao | OpenFOAM Running, Solving & CFD | 2 | September 11, 2018 11:14 |
multiple inlet as one inlet | amin_gls | CFX | 2 | October 2, 2013 09:59 |
velocity inlet and ideal gas simultaneously-what's wrong? | preetam69 | FLUENT | 0 | September 28, 2013 05:51 |
Inlet Velocity in CFX | aeroman | CFX | 12 | August 6, 2009 19:42 |