/*--------------------------------*- 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       volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform (0 0 0);

// For Wall Mounted Split Air Conditioners

InletVelocityInMagnitude	02;
InletAngleInDegrees		60;

InletAngleWithVerticalPlane	#calc "degToRad($InletAngleInDegrees)";
HorizontalComponent		#calc "$InletVelocityInMagnitude*sin($InletAngleWithVerticalPlane)";
VerticalComponent		#calc "-1*$InletVelocityInMagnitude*cos($InletAngleWithVerticalPlane)";

boundaryField
{
    "(airConditioner1|airConditioner2)"
    {
        type            fixedValue;
        value           uniform (0 $HorizontalComponent $VerticalComponent);
    }
 
    ceil_AC
    {
        type            fixedValue;
        value           uniform (0 0 -5);
    }
    

    "(ceiling|floor|walls)"
    {
        type            noSlip;
    }

    door
    {
        type            pressureInletOutletVelocity;
        phi             phi;
        tangentialVelocity (0 0 0);
        value           uniform (0 0 0);
    }

    fixedPositionExhaustFan
    {
        type            fixedValue;
        value           uniform (0 2 0);
    }

    multiPositionExhaustFan
    {
	// From Alternate Case 17 to Alternate Case 23
        type            fixedValue;
        value           uniform (-2 0 0);

/* ======================================================================

	=================================================
	# Set 1 of Cases: Wall Plane Y = 6.400 m ----->>>
	=================================================

	// For Default Case and from Alternate Case 1 to Alternate Case 9
        type            fixedValue;
        value           uniform (0 2 0);

	=================================================
	# Set 2 of Cases: Wall Plane X = 8.850 m ----->>>
	=================================================

	// From Alternate Case 10 to Alternate Case 16
        type            fixedValue;
        value           uniform (2 0 0);

	=================================================
	# Set 3 of Cases: Wall Plane X = 0.000 m ----->>>
	=================================================

	// From Alternate Case 17 to Alternate Case 23
        type            fixedValue;
        value           uniform (-2 0 0);

====================================================================== */
    }
}

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