CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Turbulent flow of two incompressible fluids with the same physical properties

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 10, 2009, 12:07
Default Turbulent flow of two incompressible fluids with the same physical properties
  #1
New Member
 
Arne Babenhauserheide
Join Date: Dec 2009
Posts: 3
Rep Power: 6
ArneBab is on a distinguished road
Hi,

Can OpenFOAM simulate the injection of two different incompressible fluids with the same physical properties (when it comes to fluid dynamics), including turbulent flow. Can it output the result in a way which allows me to visualize the fraction of the fluids at every point?

I've been testing OpenFOAM the last two days, but I didn't find a clear answer (neither here nor via Google).

I looked at the sloshingTank3D (interDyMFoam) and the elbow (icoFoam), as well as some others. What I couldn't answer for myself:

* Can I add injection of a specific fluid instead of setting a general velocity field?
* Can I "tag" a fluid, so I can identify it in ParaView?
* Does both work with turbulent flow?

(I currently evaluate different options for simulating contrast fluid in blood vessels)
ArneBab is offline   Reply With Quote

Old   December 10, 2009, 14:46
Default
  #2
New Member
 
Michael Prinkey
Join Date: Mar 2009
Posts: 22
Rep Power: 7
mprinkey is on a distinguished road
Quote:
Originally Posted by ArneBab View Post
Hi,

Can OpenFOAM simulate the injection of two different incompressible fluids with the same physical properties (when it comes to fluid dynamics), including turbulent flow. Can it output the result in a way which allows me to visualize the fraction of the fluids at every point?

I've been testing OpenFOAM the last two days, but I didn't find a clear answer (neither here nor via Google).

I looked at the sloshingTank3D (interDyMFoam) and the elbow (icoFoam), as well as some others. What I couldn't answer for myself:

* Can I add injection of a specific fluid instead of setting a general velocity field?
* Can I "tag" a fluid, so I can identify it in ParaView?
* Does both work with turbulent flow?

(I currently evaluate different options for simulating contrast fluid in blood vessels)
If the two fluids are hydrodynamically equivalent, there is no need to treat them as separate. Just use a passive scalar field as a marker and advect it using the normal phi in the convection terms. You can compute the effective diffusivity for the scalar based on the turbulent viscosity. Start with a transient, turbulent solver and add a passive scalar equation. It should go into the code after the PISO/pressure correction loop completes, so the flux field is conservative.
mprinkey is offline   Reply With Quote

Old   December 11, 2009, 04:32
Default
  #3
New Member
 
Arne Babenhauserheide
Join Date: Dec 2009
Posts: 3
Rep Power: 6
ArneBab is on a distinguished road
Hi mprinkey,

Many thanks for your answer!

I now played a bit with a passive scalar field, and it seems to do exactly what I need.

Just to be sure I don't go into completely unrelated directions: Did I understand you correctly, that the next step now is to grab the source for a turbulent solver (for example turbFlow) and add the passive scalar equation (for example taken from the scalarTransportFoam)?

Best wishes,
Arne
ArneBab is offline   Reply With Quote

Old   January 5, 2010, 05:48
Default found
  #4
New Member
 
Arne Babenhauserheide
Join Date: Dec 2009
Posts: 3
Rep Power: 6
ArneBab is on a distinguished road
I now found the second answer myself - two weeks winter vacation and google helped -> yes, I have to build my own solver (turbulence + scalar field). And it doesn't seem horribly complicated - means I found a guide which shows the basics:

http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam

Many thanks!
ArneBab is offline   Reply With Quote

Reply

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
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
Natural convection - Inlet boundary condition max91 CFX 1 July 29, 2008 20:28
Moving mesh turbulent incompressible flow of complex meshes philippose OpenFOAM Running, Solving & CFD 5 March 13, 2007 04:35
2D incompressible turbulent flow na Main CFD Forum 5 June 2, 2005 11:02
Turbulent incompressible flow & moving boundaries Cristian Orozco Main CFD Forum 1 July 5, 2002 12:45


All times are GMT -4. The time now is 06:59.