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

Uinlet          (100 80 0);

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

internalField   uniform $Uinlet;

boundaryField
{
    perleft
    {
        type            cyclic;
    }
    perright
    {
        type            cyclic;
    }
    perfrontup
    {
        type            cyclic;
    }
    perfrontdown
    {
        type            cyclic;
    }
    perrearup
    {
        type            cyclic;
    }
    perreardown
    {
        type            cyclic;
    }
    INLET
    {
        type            pressureDirectedInletOutletVelocity;
        inletDirection  uniform (0.5 0.450202 0);    //angle=42
        value           uniform (126.3346 113.7522 0); //0.5Mach Vx=126.3346 Vy=113.7522
	//type            fixedValue;
        //value           uniform (169.2883912 152.4279512 0); //0.67Mach Vx=169.2883912 Vy=152.4279512 Re=14Million
    }
    OUTLET
    {
          type            inletOutlet;
        inletValue      uniform $Uinlet;
        value           uniform $Uinlet;
    }
    WALLUP
    {
        type            noSlip;
    }
    WALLDOWN
    {
        type            noSlip;
    }
}


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