/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  7.0                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include      "ICfiles/initialConditions"


dimensions    [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);

calculatedFlowRate #eval "$Wflume*$SWL*$initialVel";

boundaryField
{
        fixedStart
    {
        type            waveVelocity;
        waveDictName    waveDict;
        value           uniform ($initialVel 0 0);
    }
	fixedEnd
    {
	type		inletOutlet;
	inletValue	$internalField;
	value		$internalField;
    }
    fixedBottom
    {
        type            noSlip;
    }   
	flumeFloor
    {
        type            noSlip;
    }
    fixedRight
    {
        type            noSlip;
    }
	fixedLeft
    {
        type            noSlip;
    }
    interface
{
    type            movingWallVelocity;
        value           uniform (0 0 0);
}
	fixedAtmosphere
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
	fixedStartTop
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
}


// ************************************************************************* //
