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

flowSpecification
{
    fixedPressure
    {
        U
        {
            type        pressureInletVelocity;
            value       ${:VALUE.U};
        }
        p
        {
            type        calculated;
            value       ${:VALUE.p};
        }
        p_rgh
        {
            type        fixedValue;
            value       ${:VALUE.p_rgh};
        }
    }
    fixedVelocity
    {
        U
        {
            type        fixedValue;
            value       ${:VALUE.U};
        }
        p
        {
            type        calculated;
            value       ${:VALUE.p};
        }
        p_rgh
        {
            type        fixedFluxPressure;
            value       ${:VALUE.p_rgh};
        }
    }
    flowRate
    {
        U
        {
            type        flowRateInletVelocity;
            massFlowRate ${:VALUE.massFlowRate};
            value       ${:VALUE.U};
        }
        p
        {
            type        calculated;
            value       ${:VALUE.p};
        }
        p_rgh
        {
            type        fixedFluxPressure;
            value       ${:VALUE.p_rgh};
        }
    }
}


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