/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2412                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      setExprFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

defaultFieldValues
{
    volVectorFieldValue U (0 0 0);
}

expressions
(
    shearFlowInit
    {
        field       U;
        
        variables (
            "G = 0.01;" 
        );
        
        expression  "vector(G * pos().z(), 0, 0)";
        
        action      clear; 
        
        options
        {
            innerCells;
        }
    }
);


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