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

interFoam cup draining BC

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By joshmccraney

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 25, 2020, 16:30
Default interFoam cup draining BC
  #1
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9
joshmccraney is on a distinguished road
Hi All

I am running OF 6.0, interFoam. I have a cup with a hole at the bottom. The cup is partially filled with liquid, which flows out the bottom hole of the cup. The current BCs I have at the hole are:

alpha.water
Code:
    hole
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }
p_rgh
Code:
    hole
    {
        type            totalPressure;
        rho             rho;
        psi             none;
        gamma           1;
        p0              uniform 0;
        value           uniform 0;
    }
U
Code:
    hole
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
Are these BCs appropriate? Thanks so much!
Mahmoud Abbaszadeh likes this.
joshmccraney is offline   Reply With Quote

Old   November 25, 2022, 05:33
Default
  #2
Member
 
Mahmoud
Join Date: Nov 2020
Location: United Kingdom
Posts: 43
Rep Power: 6
Mahmoud Abbaszadeh is on a distinguished road
Quote:
Originally Posted by joshmccraney View Post
Hi All

I am running OF 6.0, interFoam. I have a cup with a hole at the bottom. The cup is partially filled with liquid, which flows out the bottom hole of the cup. The current BCs I have at the hole are:

alpha.water
Code:
    hole
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }
p_rgh
Code:
    hole
    {
        type            totalPressure;
        rho             rho;
        psi             none;
        gamma           1;
        p0              uniform 0;
        value           uniform 0;
    }
U
Code:
    hole
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
Are these BCs appropriate? Thanks so much!

Hi,
I have the similar case working on. Did these BCs work for you? Thanks
Mahmoud Abbaszadeh is offline   Reply With Quote

Old   November 25, 2022, 12:03
Default
  #3
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9
joshmccraney is on a distinguished road
Quote:
Originally Posted by Mahmoud Abbaszadeh View Post
Hi,
I have the similar case working on. Did these BCs work for you? Thanks
give me a few days to return to my workstation and i'll check. but whichever i used, it worked. i'll find it and post.

that being said, i pretty much went from this tutorial: https://wiki.openfoam.com/Multiphase...by_Jozsef_Nagy
joshmccraney 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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
Question about interFoam Solver Kahnbein.Kai OpenFOAM Running, Solving & CFD 2 August 26, 2019 16:36
interFoam (HELYX-OS) pressure boundary conditions SFr OpenFOAM Running, Solving & CFD 8 June 23, 2016 17:36
interFoam (OpenFOAM) or general: pressure boundary conditions and tank draining SFr CFD Freelancers 6 June 15, 2016 08:11
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 06:58


All times are GMT -4. The time now is 01:09.