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

Outlet BC with Interfoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 30, 2012, 04:04
Default Outlet BC with Interfoam
  #1
Senior Member
 
Daniele Vicario
Join Date: Mar 2009
Location: Novara, Italy
Posts: 142
Rep Power: 17
danvica is on a distinguished road
I'm simulating a waterfall device using Interfoam. Everything's fine but the outlet.

If you look at the picture you'll see the water at the end of the domain that seems reflected by the outlet surface. Isn't supposed to just disappear as soon as it touchs the surface ?


Here is my BC:

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      alpha1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions      [0 0 0 0 0 0 0];
internalField   uniform 0;
boundaryField
{
    inlet
    {
        type            fixedValue;
        value           uniform 1;
    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }
    walls
    {
        type            zeroGradient;
    }
    defaultFaces
    {
        type            zeroGradient;
    }
}
 
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions      [1 -1 -2 0 0 0 0];
internalField   uniform 0;
boundaryField
{
    inlet
    {
        type            buoyantPressure;
        value           uniform 0;
    }
 
    outlet
    {
        type            totalPressure;
        p0              uniform 0;
        U               U;
        phi             phi;
        rho             rho;
        psi             none;
        gamma           1;
        value           uniform 0;
    }
    walls
    {
        type            buoyantPressure;
        value           uniform 0;
    }
 
    defaultFaces
    {
        type            buoyantPressure;
        value           uniform 0;
    }
}
 
 
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions      [0 1 -1 0 0 0 0];
internalField   uniform (0 0 0);
boundaryField
{
    outlet
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
 
    inlet
    {
        type            fixedValue;
        value           uniform (0 1 0);
 
    }
 
    walls
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
 
    defaultFaces
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
}
Any comment ?
Attached Images
File Type: jpg wf1.jpg (16.3 KB, 296 views)
danvica is offline   Reply With Quote

 


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
not outflow at outlet in interFoam deniggo OpenFOAM 15 May 17, 2022 06:06
Outlet boundary condition for wave flume with interFoam solver Arnoldinho OpenFOAM 9 July 10, 2018 05:15
Using interFoam, phase piles up at pipe outlet kjetil OpenFOAM Running, Solving & CFD 4 August 24, 2010 03:18
Outlet boundary setup for interFoam mittal OpenFOAM Running, Solving & CFD 2 July 14, 2010 08:59
Outlet boundary condition for pd in InterFoam gopala OpenFOAM Running, Solving & CFD 0 March 19, 2008 09:26


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