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

Mixing two miscible fluids

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2015, 11:18
Default Mixing two miscible fluids
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
Dear All,

I am looking for a solver that allows to solve the problem of 2 miscible fluids.

Basically, I would need a simple (or pimple) foam, where I can add the transport equation for a passive scalar.

The point is that the 2 liquids have different properties, hence I have to model the density and the viscosity of the mixture, also.

Let me try to give you all the details:

passiveScalar = alpha;
LiquidaA (LA): density = rhoA; viscosity = nuA;
LiquidaA (LB): density = rhoB; viscosity = nuB;
alpha = fraction of the passive scalar of LA in a cell

I start my simulation and I set alpha = 1 on inlet1 and alpha = 0 on inlet2. In a certain timestep, I do have - in a cell - alpha = alphaXXX: this means that I want to update the mixture properties like:
rho = (rhoA*alphaXXX + rhoB(1-alphaXXX))
nu = (nuA*alphaXXX + nuB(1-alphaXXX))

considering that the total volume is exactly equal to the sum of volumeA and volumeB.

Has anyone already written something similar?

Could you kindly help?

Thanks a lot,
Samuele
samiam1000 is offline   Reply With Quote

Old   February 20, 2015, 11:37
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Code:
Application
    twoLiquidMixingFoam

Description
    Solver for mixing 2 incompressible fluids.

    Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
Is it what you are looking for?
alexeym is offline   Reply With Quote

Old   February 20, 2015, 11:39
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
Not exactly, twoLiquidMixingFoam (that is what I am using) consider the interfaces with the VoF. But it has to solve interface equations and it becomes slower and slower. I am looking for a much lighter tool.
samiam1000 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
Selection of Mixing Models for Miscible Fluids equil FLUENT 0 August 9, 2014 21:34
Mixing two miscible fluids parradux FLUENT 0 November 26, 2013 11:38
mixing of non reacting miscible fluids Himanshu Arora FLUENT 0 June 13, 2005 04:17
FIDAP-Properties Definition in Fluids Mixing Area Q. Hao FLUENT 0 February 17, 2005 12:00
turbulent mixing of two fluids ulrich bieder Main CFD Forum 2 October 9, 1999 16:15


All times are GMT -4. The time now is 07:29.