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

Two Phase Flow - Water Jet Reflection at Outlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2024, 06:24
Default Two Phase Flow - Water Jet Reflection at Outlet
  #1
New Member
 
Umut
Join Date: May 2011
Posts: 18
Rep Power: 15
Umut is on a distinguished road
Hi everyone,

I’m currently working on a two-phase flow simulation using OpenFOAM's interFoam solver (a test case to learn two phase flow modelling). The case I'm modeling is a 2D laminar flow where water flows from a hole in a bottle. I used the damBreak tutorial as a base and set a fine, uniform mesh with 1 mm edge lengths. (Mesh image below)

The issue I'm facing is that the water jet gets partially reflected from the outlet, while I want the outlet to behave as atmosphere. The expected outcome was for the water jet to leave the domain smoothly, as if there was nothing at the outlet. Please see the video:

https://drive.google.com/file/d/1OKJ...ew?usp=sharing

I suspect the boundary conditions may not be properly set to allow for a smooth exit of the flow. Top surface on the left zone (bottle) is inletAir. Top, right, bottom surfaces of right zone (atmoshpere) is outletWater, all other boundaries are walls except frontAndBack.

Here are the boundary conditions I've used:

U:
Code:
boundaryField
{
    walls
    {
        type            noSlip;
    }

    outletWater
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }


    inletAir
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }

    frontAndBack
    {
        type            empty;
    }

}
alpha.water:
Code:
boundaryField
{
    walls
    {
        type            zeroGradient;
    }

    outletWater
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }


    inletAir
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }

    frontAndBack
    {
        type            empty;
    }
}
p_rgh:
Code:
boundaryField
{
    walls
    {
        type            fixedFluxPressure;
        value           uniform 0;
    }

    outletWater
    {
        type            totalPressure;
        p0              uniform 0;
    }


    inletAir
    {
        type            totalPressure;
        p0              uniform 0;
    }

    frontAndBack
    {
        type            empty;
    }

}
Mesh at the vicinity of the hole:
https://drive.google.com/file/d/1dH0...ew?usp=sharing
Umut is offline   Reply With Quote

Reply


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
Ncrit for a glider Xfoil. How to use it. GPT4 answer AlanMattanó Main CFD Forum 0 April 10, 2023 13:16
Discrete Phase Model, outlet mass flow rate does not fit edu_aero FLUENT 29 February 3, 2020 09:38
No liquid water exist in my Fuel Cell simulation fatchang FLUENT 19 October 15, 2018 15:27
setting OUTLET flow rate equal to INLET flow rate spitchers OpenFOAM Programming & Development 0 March 22, 2018 07:33
2 Phase Flow, Gas Jet into Water Simulation Method im_lenny OpenFOAM 3 May 4, 2017 04:20


All times are GMT -4. The time now is 21:32.