/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  14
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

UStack 20;

dimensions      [velocity];

internalField
{
    type            atmosphericBoundaryLayerVelocity;
    libs            ("libatmosphericModels.so");
}

boundaryField
{
    inletWind
    {
        $internalField;
    }

    inlet
    {
        type            flowRateInletVelocity;
        meanVelocity    constant $UStack;
    }

    outlet
    {
        type            freestreamVelocity;
        freestreamValue
        {
            $internalField;
        }
    }

    wall
    {
        type            noSlip;
    }

    #includeEtc "caseDicts/setConstraintTypes"
}

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