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

Defining patches and boundaries for mixing of two liquids with multiple inlets

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By nimasam
  • 1 Post By Swift

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2016, 08:36
Default Defining patches and boundaries for mixing of two liquids with multiple inlets
  #1
Member
 
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 11
Swift is on a distinguished road
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
Swift is offline   Reply With Quote

Old   January 22, 2016, 04:48
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
use interFoam, which is suitable for simulation of two immiscible incompressible flow
Aabadani likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   January 27, 2016, 04:49
Default
  #3
Member
 
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 11
Swift is on a distinguished road
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
Swift is offline   Reply With Quote

Old   October 25, 2016, 13:38
Default
  #4
Member
 
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 11
Swift is on a distinguished road
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
and2300 likes this.
Swift is offline   Reply With Quote

Old   November 2, 2020, 23:44
Default
  #5
New Member
 
Andersson Romero
Join Date: Oct 2020
Posts: 3
Rep Power: 6
and2300 is on a distinguished road
did you find a solution?
I have a very similar problem
and2300 is offline   Reply With Quote

Reply

Tags
mixing fluid


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
Case running in serial, but Parallel run gives error atmcfd OpenFOAM Running, Solving & CFD 18 March 26, 2016 12:40
[snappyHexMesh] Boundaries condition in a sHM mesh (32770 undesired patches) MartinBlx OpenFOAM Meshing & Mesh Conversion 5 June 17, 2015 10:28
[Other] How to mirror two boundaries for cyclic patches? kornickel OpenFOAM Meshing & Mesh Conversion 3 November 20, 2013 17:16
boundaries and patches piprus OpenFOAM 18 February 14, 2012 09:09


All times are GMT -4. The time now is 23:49.