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

dimensions      [0 0 0 1 0 0 0];

internalField   uniform 293; //20 degree celsius

boundaryField
{
    frontAndBack
    {
        type            empty;
    }

    wall1
    {
        type            zeroGradient;
    }
    
    wall2
    {
        type            zeroGradient;
    }

    inlet
    {
        type            zeroGradient;
      /* type            fixedValue;
       value           $internalField;
       */
    }

    outlet
    {
        type            zeroGradient;
    }
    
    cylinder
    {
        type            fixedValue;
        value           uniform 320; // cylinder is heated to 320 degree kelvin or 47 degree celsius 
        
       /* type            externalWallHeatFluxTemperature;
        mode            flux;
        q               uniform 2;      //heat flux [w/m2]
        kappaMethod     fluidThermo;
        value           uniform 500;    // initial temperature of wall(in this case same as internalField)
        */
    }
}


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