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

channel flow - pisoFoam question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2017, 05:02
Default channel flow - pisoFoam question
  #1
New Member
 
Thao Nguyen
Join Date: Oct 2013
Posts: 5
Rep Power: 13
khunyeu is on a distinguished road
Dear Foamers,

I'm doing a scour channel flow with pisoFoam kOmegaSST, basically my BCs are as below, however numerical velocity result is not fit with experimental data (please see the attached figure).

I have y+ around 40 so I used wallFuntion at the bottom.
I have tried with many other BCs for U and p --> not better
changed fvSchemes to 2nd orders --> not better
changed to (much) finer mesh (checkMesh of both cases are OK) --> not better

The result is surprisingly good in scour hole but not good far the wall and far downstream, also my U at downstream is bigger than inlet velocity, which is wrong.

I'm not sure what to do to fix this, could anyone please have a look and any suggestion would be very appreciated.

0/U
Code:
inlet
    {
        type            fixedValue;
        value           uniform (0.405 0 0);
    }

    wall1
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    
    lowerWall
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }

    atmosphere
    {
        type                zeroGradient; 
    }

    outlet
    {
        type                zeroGradient;
    }
    
    frontAndBack
    {
        type            empty;
    }
0/p
Code:
inlet
    {
        type            zeroGradient;
    }

    wall1
    {
        type            zeroGradient;
    }
    
    lowerWall
    {
        type            zeroGradient;
    }

    atmosphere
    {
        type            zeroGradient;
    }
    
    outlet
    {
        
        type            fixedValue;
        value           uniform  0; 
    }

    frontAndBack
    {
        type            empty;
    }
0/k
Code:
inlet
    {
        type            fixedValue;
        value           uniform 0.000615; 
    }

    outlet
    {
        type            zeroGradient;
    }

    wall1
    {
        type            kqRWallFunction;
        value             uniform 0.000615;
    }
    
    lowerWall
    {
        type            kqRWallFunction;
        value             uniform 0.000615; 
    }

    atmosphere
    {
        type            zeroGradient;        
    }

    frontAndBack
    {
        type            empty;
    }
0/omega
Code:
inlet
    {
        type            fixedValue;
        value           uniform 1.078; 
    }

    outlet
    {
        type            zeroGradient;
    }

    wall1
    {
        type            omegaWallFunction;
        value           $internalField; 
    }
    
    lowerWall
    {
        type            omegaWallFunction;
        value           $internalField; 
    }

    atmosphere
    {
        type            zeroGradient;
    }

    frontAndBack
    {
        type            empty;
    }
0/nut
Code:
inlet
    {
        type            calculated;
        value             uniform 0;
    }

    outlet
    {
        type            calculated;
        value             uniform 0;
    }

    atmosphere
    {
        type            calculated;
        value             uniform 0;
    }

    wall1
    {
        type            nutkRoughWallFunction;
        value          uniform 0;
        Ks              uniform 0;
        Cs              uniform 0.5;
    }
    
    lowerWall
    {
        type            nutkRoughWallFunction;
        value          uniform 0;
        Ks              uniform 0.0012;
        Cs              uniform 0.5;
    }

    frontAndBack
    {
        type            empty;
    }
Thank you in advance.
Min.
Attached Images
File Type: png fig.png (10.8 KB, 11 views)
khunyeu 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
Open channel flow with submerged outlet Fonta Fluent Multiphase 0 September 30, 2013 09:04
Modeling the mixing of air and kerosene in a flow channel StefanG CFX 3 June 11, 2012 21:21
[ICEM] Flow channel meshing problems StefanG ANSYS Meshing & Geometry 19 May 15, 2012 07:44
gas flow out of a C-D channel ljp FLUENT 0 March 7, 2011 15:32
Flow Split Setup Question ed FLUENT 1 February 16, 2007 17:55


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