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

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

internalField   uniform 0.018; // Field value **default one

boundaryField
{
    inlet
    {
        type            turbulentIntensityKineticEnergyInlet; //Set the boundary condition based on inlet velocity i.e. determining K with 1.5(I*U)^2.
        intensity       0.02; // Kinetic Intensity 2%
        value           uniform 0.018; // Value of k ----> Constant throughout the flow
    }
    outlet
    {
        type            zeroGradient;
    }
    airfoil
    {
        type            kqRWallFunction;
        value           uniform 0.018;
    }
  
  topAndBottom
   { 
        type           kqRWallFunction; // for wall
        value          uniform 0.018;
   }

}


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