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

Turbulent flow of two incompressible fluids with the same physical properties

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2009, 13: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: 16
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, 15:46
Default
  #2
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
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, 05:32
Default
  #3
New Member
 
Arne Babenhauserheide
Join Date: Dec 2009
Posts: 3
Rep Power: 16
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, 06:48
Default found
  #4
New Member
 
Arne Babenhauserheide
Join Date: Dec 2009
Posts: 3
Rep Power: 16
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


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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Natural convection - Inlet boundary condition max91 CFX 1 July 29, 2008 21: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 12:02
Turbulent incompressible flow & moving boundaries Cristian Orozco Main CFD Forum 1 July 5, 2002 13:45


All times are GMT -4. The time now is 20:18.