/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

momentumSource
{
    type            patchMeanVelocityForce;
    active          yes;

    patchMeanVelocityForceCoeffs
    {
        selectionMode   all;                    // Apply force to all cells
        fields          (U);                    // Name of velocity field
        patch           inlet;                  // Name of the patch
        Ubar            (1.0 0 0);             // Desired mean velocity
        relaxation      0.2;                    // Optional relaxation factor
    }
}


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