FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#include        "include/initialConditions"

dimensions      [0 1 -1 0 0 0 0];

internalField   uniform $flowVelocity;

boundaryField
{
//<-Inlet--
    #include "include/atmBoundaryLayerInletVelocity"
//--Inlet->

	/*
	inlet
    {
        type            codedFixedValue;
        redirectType    swirl;

        code
        #{
            const vector axis(1, 0, 0);

			vectorField v = this->patch().Cf();
			v.replace(vector::Y, 0);
			v.replace(vector::Z, 0);
			v.replace(vector::X, vectorField v = 5 * pow( this->patch().Cf().component(vector::Z)/10 , 0.22 ) );

            operator==(v);
        #};
        value           $internalField;
    }
	*/

    outlet
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
        value           $internalField;
    }

    lowerWall
    {
        type            fixedValue;
        // value           $internalField;
        value           uniform (0 0 0);
    }

    "entities_.*"
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }

    #include "include/frontBackUpperPatches"
	
//<-Win--

//--Win->

	"T_.*"
	{
        type            slip;
        value           uniform (0 0 0);
	}
}


// ************************************************************************* //
