/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  8
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 -1 0 0 0 0];

#include        "include/initialConditions"

internalField   uniform $flowVelocity;

boundaryField
{
    top
    {
        type            inletOutlet;
        inletValue      uniform (11.9262 0 0);
        value           $internalField;

    }
    sides
    {
        type            inletOutlet;
        inletValue      uniform (10.0 0 0);
        value           $internalField;
    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
        value           $internalField;
    }

    inlet
    {
        type            atmBoundaryLayerInletVelocity;
        #include        "include/ABLConditions"    
    }

    //inlet
    //{
    //    type            turbulentInlet;
    //    referenceField  $internalField;
    //    fluctuationScale (0.12 0.1 0.1);
    //    alpha           0.1;
    //}

    ground
    {
        type            uniformFixedValue;
        value           uniform (0 0 0);
        uniformValue    constant (0 0 0);

    }

    "proc.*"
    {
        type            processor;
    }


    /*inlet
    {
    // Mandatory entries (unmodifiable)
    type            atmBoundaryLayerInletVelocity;

    // Mandatory (inherited) entries (runtime modifiable)
    flowDir         (1 0 0);
    zDir            (0 1 0);
    Uref            5.0;
    Zref            150;
    z0              uniform 0.1;
    d               uniform 0.0;
    }*/

}


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