|
[Sponsors] |
Defining patches and boundaries for mixing of two liquids with multiple inlets |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 12 ![]() |
Greetings Foamers!
I am trying to modify the elbow example I would like to model the mixing of two immiscible fluids in a pipe. I would like to have two inlet streams, each stream being of different materials, joining at 90 degrees to each other. This is somewhat similar to the icoFoam elbow example. I expect that in order to do this, I would need to use twoLiquidMixingFoam. Is this correct, or is there a better solver/example that I should look at? The elbow example defines two inlets, one for each stream. My question is, how do I define different properties for each inlet patch. In my case I would I would like to define different densities for each fluid. Thanks, Thomas |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,268
Blog Entries: 1
Rep Power: 25 ![]() |
use interFoam, which is suitable for simulation of two immiscible incompressible flow
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 12 ![]() |
Hi Nima,
Thank you for your answer. I had a look at interFoam, and it looks like I could get it to do what I want. I will get to it as soon as I have time. Thanks again! Thomas |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 12 ![]() |
Hi again,
I have been relooking at this problem. Where I get stuck is that I don't know how to set up the boundary conditions. In particular with regards to the inlets. In my case I want to have inlet1 be the inlet for fluid A and inlet2 be the inlet for fluid B. Can anyone suggest a tutorial that I can try and use to set up the boundary conditions for U? I have looked at multiphaseEulerFoam/bubbleColumn tutorial. I will try and use this but I want to know if there is something more similar to what I am trying to do. (realise that multiphaseEulerFoam is not suitable for my case) Additionally, there will have to changes to the transportProperties file which I am unsure of how to do. For this, I'm guessing that I can look at one of the dam break tutorials for setting up the fluid properties. Cheers, Thomas |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Andersson Romero
Join Date: Oct 2020
Posts: 3
Rep Power: 6 ![]() |
did you find a solution?
I have a very similar problem |
|
![]() |
![]() |
![]() |
Tags |
mixing fluid |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Case running in serial, but Parallel run gives error | atmcfd | OpenFOAM Running, Solving & CFD | 18 | March 26, 2016 13:40 |
[snappyHexMesh] Boundaries condition in a sHM mesh (32770 undesired patches) | MartinBlx | OpenFOAM Meshing & Mesh Conversion | 5 | June 17, 2015 11:28 |
[Other] How to mirror two boundaries for cyclic patches? | kornickel | OpenFOAM Meshing & Mesh Conversion | 3 | November 20, 2013 18:16 |
boundaries and patches | piprus | OpenFOAM | 18 | February 14, 2012 10:09 |