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

Hydraulic Wheel Simulation in an Open Channel

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2018, 17:53
Default Hydraulic Wheel Simulation in an Open Channel
  #1
New Member
 
Salim Homsany
Join Date: Jun 2018
Posts: 1
Rep Power: 0
SalumeH is on a distinguished road
Hey everyone.

I'm currently doing simulations of a turbulent flux in an open channel which has a static hydraulic wheel with the solver interFoam. The 2D mesh was done using SALOME and the configuration of the wheel's axis and the depth is shown in the figure. The internal field velocity for water is uniform (0.172028 0 0) and the air should have a velocity equal to zero at all instant.

The assigned boundary conditions are for U:

Code:
boundaryField
{
    back
    {
        type            empty;
    }
    bottom
    {
        type            noSlip;
    }
    waterwheel
    {
        type            noSlip;
    }
    front
    {
        type            empty;
    }
    waterinlet
    {
        type            fixedValue;
        value           uniform (0.172028 0 0);
    }
    airinlet
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    atmosphere
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
    }
}
p_rgh

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

internalField   uniform 0;

boundaryField
{
    waterinlet
    {
        type            fixedFluxPressure;
	value		uniform 0;
    }

    airinlet
    {
        type            fixedFluxPressure;
	value		uniform 0;
    }


    outlet
    {
	type		prghPressure;
	p		uniform 0;
    }

    bottom
    {
        type            fixedFluxPressure;
	value		uniform 0;
    }

    waterwheel
    {
        type            fixedFluxPressure;
	value		uniform 0;
    }


    atmosphere
    {
        type            totalPressure;
        p0              uniform 0;
    }

    front
    {
        type            empty;
    }

    back
    {
        type            empty;
    }
}
alpha.water

Code:
boundaryField
{
    back
    {
        type            empty;
    }
    bottom
    {
        type            zeroGradient;
    }
    waterwheel
    {
        type            zeroGradient;
    }
    front
    {
        type            empty;
    }
    waterinlet
    {
        type            fixedValue;
        value           uniform 1;
    }
    airinlet
    {
        type            fixedValue;
        value           uniform 0;
    }
    atmosphere
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }
    outlet
    {
        type            zeroGradient;
    }
}
k

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

internalField   uniform 1.1098e-4;

boundaryField
{
    waterinlet
    {
        type            fixedValue;
        value           uniform 1.1098e-4;
    }

    airinlet
    {
        type            fixedValue;
        value           uniform 1.1098e-4;
    }

    bottom
    {
        type            kqRWallFunction;
        value           uniform 0;
    }

    waterwheel
    {
        type            kqRWallFunction;
        value           uniform 0;
    }

   outlet
    {
        type            inletOutlet;
        inletValue      uniform 1.1098e-4;
        value           uniform 1.1098e-4;
    }

    atmosphere
    {
        type            inletOutlet;
        inletValue      uniform 1.1098e-4;
        value           uniform 1.1098e-4;
    }

    front
    {
        type            empty;
    }

    back
    {
        type            empty;
    }

}
omega

Code:
internalField   uniform 5.6838;

boundaryField
{
    waterinlet
    {
        type            fixedValue;
        value           uniform 5.6838;
    }

    airinlet
    {
        type            fixedValue;
        value           uniform 5.6838;
    }

    bottom
    {
        type            omegaWallFunction;
        value           uniform 0.002;
    }

    waterwheel
    {
        type            omegaWallFunction;
        value           uniform 0.002;
    }

    outlet
    {
        type            inletOutlet;
        inletValue      uniform 5.6838;
        value           uniform 5.6838;
    }

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

    front
    {
        type            empty;
    }

    back
    {
        type            empty;
    }

}
However, I'm getting results that do not agree with the expected outcome. I've tried with different conditions and with meshes with different number of elements. After a lot of time reviewing everything, I haven't been able to figure out what is the reason behind these results.

So far, I think it may be:

1. Boundary and initial conditions.
2. The mesh.
3. Perhaps, I have to do a modification to the InterFoam code.

Could someone please, verify which of the given reasons is what causing my results? Otherwise, which is the real problem?

Thank you very much to all.
Attached Images
File Type: jpg alphawater0.jpg (12.7 KB, 16 views)
File Type: jpg velocity0.jpg (9.1 KB, 15 views)
File Type: jpg BC.jpg (20.6 KB, 14 views)
File Type: jpg MESHwaterwheel.jpg (94.8 KB, 15 views)
File Type: jpg finalvelocity.jpg (18.7 KB, 16 views)
SalumeH is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Fluent Open Channel Simulation ahammack Fluent Multiphase 0 October 12, 2016 12:58
Open Channel Flow ElanMorin FLUENT 4 February 25, 2015 16:26
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
OpenFOAM with IBM AIX matthias OpenFOAM Installation 20 March 25, 2008 02:36


All times are GMT -4. The time now is 10:48.