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

LTSInterFoam BC problem

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Tobi

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 16, 2015, 10:38
Default LTSInterFoam BC problem
  #1
New Member
 
xu cong
Join Date: Jun 2015
Posts: 4
Rep Power: 10
xucong1228 is on a distinguished road
Hello Foamers
I am new to Openfoam and I am doing a simulation about drainage,you can see model I use from the attachment

length=5.5m
width=3m
depth=0.1m

The left side is inlet (Q=20 L/s)
The right side is outlet and there is a gully on the bottom.(we can assume the gully is the second outlet)
The top floor is atmosphere.

I used the LTSInterFoam for simulation because I heard this Foam is faster than interFoam.However, I found some very strange result after simulation:

1.As you can see in the attachment, the water cannot get into the gully.
2.The flow rate of inlet is not equal to the flow rate of two outlets.


I think it should be the problem of boundary condition, but I don't know which one it is.
So I listed my files U/P_pgh/alpha, I hope someone could help me.

P_pgh
Code:
dimensions      [1 -1 -2 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    inlet
    {
        type           buoyantPressure;
        value          uniform 0;
        
    }

    outlet
    {
        type           zeroGradient;
    }

    outlet2
    {
        type           zeroGradient;
    }

    sides
    {
        type           buoyantPressure;
        value          uniform 0;
    }

    atmosphere
    {
        type           totalPressure;
        p0              uniform 0;
        U               U;
        phi             phi;
        rho             rho;
        psi             none;
        gamma           1;
        value           uniform 0;
    }

    lowerwall
    {
        type            buoyantPressure;
        value          uniform 0;
    }
}
U
Code:
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    inlet
    {
        type            flowRateInletVelocity;
        volumetricFlowRate  constant 20e-3;           
        rhoInlet            1000;
    }

    outlet
    {
        type            zeroGradient;
    }

    outlet2
    {
        type            zeroGradient;                  
    }

    sides
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }

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

    lowerwall
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
}
alpha
Code:
dimensions      [0 0 0 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    inlet
    {
        type            inletOutlet;
        inletValue     uniform 1;
        value           uniform 1;
    }

    outlet
    {
        type            zeroGradient;
    }

    sides
    {
        type            zeroGradient;
    }

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

    lowerwall
    {
        type            zeroGradient;
    }

    outlet2
    {
       type            zeroGradient;
    }
}
Lastly,can anyone tell me how to calculate the flow rate of water in this multiphase flow.I used the 'calculator' and 'integrate variable' from paraview.However i don't think it is precise.
Any help would be great, thank you so much!
Attached Images
File Type: jpg model.jpg (8.7 KB, 36 views)
File Type: jpg gully problem.jpg (14.7 KB, 35 views)
xucong1228 is offline   Reply With Quote

 

Tags
boundary condition, flow rate, multiphase flow


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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 11:08.