CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

How to set initial field in two phase case? (-eulerfoam)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 13, 2009, 10:27
Question How to set initial field in two phase case? (-eulerfoam)
  #1
Member
 
Join Date: Mar 2009
Location: Norway
Posts: 85
Rep Power: 8
kjetil is on a distinguished road
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?
kjetil is offline   Reply With Quote

Old   July 13, 2009, 10:50
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,620
Rep Power: 25
ngj will become famous soon enoughngj will become famous soon enough
Hi

You need to find information on either setFields or funkySetFields, where the later is useful for more complex initial fields.

Best regards,

Niels
ngj is offline   Reply With Quote

Old   July 14, 2009, 04:21
Default
  #3
Member
 
Join Date: Mar 2009
Location: Norway
Posts: 85
Rep Power: 8
kjetil is on a distinguished road
Okay - I found a post from Hectux, What solver for two immiscible fluids?, 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?
kjetil is offline   Reply With Quote

Old   July 14, 2009, 04:52
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,620
Rep Power: 25
ngj will become famous soon enoughngj will become famous soon enough
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
ngj is offline   Reply With Quote

Reply

Tags
bubble, initial, two phase

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


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 15:33
Unknown error sivakumar OpenFOAM Pre-Processing 9 September 9, 2008 12:53
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12: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 13:30


All times are GMT -4. The time now is 21:19.