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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2009, 11:27
Question How to set initial field in two phase case? (-eulerfoam)
  #1
Senior Member
 
Join Date: Mar 2009
Location: Norway
Posts: 138
Rep Power: 17
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, 11:50
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
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, 05:21
Default
  #3
Senior Member
 
Join Date: Mar 2009
Location: Norway
Posts: 138
Rep Power: 17
kjetil is on a distinguished road
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?
kjetil is offline   Reply With Quote

Old   July 14, 2009, 05:52
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
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


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
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


All times are GMT -4. The time now is 14:55.