/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  dev                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
|*---------------------------------------------------------------------------*|
|* OpenFOAM for Windows 18.06 (v1)                                           *|
|* Built by CFD Support, www.cfdsupport.com (based on Symscape).             *|
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

pOut       8e4;

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

internalField   uniform 8e4;

boundaryField
{
    INLET
    {
        type            totalPressure;
        rho             none;
        psi             thermo:psi;
        gamma           1.4;
        p0              uniform 18e4;
        value           uniform 18e4;
    }
    OUTLET
    {
       // type            outletInlet;
        //outletValue     $internalField;
       // value           $internalField;
        type            waveTransmissive;
        field           p;
        phi             phi;
        rho             rho;
        psi             thermo:psi;
        gamma           1.4;
        fieldInf        $pOut;
        lInf            0.05;
        value           uniform  $pOut;
        
    }
    UP
    {
        type            cyclicAMI;
       // value           $internalField;
    }
    DOWN
    {
        type            cyclicAMI;
       // value           $internalField;
    }
    frontAndBackPlanes
    {
        type            empty;
    }
}


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