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

hydraulic jump BC problen using interFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2017, 13:05
Default hydraulic jump BC problen using interFoam
  #1
New Member
 
Hao Zeng
Join Date: Mar 2017
Posts: 8
Rep Power: 9
Noémie is on a distinguished road
Dear users,

I'm taking a case where I found on the youtube for generating a hydraulic jump in a flat bottom. I'm using foam-extend-3.1. The original files I got from the poster on Youtube don't work for me (I think it is the version problem), so I made some changes to let the case running.

But the backwater can never reaches to the base flow, see the figures. (Fig.1 is the initial alpha1 and Fig.2 is the alpha1 after running 1s).

For the mesh, both inlet and outlet are seperated to water and air part.

Here is the BC for fields:
PHP Code:
alpha1:
boundaryField
{
    
inlet_water
    
{
        
type            fixedValue;
        
value           uniform 1;
    }
    
inlet_air
    
{
        
type            outletInlet;
        
outletValue      uniform 0;
        
value           uniform 0;
    }
    
outlet_water
    
{
        
type            inletOutlet;
        
inletValue      uniform 1;
        
value           uniform 0;
    }
    
outlet_air
    
{
        
type            inletOutlet;
        
inletValue      uniform 0;
        
value           uniform 0;
    }
    
atmosphere
    
{
        
type            zeroGradient;
    }
    
walls
    
{
        
type            zeroGradient;
    }
    
front
    
{
        
type            empty;
    }
    
back
    
{
        
type            empty;
    }
}

U:
boundaryField
{
    
inlet_water
    
{
        
type            fixedValue;
        
value           uniform (13 0 0);
    }
    
inlet_air
    
{
        
type            pressureInletOutletVelocity;
        
value           uniform (0 0 0);
    }
    
outlet_water
    
{
        
type            zeroGradient;
    }
    
outlet_air
    
{
        
type            pressureInletOutletVelocity;
        
value           uniform (0 0 0);
    }
    
atmosphere
    
{
        
type            pressureInletOutletVelocity;
        
value           uniform (0 0 0);
    }
    
walls
    
{
        
type            fixedValue;
        
value           uniform (0 0 0);
    }
    
front
    
{
        
type            empty;
    }
    
back
    
{
        
type            empty;
    }
}

pd:
boundaryField
{
    
inlet_water
    
{
        
type            buoyantPressure;
        
gradient        uniform 0;
        
rho             rho;
        
value           uniform 0;

    }

    
inlet_air
    
{
        
type            totalPressure;
        
rho             rho;
        
psi             none;
        
gamma           1;
        
p0              uniform 0;
        
value           uniform 0;
    }

    
outlet_water
    
{
        
type            buoyantPressure;
        
gradient        uniform 0;
        
rho             rho;
        
value           uniform 0;
    }

    
outlet_air
    
{
        
type            totalPressure;
        
rho             rho;
        
psi             none;
        
gamma           1;
        
p0              uniform 0;
        
value           uniform 0;
    }

    
walls
    
{
        
type            buoyantPressure;
        
gradient        uniform 0;
        
rho             rho;
        
value           uniform 0;
    }

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

    
"front|back"
    
{
        
type            empty;
    }

I tried to change a lot with BC but it dosen't help. I do really need your help.
Thanks!

Hao
Attached Images
File Type: png alpha1_init.png (11.8 KB, 22 views)
File Type: png alpha1.png (20.0 KB, 22 views)
Noémie 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
Problem modeling hydraulic jump in an open channel with interFoam (VoF) arnau1985 OpenFOAM Running, Solving & CFD 12 December 26, 2022 06:54
Stationary hydraulic jump - interFoam Bessy OpenFOAM Running, Solving & CFD 0 September 6, 2015 13:40
How to form hydraulic jump at specified location mojtabaivi FLOW-3D 5 August 13, 2015 05:22
Weird hydraulic jump with interFoam [SST k-omega] keepfit OpenFOAM Running, Solving & CFD 6 March 23, 2015 13:55
interFoam | Hydraulic Jump | Correct boundary condition p_rgh pythag0ra5 OpenFOAM Running, Solving & CFD 17 September 5, 2014 05:31


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