|
[Sponsors] |
Outlet BC for multiPhase modeling | Back flow problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 14, 2022, 12:28 |
Outlet BC for multiPhase modeling | Back flow problem
|
#1 |
New Member
Saugat Shrestha
Join Date: Dec 2019
Location: Thailand
Posts: 27
Rep Power: 6 |
Hello Foamers,
When I run a multiphase case (air and water), the slow through the domain is satisfactory but when it reaches the outlet there is a problem. The flow starts to comes back and becomes erratic. I want the flow to move out without any back flow. I am trying to run a RAS k-epsilon model. I really hope I can get some help here. Thank you. Regards, Saugat blockMesh Code:
convertToMeters 1; vertices ( (-135 -600 -105) (390 -600 -105) (390 -600 10)// (-135 -600 10)// (-135 136 -200) (390 136 -200) (390 136 10)// (-135 136 10)// ); blocks ( hex (0 1 5 4 3 2 6 7)(65 85 16)simpleGrading (1 1 1) ); boundary ( inlet { type patch; faces ( (0 1 2 3) ); } outlet { type patch; faces ( (4 5 6 7) ); } ground { type wall; faces ( (0 1 5 4) ); } sides { type patch; faces ( (0 4 7 3) (1 2 6 5) (3 7 6 2) ); } ); Code:
internalField uniform 0;//initially air in the entire domain - we will change that with setFields! boundaryField { inletwall { type zeroGradient; } inletwat { type fixedValue; value uniform 1;//only water enters the domain } outlet { type zeroGradient; } ground { type zeroGradient;//BC is Neumann BC } trySM { type zeroGradient;//BC is Neumann BC } sides { type zeroGradient;//BC is Neumann BC } top { type zeroGradient;//BC is Neumann BC } } Code:
internalField uniform (0 0 0);//Initially the velocity is (0 0 0) m/s boundaryField { inletwat { type fixedValue; value uniform (0 5 0);//fixed inlet velocity } inletwall { type noSlip; } outlet { type pressureInletOutletVelocity; value uniform (0 0 0); } ground { type noSlip;//no slip along the walls - replaces fixedValue with uniform (0 0 0) } trySM { type noSlip;//no slip along the walls - replaces fixedValue with uniform (0 0 0) } sides { type slip;//no slip along the walls - replaces fixedValue with uniform (0 0 0) } } Code:
internalField uniform 0;//initially atmospheric pressure in the entire domain boundaryField { inletwat { type fixedFluxPressure; value uniform 0; } inletwall { type fixedFluxPressure; value uniform 0; } outlet { type fixedValue; \\p0 uniform 0; value uniform 0; } trySM { type fixedFluxPressure; value uniform 0; } ground { type fixedFluxPressure; value uniform 0; } sides { type slip; } } Code:
internalField uniform 0; boundaryField { trySM { type nutkWallFunction; value uniform 0; } inletwall { type nutkWallFunction; value uniform 0; } ground { type nutkWallFunction; value uniform 0; } ".*" { type calculated; value uniform 0; } } Code:
internalField uniform 0.0001; boundaryField { inletwat { type fixedValue; intensity 0.05; value $internalField; } inletwall { type kqRWallFunction; value $internalField; } outlet { type inletOutlet; inletValue $internalField; value $internalField; } trySM { type kqRWallFunction; value $internalField; } ground { type kqRWallFunction; value $internalField; } sides { type slip; } } Code:
boundaryField { inletwat { type fixedValue; value $internalField; } inletwall { type epsilonWallFunction; value $internalField; } outlet { type inletOutlet; inletValue $internalField; value $internalField; } ground { type epsilonWallFunction; value $internalField; } trySM { type epsilonWallFunction; value $internalField; } sides { type slip; } } |
|
March 15, 2022, 05:26 |
|
#2 |
Member
Al Csc
Join Date: Jul 2018
Posts: 30
Rep Power: 7 |
For alpha.water, outlet:
Code:
{ type inletOutlet; inletValue uniform 0; value uniform 0; } |
|
March 15, 2022, 09:01 |
|
#3 |
New Member
Saugat Shrestha
Join Date: Dec 2019
Location: Thailand
Posts: 27
Rep Power: 6 |
Thank You al.csc for the response.
I ran the simulations with boundary conditions you suggested. However, there is still backflow in the outlet. How can we make it work? |
|
March 15, 2022, 09:26 |
|
#4 |
Member
Al Csc
Join Date: Jul 2018
Posts: 30
Rep Power: 7 |
Can you try for p_rgh:
Code:
outlet { type totalPressure; p0 uniform 0; value uniform 0; } |
|
March 15, 2022, 09:33 |
|
#5 |
New Member
Saugat Shrestha
Join Date: Dec 2019
Location: Thailand
Posts: 27
Rep Power: 6 |
Thank You again for your response. I tried that, still getting backflow.
|
|
March 15, 2022, 09:54 |
|
#6 |
Member
Al Csc
Join Date: Jul 2018
Posts: 30
Rep Power: 7 |
Then let's start from the beginning: which solver and OF version are you using?
|
|
March 15, 2022, 10:15 |
|
#7 |
New Member
Saugat Shrestha
Join Date: Dec 2019
Location: Thailand
Posts: 27
Rep Power: 6 |
Im using OpenFoam version 4.0 and using interFoam (PimpleFoam) for multiphase simulation.
|
|
March 23, 2022, 00:59 |
|
#8 |
Member
Al Csc
Join Date: Jul 2018
Posts: 30
Rep Power: 7 |
||
Tags |
interfoam, multiphase, outlet backflow, vof |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simple Box - Gravity with Pressure Outlet - Unrealistic Reverse Flow | pyccknn | FLUENT | 2 | December 1, 2021 17:31 |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 04:37 |
pressure outlet back flow | Danial1992 | FLUENT | 1 | May 3, 2017 05:52 |
Pressure Outlet Targeted Mass Flow Rate | LuckyTran | FLUENT | 1 | November 23, 2016 10:40 |
Outlet Backflow problem in simulating pulsatile flow | a.sarami | CFX | 0 | August 31, 2013 09:41 |