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

Multiphase Inlet Boundary Conditions

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2018, 06:07
Default Multiphase Inlet Boundary Conditions
  #1
New Member
 
Abhinav P
Join Date: Jan 2018
Posts: 1
Rep Power: 0
abhinav.iitb005 is on a distinguished road
I want to model an annular flow at the inlet of an upward facing pipe. How can I set inlet conditions in a 2D model where 20% of the inlet face is liquid flowing on either side of the wall and 60% is gas flowing. Additionally, the gas velocity is 4 m/s and liquid velocity is 1 m/s. Please refer the image for details. I am using the interFoam solver in OpenFOAM and I believe this should be done by modifying the alpha and U for Inlet Boundary.
Attached Images
File Type: jpg annularFlow.jpg (45.1 KB, 97 views)
abhinav.iitb005 is offline   Reply With Quote

Old   January 26, 2018, 00:47
Default
  #2
Senior Member
 
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13
Taataa is on a distinguished road
One way would be to split the inlet to two section, and apply the appropriate boundaries accordingly. In the blockMeshDict add the required vertices, blocks, faces and boundary names.
Taataa is offline   Reply With Quote

Old   November 18, 2021, 08:16
Default
  #3
New Member
 
Deepak V
Join Date: Nov 2021
Location: Chennai
Posts: 4
Rep Power: 5
deepakvil is on a distinguished road
Hello, Did you get solution for your trouble, if so, can you list the procedure
deepakvil is offline   Reply With Quote

Old   November 18, 2021, 09:14
Default
  #4
New Member
 
Diego Ferrando
Join Date: Mar 2017
Location: Zaragoza
Posts: 19
Rep Power: 9
dferrando is on a distinguished road
Hello Deepakvil.


I am not the person who opened the thread but the second answer is right. You should create 2 separated boundary patches on the blockMeshDict or doing it with the createPatch tool (which is a bit more complicated).


So, in the case that the OP shared, you should create 3 block, left to right, liquid/gas/liquid block. When you define the boundary patches, you have to create 2 patches:
Liquid_Inlet: side faces of the picture
Gas_Inlet: Middle face



If you have a more specific problem just post it here with more information.

Last edited by dferrando; November 18, 2021 at 15:25.
dferrando is offline   Reply With Quote

Old   November 22, 2021, 05:17
Default more details on my problem
  #5
New Member
 
Deepak V
Join Date: Nov 2021
Location: Chennai
Posts: 4
Rep Power: 5
deepakvil is on a distinguished road
Hello dferrando,


Thanks for the prompt reply. My problem is different from the original problem listed at the start of the thread. I am doing a air-water flow in a channel. Its a 2D, axi-symmetric with interFOAM. For 0 to R', its air and R' to R, its water. R is channel radius. I want to fix this ratio of phases at the inlet throughout my simulation. I also want to specify velocities for both of them. The idea is based on the ratio & velocity at the inlet, air bubbles will form as part of the simulation.



I tried setfields with a hemisphere at the inlet as shown in attachment. However the inlet ratio is not a constant through simulation. Also i couldn't specify individual velocities.



I am confused about how to implement this inlet BC. Can i have a single block and implement the Inlet BC or I split into two. How do i update/specify the phases(air & water) in the u file and alpha.water.orig in 0 folder?
Attached Images
File Type: png domain.png (17.2 KB, 39 views)
deepakvil is offline   Reply With Quote

Old   November 24, 2021, 05:19
Default
  #6
New Member
 
Deepak V
Join Date: Nov 2021
Location: Chennai
Posts: 4
Rep Power: 5
deepakvil is on a distinguished road
Hello dferrando,


I split my blocks into two. One on top of the other.

I am successful in defining the two separate velocities at two inlet face created.


What is troubling me defining the phases at the inlet? I need help here.I want to fix one phase for each inlet face. How to i define this in alpha.water.orig file. I use interFoam.
deepakvil is offline   Reply With Quote

Old   June 26, 2024, 05:48
Default
  #7
New Member
 
manikandan_padmanaban
Join Date: Nov 2023
Posts: 2
Rep Power: 0
mani4be is on a distinguished road
Quote:
Originally Posted by deepakvil View Post
Hello dferrando,


I split my blocks into two. One on top of the other.

I am successful in defining the two separate velocities at two inlet face created.


What is troubling me defining the phases at the inlet? I need help here.I want to fix one phase for each inlet face. How to i define this in alpha.water.orig file. I use interFoam.
Hi deepakvil,
how do initialize the two different velocity in single boundary?
mani4be is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Velocity vector in impeller passage ngoc_tran_bao CFX 24 May 3, 2016 22:16
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Low torque values on Screw Turbine Shaun Waters CFX 34 July 23, 2015 09:16
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 15:32


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