|
[Sponsors] |
How to set initial field in two phase case? (-eulerfoam) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 13, 2009, 11:27 |
How to set initial field in two phase case? (-eulerfoam)
|
#1 |
Senior Member
Join Date: Mar 2009
Location: Norway
Posts: 138
Rep Power: 17 |
Dear experts,
I am setting up a simple case using a 40m horizontal pipe with a two phase flow - water and air. I have been looking in the tutorial directories of bubbleFoam and twoPhaseEulerFoam, but cannot grasp how to set the initial field. I am pretty sure it has something to do with the files in the 0.org sub directories, but cannot find any info on this forum or in the pdf userguides on how to actually carry this through. Any directions on what to do? |
|
July 13, 2009, 11:50 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi
You need to find information on either setFields or funkySetFields, where the later is useful for more complex initial fields. Best regards, Niels |
|
July 14, 2009, 05:21 |
|
#3 |
Senior Member
Join Date: Mar 2009
Location: Norway
Posts: 138
Rep Power: 17 |
Okay - I found a post from Hectux, http://www.cfd-online.com/Forums/ope...le-fluids.html, describing a pipe setup with setFields. However, I can't see how this can provide a continuous two phase inlet flow. Does it really?
My intensions for this case is a "horizontal bubble column", except that both phases should have different initial velocities... the alpha fraction is supposed to be 0.5. This is my first two phase flow case - may I use a single uniform air inlet, say a fraction of the main pipe inlet? Or would it be better - then how - to use a continuous (randomized) "dispersed" air phase at inlet? |
|
July 14, 2009, 05:52 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Kjetil
Well, setFields cannot give you the boundary conditions, however it can give you the internal initial conditions! With respect to boundary conditions, I do not know any of the ones you are talking about, however you might find groovyBC useful. Good luck, Niels |
|
Tags |
bubble, initial, two phase |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Unknown error | sivakumar | OpenFOAM Pre-Processing | 9 | September 9, 2008 13:53 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |
Differences between VOF and phase field | 2L | Main CFD Forum | 2 | July 4, 2004 14:30 |