|
[Sponsors] |
June 15, 2014, 07:15 |
twoLiquidMixingFoam - continuity equation
|
#1 |
New Member
Jens
Join Date: Jun 2014
Posts: 3
Rep Power: 12 |
Hello community,
I am working with the twoLiquidMixingFoam Solver. Since this solver is used for mixing of multiple miscible fluids the density varies in space and time although the fluids are incompressible. The solver uses the incompressible eddy viscosity models where the divergence of the velocity in the boussinesq approach is multiplied with a factor of 1/3 and not 2/3. Besides the pressure equation in this solver is derivated with the assumption of a divergence free velocity field. My problem would be solved if somebody could tell me why the solver uses the continuity equation div u = 0 which requires a constant density. Thanks in advance, Jens |
|
June 18, 2014, 08:25 |
|
#2 |
New Member
Tommy V
Join Date: Nov 2013
Posts: 29
Rep Power: 12 |
div(u)=0 means that your fluid is incompressible, not that your density is constant.
Your difference in density field will be take in account in the momentum equation and in the alpha equation |
|
June 18, 2014, 11:24 |
|
#3 | |
New Member
Jens
Join Date: Jun 2014
Posts: 3
Rep Power: 12 |
Quote:
Thanks for your answer. But I do not understand how you get div(u)=0 with a varying density. The temporal derivation of the density in the continuity equation is not zero if the density is not constant. So you could not simplify the continuity equation to div(u)=0. Or am I wrong? |
||
June 18, 2014, 12:02 |
|
#4 | |
New Member
Tommy V
Join Date: Nov 2013
Posts: 29
Rep Power: 12 |
Quote:
Maybe you will find strong confirmations on what i said checking the first section of http://en.wikipedia.org/wiki/Incompressible_flow If you look in the attached file you can see that the solver take into account the spatial and temporal distribution of the density field in the momentum equation. |
||
June 19, 2014, 09:52 |
|
#5 | |
New Member
Jens
Join Date: Jun 2014
Posts: 3
Rep Power: 12 |
Quote:
Last edited by jenssnej; June 20, 2014 at 06:49. |
||
June 20, 2014, 06:06 |
|
#6 |
New Member
Tommy V
Join Date: Nov 2013
Posts: 29
Rep Power: 12 |
Good question, i never check this fact... but being that`s a incompressible solver should use a time averaging
|
|
August 20, 2014, 13:41 |
|
#7 |
New Member
Christiano Molossi
Join Date: Sep 2013
Posts: 10
Rep Power: 13 |
does twoLiquidMixingFoam uses boussinesq aproximation?
|
|
August 20, 2014, 19:03 |
|
#8 |
Senior Member
|
Hi,
well, if you look at pEqn.H, you'll find these lines Code:
... surfaceScalarField phig ( - ghf*fvc::snGrad(rho)*rAUf*mesh.magSf() ); phiHbyA += phig; ... |
|
March 10, 2015, 12:49 |
|
#9 |
New Member
Bruno
Join Date: Oct 2014
Posts: 2
Rep Power: 0 |
Dear alexeym, sorry for the private messege! Won't happen again!
What I can observe is that "rho" is a function of "alpha1" and since "alpha1" varies with time and space the rho calculated on all the terms in the momentum equantion also varie with time and space. This differs from the Boussinesq Aprox since the only term that should account for density change is the gravitational term. Again, considering my very low expirience on OF I could be wrong, what do you think? Thanks for the reply! |
|
March 10, 2015, 14:30 |
|
#10 |
Senior Member
|
Hi,
You are right, my guess was wrong. It is called continuous field formulation. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam negative alpha | karasa03 | OpenFOAM | 7 | December 12, 2013 04:41 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |
mixture mass continuity v.s. volumetric mixture continuity in pressure equation | kaifu | OpenFOAM | 0 | June 9, 2011 09:14 |
continuity equation | Rafal | Main CFD Forum | 4 | November 29, 2006 10:27 |
Poisson equation vs continuity equation | DJ | Main CFD Forum | 1 | August 5, 2004 21:01 |