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

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

internalField   uniform (1 0 0);

boundaryField
{

    INLET
    {
        type            freestream;
        freestreamValue uniform (1 0 0);
        value           uniform (1 0 0);

        //type            fixedValue;
        //value           uniform (1 0 0);
    }

    OUTLET
    {
        type               pressureInletOutletVelocity;
        value              $internalField;
    }

    Top_Bottom
    {
        type               noSlip;
    }

    B1
    {
        type            movingWallVelocity;
        value           uniform (0 0 0);
    }

    B2
    {
        type            movingWallVelocity;
        value           uniform (0 0 0);
    }

    frontAndBackPlanes
    {
        type            empty;
    }

    STATOR
    {
        type            cyclicAMI;
        value           $internalField;
    }

    ROTOR
    {
        type            cyclicAMI;
        value           $internalField;
    }
}

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